API Key
All requests to the ShuttleAI API must include a valid API key in theAuthorization header.
Header format
Getting a key
- Sign up at shuttleai.com
- Go to API Keys
- Copy your master key or create a sub-key
Example request
Key format
ShuttleAI API keys always start with theshuttle- prefix. If your key doesn’t start with shuttle-, it’s not a valid ShuttleAI key.
Error responses
| Status | Description |
|---|---|
| 401 | Missing or invalid API key |
| 402 | No active plan on the account |
| 403 | Plan doesn’t include the requested model |
| 423 | Account suspended |