API overview
OpenAI-compatible chat, embeddings, and models.
The Optamus API is OpenAI-compatible. Use the models you already build with through one endpoint, with keys, usage, and billing managed in one place.
Base URL
https://api.optamus.cloud/v1
Authentication
All requests require a bearer token:
curl https://api.optamus.cloud/v1/models \
-H "Authorization: Bearer $OPTAMUS_API_KEY"
Create and manage keys in the developer console. Usage and billing are tied to the key and organization.
Endpoints
POST /v1/chat/completions— chat completionsPOST /v1/embeddings— text embeddingsGET /v1/models— models available to your key
Chat example
curl https://api.optamus.cloud/v1/chat/completions \
-H "Authorization: Bearer $OPTAMUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "your-model",
"messages": [{"role": "user", "content": "Hello"}]
}'
Next: Authentication in depth.