Skip to main content

API Key

All requests to the ShuttleAI API must include a valid API key in the Authorization header.

Header format

Authorization: Bearer shuttle-xxx

Getting a key

  1. Sign up at shuttleai.com
  2. Go to API Keys
  3. Copy your master key or create a sub-key

Example request

curl https://api.shuttleai.com/v1/models \
  -H "Authorization: Bearer shuttle-xxx"

Key format

ShuttleAI API keys always start with the shuttle- prefix. If your key doesn’t start with shuttle-, it’s not a valid ShuttleAI key.

Error responses

StatusDescription
401Missing or invalid API key
402No active plan on the account
403Plan doesn’t include the requested model
423Account suspended
For full error details, see Error Codes.