Skip to main content
Non-2xx responses use a stable error envelope:

Error codes

Retry guidance

  • Do not retry HTTP 400 or 401 without changing the request or key.
  • Wait for a new usage period or a plan change after HTTP 429.
  • Retry HTTP 500 only with bounded exponential backoff.
  • Always log request_id; never log the API key.