Rate limits
Rate limit policies, the RateLimit headers, 429 responses and how the SDK and MCP handle them.
Rate limits keep one busy client from slowing everyone else down. They are token buckets: each bucket holds a burst of requests and refills at a steady rate, so short spikes are fine and only sustained overload is refused.
Policies
| Policy | Applies to | Counted per | Burst | Sustained |
|---|---|---|---|---|
execute | POST /tools/{slug}/execute and MCP tools/call | project | 50 | 20 per second |
write | Other authenticated POST, PUT, PATCH and DELETE under /api/v1 | key or user | 30 | 5 per second |
read | Authenticated GET under /api/v1 | key or user | 120 | 25 per second |
ip_global | Every /api/v1 request, before authentication | IP | 300 | 50 per second |
mcp | Every MCP request, after authentication | project | 100 | 20 per second |
mcp_ip | MCP endpoints, before authentication | IP | 300 | 50 per second |
connect | Hosted connect pages and OAuth callbacks | IP | 30 | 1 per second |
webhooks | Incoming provider and payment webhooks | IP | 200 | 20 per second |
auth_sensitive | Sign in, sign up, password reset and similar | IP | 10 | 10 per minute |
auth | Other dashboard sign-in endpoints | IP | 60 | 2 per second |
invite_send | Creating and resending invitations | organization | 20 | 20 per hour |
invite_token | Looking up, accepting and declining an invitation link | IP | 20 | 20 per 10 minutes |
ai_suggest | Submitting AI workspace suggestions | user | 50 | 50 per day |
two_factor | The two-factor step of sign-in (authenticator or backup code) | IP | 10 | 10 per minute |
two_factor_manage | Turning two-factor on or off and new backup codes | user | 10 | 10 per 15 minutes |
remote_mcp_test | "Test connection" of a custom MCP app (also counted per user) | organization | 10 | 10 per minute |
remote_mcp_refresh | Refreshing a remote MCP app's tools (mcp_manifest/refresh) | project | 6 | 6 per minute |
account_manage | Changing your password or email, deleting your account or an organization (failed confirmations count) | user | 10 | 10 per 15 minutes |
trigger_test | Sending a trigger test event | project | 10 | 10 per minute |
claude_connection | Creating, replacing and disconnecting a agent link | user | 5 | 5 per 5 minutes |
ai_onboarding_start | Starting an AI workspace setup with Claude | organization | 5 | 5 per day |
ai_assist | Setup chat messages and check-in answers that need Claude | organization | 20 | 200 per day |
automation_test | Starting an automation test run and re-running a run | project | 10 | 10 per minute |
automation_preview | Previewing an automation's mappings | user (session) or project (API key) | 60 | 1 per second |
workspace_propose | Suggested updates Claude sends to the AI workspace | member and organization | 10 | 30 per day |
- All API keys of a project share one bucket, so creating more keys does not raise the limit. Dashboard sessions are counted per user.
- Health checks and
/openapi.jsonare never limited. - Automation runs that start from events are smoothed per project (a burst of 60, then 1 per second). A run over that is started a little later, never refused or dropped. See Automations.
- Self-hosted deployments can scale every limit with
RATE_LIMIT_MULTIPLIERor turn them off withRATE_LIMIT_ENABLED=false. See Self-hosting.
Headers
Responses of the execute, write, read and mcp policies carry the bucket state:
RateLimit-Limit: 50
RateLimit-Remaining: 47
RateLimit-Reset: 3
RateLimit-Policy: 50;w=3RateLimit-Reset is the number of seconds until the bucket is full again. RateLimit-Policy is
the burst and the window it refills in. Every 429 also carries Retry-After in seconds.
When you are limited
HTTP/1.1 429 Too Many Requests
Retry-After: 2
Content-Type: application/json
{
"error": {
"code": "rate_limited",
"message": "Too many requests. Retry after 2 seconds.",
"details": { "retry_after": 2, "policy": "execute", "scope": "project", "limit": 50 }
}
}Wait Retry-After seconds, then retry. For POST requests, send an
Idempotency-Key so the retry is safe.
rate_limited is not the same as quota_exceeded. A rate limit clears within seconds. The quota
is your plan's monthly number of tool executions and only resets at the start of the next month;
see Usage and billing.
SDK behaviour
The TypeScript SDK retries for you, only where a second attempt is safe:
- What is retried:
GETrequests, andPOSTrequests sent with an Idempotency-Key.tools.execute,connectedAccounts.initiateandtriggers.createsend one by default (a newcrypto.randomUUID()per call) or yours with{ idempotencyKey }. - On: network errors,
429 rate_limited,502,503and504, plus409 idempotency_in_progressfor keyedPOSTrequests. - How often: up to
maxRetriesextra attempts (default2). - Wait: the server's
Retry-After, capped at 10 seconds; without one, exponential backoff with jitter. - Never retried:
quota_exceeded, any other4xx,500, timeouts, andPUT,PATCHandDELETErequests.
When the retries run out, you get a ToolwireApiError with code: "rate_limited" and
retryAfter in seconds:
try {
await toolwire.tools.list({ toolkits: ["github"] });
} catch (err) {
if (err instanceof ToolwireApiError && err.code === "rate_limited") {
// The SDK already retried maxRetries times. Back off for the server's wait.
console.warn(`Rate limited, retry in ${err.retryAfter ?? 1} s`);
} else {
throw err;
}
}MCP
MCP requests over the mcp limit get an HTTP 429 with the same body and Retry-After. A
tools/call over the execute limit returns a tool error instead, so the model sees the reason:
Rate limited: retry after 2 secondsA WORKSPACE_PROPOSE_LEARNING call over workspace_propose is also a tool error ("You've sent
many proposals today. Try again tomorrow."). If Redis is down this limit lets calls through, but
the 25 pending suggestions per member and 500 per organization still hold.

