Docs/Reference

Errors

TL;DR

All errors return {error: {code, message, docs_url}}. Common codes: invalid_api_key (401), not_found (404), rate_limit_exceeded (429).

All errors return a JSON body with an error field.

{ "error": "Invalid API key" }
CodeNameDescription
400Bad RequestInvalid parameters or missing required fields
401UnauthorizedInvalid API key, workspace, or account
403ForbiddenInsufficient permissions
404Not FoundResource does not exist
429Rate LimitedToo many requests. Wait and retry.
500Server ErrorInternal error. Contact support if persistent.
501Not ImplementedFeature not yet available (e.g. AI endpoints)
AI