Skip to main content

Authentication

All gateway calls require an Authorization header with your API key.

Format​

Authorization: Bearer aut_live_{your-key}

Getting a key​

  1. Log in to the dashboard at https://app.autraceai.com
  2. Go to API Keys → Create Key
  3. 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​

CodeMeaning
401Missing or invalid key
429Rate limit exceeded
403Request blocked by policy rule