Guides
Rate limits
One budget per credential, counted per minute and reported on every response, so a well-behaved client never has to wait for a refusal to know where it stands.
Request limits
Every authenticated request counts against its principal: the API key, or the signed-in person. Not the workspace and not the IP, so a partner's integration and your own team's use of the app each get their own budget, and one key going haywire cannot lock everyone else out.
- 600 / minute
- The default for a key. Set a key's own ceiling when you create it (
rateLimit) or later withPATCH /api/v2/api-keys/{id};nullputs it back on the default.Per API key, unless the key has its own limit. - 1,800 / minute
- A browser tab fans out several requests per click, so a person's ceiling is deliberately far above an integration's.Per signed-in person.
- fixed window
- Counted in fixed one-minute windows shared by every server, so retrying against a different replica does not buy more.The window rolls on the minute.
A request is counted before its permission is checked, so a refused call still spends budget. Each call inside a batch is counted like the direct call it stands for.
Reading your budget
Every authenticated response carries the state of the window.
- X-RateLimit-Limit
- Requests allowed this minute.
- X-RateLimit-Remaining
- Requests left in it. Slow down as this approaches zero rather than after it arrives.
- X-RateLimit-Reset
- Unix seconds at which the window refills.
- Retry-After
- Seconds to wait. Obey it: it is calculated from the window that refused you, and beats any backoff you compute.Sent only on a 429.
GET /api/v2/whoami reports the same numbers in its rateLimit object, and GET /api/v2/logs shows which of your calls were refused.
Being refused
{"error": "Rate limit of 600 requests per minute exceeded. Retry after 2026-10-01T12:01:00.000Z.","code": "rate_limited","details": { "limit": 600, "resetAt": 1790856060 },"requestId": "3f6c1a52-8d0e-4b7a-9c1e-2a4b6d8f0e13"}
The reset is also in the body, for clients that find headers awkward. Retrying straight away on a 429 spends the next window before it opens. A 429 never settles an Idempotency-Key, so retrying with the same key runs the request for real.
async function fetchWithRetry(url, options, maxRetries = 3) {for (let attempt = 0; attempt < maxRetries; attempt++) {const response = await fetch(url, options);if (response.status !== 429) return response;const retryAfter = Number(response.headers.get("Retry-After"));const waitMs = Number.isFinite(retryAfter) && retryAfter > 0? retryAfter * 1000: 2 ** attempt * 1000;await new Promise((resolve) => setTimeout(resolve, waitMs));}throw new Error("Rate limited after " + maxRetries + " attempts");}