Documentation / API

Errors & rate limits

Check the HTTP status and error message before retrying requests.

StatusMeaning
400Check request fields and model compatibility.
401Check the API key and authentication header.
403The account or key cannot access this resource.
429A rate or usage limit was reached.
502 / 503The service is temporarily unavailable. Try again shortly.

Use bounded retries with backoff for transient failures. Verify your account limits before retrying a rate limit.