Authentication
All gateway calls require an Authorization header with your API key.
Format​
Authorization: Bearer aut_live_{your-key}
Getting a key​
- Log in to the dashboard at https://app.autraceai.com
- Go to API Keys → Create Key
- Copy the key — shown only once
Example​
curl https://gateway.autraceai.com/v1/chat/completions \
-H "Authorization: Bearer aut_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5.5","messages":[{"role":"user","content":"Hello"}]}'
Error codes​
| Code | Meaning |
|---|---|
401 | Missing or invalid key |
429 | Rate limit exceeded |
403 | Request blocked by policy rule |