Skip to main content
Every API key has a per-minute request budget set by your workspace’s plan. Separate limits protect actions that send email, contact third parties or can be abused. When a limit is reached, the API answers 429 Too Many Requests with the code rate_limited and a Retry-After header with the number of seconds to wait.

Per-key limit

Each API key can make a number of requests per minute that depends on the plan of its workspace. Keys don’t share their budget: a script that spends its key’s budget doesn’t slow down another key of the same workspace. During the 14-day trial your workspace is on Scale, so keys get 120 requests per minute; if the trial ends without a subscription, the Free budget applies from the next request. Self-hosted installations use 120 requests per minute unless the operator sets API_REQUESTS_PER_MINUTE. Every request authenticated with a key counts, reads and writes alike, including requests that fail validation. Requests rejected before the key is accepted (a missing, unknown or revoked key, a key without the required scope, or a restricted workspace) don’t count. Every response to an authenticated request reports the key’s budget:

What doesn’t count

  • The MCP server has its own limit per connection and never spends an API key’s budget.
  • Imports and migrations from other tools run as internal jobs, not API calls.
  • Alerts we send to your email, Discord or webhook channels.
  • Heartbeat pings (/ping/<token>), limited per ping URL below.

Limited actions

The per-address and heartbeat ping limits are enforced at the edge, per Cloudflare location, and can briefly allow a few requests above the number before they apply. The per-address limit is a flood guard: it is far above what an integration needs, and it is checked before your API key is.

Sign-in and account routes

The sign-in, sign-up, password reset and email verification routes of the app are limited per route, like Laravel’s throttle middleware. Every response of these routes reports its budget:
All of these also share a flood guard of 60 requests per minute per IP address, enforced at the edge. The answer is the same whether or not an account exists for the email.

Handle 429 responses

  • Wait for the number of seconds in Retry-After before retrying.
  • Don’t retry in a tight loop; add jitter when several workers share a key.
  • Watch X-RateLimit-Remaining and slow down before it reaches 0, instead of waiting for a 429.
  • Spread work across the minute rather than sending bursts; several workers that share one key share its budget.
  • Avoid polling faster than your monitors’ check frequency: results can’t change faster than checks run.