Skip to main content
All error responses return JSON with at least an error or detail field.

Error response shape

HTTP status codes

CodeMeaningCommon causes
400Bad RequestMissing required fields, invalid JSON, schema validation failure
401UnauthorizedMissing Authorization header, invalid or revoked API key
403ForbiddenAttempting to access another user’s resource; plan does not permit API keys
404Not FoundDeployment ID does not exist for your account
409ConflictA deployment with that ID already exists
429Too Many RequestsRate limit exceeded for your plan tier
500Internal Server ErrorUnexpected server-side error
503Service UnavailableModel container is not yet active or is temporarily unreachable

Error examples

401 — Invalid API key

The key is missing, malformed, or has been revoked. Double-check the Authorization header.

403 — Plan upgrade required

404 — Deployment not found

The deployment_id either does not exist or belongs to a different user.

409 — Duplicate deployment

429 — Rate limit exceeded

Wait the number of seconds in retry_after_seconds before retrying. See also the Retry-After response header.

503 — Deployment not active

The model container is still starting up. Check the status and retry when ACTIVE.

503 — Container unreachable

The container is registered as ACTIVE but did not respond. Usually resolves within seconds — retry with exponential backoff.
Python
Node.js