Authentication

Create and use an Optamus API key.

Every API request is authenticated with a bearer token.

Create a key

  1. Sign in to the developer console.
  2. Open API keys and choose Create key.
  3. Copy the key when it is shown. It is stored hashed and cannot be retrieved again.

Use the key

curl https://api.optamus.cloud/v1/models \
  -H "Authorization: Bearer $OPTAMUS_API_KEY"

Limits and rotation

Keys can carry their own limits and usage tracking. To rotate a key without downtime, create a new key, deploy it, then revoke the old one. Revocation is immediate; requests with a revoked key return 401.