Authentication
Create and use an Optamus API key.
Every API request is authenticated with a bearer token.
Create a key
- Sign in to the developer console.
- Open API keys and choose Create key.
- 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.