Your current limits are in the
plan object of GET /v1/account:
Rate limit headers
Authenticated responses carry the state of the current minute window:
Every
429, and every 503 service_unavailable, also carries Retry-After: the number of seconds to wait before you retry.
Concurrent tasks
The concurrency cap counts the tasks of your account that arequeued or processing right now. A task stops counting as soon as it reaches completed, failed or cancelled. When you hit the cap:
- wait for running tasks to finish (
Retry-Aftersuggests a delay), or - cancel tasks you no longer need. Cancelling frees the slot and releases the credits at once.
Stay within the limits
- Prefer webhooks to polling. Polling every task every second uses up the request budget quickly; a poll every few seconds with backoff is plenty.
- Queue on your side. Keep your own queue of pending jobs and submit only while queued + processing tasks are below
plan.max_concurrent_tasks. - Honor
Retry-Afteron every429and503, and retry with the sameIdempotency-Key. - Watch
X-RateLimit-Remainingand slow down before it reaches zero.