Skip to main content
Each API key is limited to 60 requests per minute, counted in fixed one-minute windows.

Headers

Every authenticated response includes: When the limit is exceeded, the API returns HTTP 429 with a Retry-After header (seconds until the window resets):

Handling 429s

  • Respect Retry-After before retrying; the window is fixed, so retrying earlier will fail again.
  • Job creation is safe to retry with the same Idempotency-Key; you won’t create duplicates.
  • When polling jobs, prefer intervals of a few seconds (or webhooks) over tight loops.
INSUFFICIENT_CREDITS also returns HTTP 429 but is not a rate limit; it means your monthly credit allowance is exhausted. Always branch on error.code.