Skip to content

Reference

Rate limits

How per-plan request limits work on the REST API and MCP, what a 429 looks like, and how to back off.

Availability. Per-plan request limits are being introduced and are not yet enforced on a released environment. This page describes what a limited response looks like so a client can be written against it now.

Every request that carries an API key is counted, on the REST routes and on /mcp. MCP tool calls and REST requests draw on the same allowance. Requests that fail authentication are refused first and are not counted against your plan: a bad key is 401, not 429.

The allowance depends on the workspace’s plan. It is counted per workspace, so every key in a workspace shares it, and each key also has its own, smaller, share of it: one key cannot use up the workspace’s allowance for everything else, and many keys do not add up to more than the workspace allowance. Reading a run and starting a sync are counted as requests of their own kind.

Limits are approximate. Counters are kept per Cloudflare location and are eventually consistent, so a client can see a refusal slightly before or after the nominal number. They protect the service; nothing is billed by them.

HTTP/1.1 429 Too Many Requests
Retry-After: 60
RateLimit-Limit: <the limit of the bucket that refused you, per minute>
X-Request-Id: <uuid>
{ "error": { "code": "rate_limited", "message": "Too many requests. Retry after the number of seconds in Retry-After." } }
  • Retry-After is in seconds. The window is one minute.
  • RateLimit-Limit is the per-minute limit of the allowance that refused the request, which may be the key’s own. There is no Remaining header: the limiter reports only whether a request fits.
  • The body is the usual error envelope. Match on code.
  • The same response is returned on every route and on /mcp.

Creating an export is limited to 10 a minute per workspace and downloading to 60 a minute per workspace, on every plan; each key has half of that, 5 creations and 30 downloads a minute. Downloading counts the file route, issuing a link, and every request made through a link, which is counted against the key that issued it. These figures follow the same approximation as above, and a workspace may also run only one export and queue three (Exports).

Wait for Retry-After, then retry with backoff and jitter. Do not retry in a tight loop and do not spread one workload over many keys to get around the limit: keys in a workspace share its allowance. Use the same Idempotency-Key when you retry a sync start, so the retry resumes the run rather than starting another.