Skip to content
Sign in

Common Patterns

Rate Limits

Your organization defaults to 60 requests per minute, shared across all API keys. Your plan determines the effective organization limit. A key can have a lower cap. Creating more keys does not increase the organization’s allowance.

Capacity refills continuously and can hold up to one minute’s allowance. Requests must fit both the organization limit and any configured key limit.

These headers appear after rate admission and on 429 responses:

Header Meaning
X-RateLimit-Organization-Limit Organization requests/minute limit
X-RateLimit-Organization-Remaining Remaining organization capacity
X-RateLimit-Key-Limit Effective key cap, when configured
X-RateLimit-Key-Remaining Remaining key capacity, when a cap is configured
X-RateLimit-Scope Blocking scope on 429: organization or key
Retry-After Seconds to wait before retrying a rejected request

On 429 rate_limit_exceeded, wait at least Retry-After seconds. Queue outgoing requests and add jitter when multiple workers retry. Use webhooks instead of repeatedly polling for events.

The monthly API allowance resets at 00:00 UTC on the first day of each month. A valid request admitted for execution consumes one unit, including execution failures. Authentication, permission, input, and rate rejections do not consume monthly units. Completed idempotency replays use rate capacity but do not consume another monthly unit.

Monthly exhaustion returns 403 api_quota_exceeded. error.details.resetsAt contains the reset timestamp. Check usage and effective limits in Settings → API Keys.

If request admission is temporarily unavailable, the API returns 503 api_admission_unavailable. Retry with backoff. For operations requiring Idempotency-Key, preserve the same key and input when retrying.

QwettyQwetty

© 2026 PT. Desain Programmer Indonesia. All rights reserved.