OpenAI-compatible chat completions. Create a key in the Secrypt account panel, then call /v1/chat/completions.
Sign in at secrypt.space → Account → API keys → Create. Copy the sk_sec_… value once (it is not shown again).
curl https://secrypt.space/v1/models \ -H "Authorization: Bearer sk_sec_YOUR_KEY"
curl https://secrypt.space/v1/chat/completions \
-H "Authorization: Bearer sk_sec_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "secrypt-cloud",
"messages": [
{"role": "user", "content": "Say hello in one sentence."}
]
}'
curl https://secrypt.space/v1/chat/completions \
-H "Authorization: Bearer sk_sec_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "secrypt-cloud",
"stream": true,
"messages": [{"role": "user", "content": "Write a haiku about privacy."}]
}'
Keys are hashed at rest. Revoke anytime from Account. Docs are for builders — chat history stays on the client unless you send messages yourself.