Skip to content
Maua.Culturewire

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

PolicyApplies toCounted perBurstSustained
executePOST /tools/{slug}/execute and MCP tools/callproject5020 per second
writeOther authenticated POST, PUT, PATCH and DELETE under /api/v1key or user305 per second
readAuthenticated GET under /api/v1key or user12025 per second
ip_globalEvery /api/v1 request, before authenticationIP30050 per second
mcpEvery MCP request, after authenticationproject10020 per second
mcp_ipMCP endpoints, before authenticationIP30050 per second
connectHosted connect pages and OAuth callbacksIP301 per second
webhooksIncoming provider and payment webhooksIP20020 per second
auth_sensitiveSign in, sign up, password reset and similarIP1010 per minute
authOther dashboard sign-in endpointsIP602 per second
invite_sendCreating and resending invitationsorganization2020 per hour
invite_tokenLooking up, accepting and declining an invitation linkIP2020 per 10 minutes
ai_suggestSubmitting AI workspace suggestionsuser5050 per day
two_factorThe two-factor step of sign-in (authenticator or backup code)IP1010 per minute
two_factor_manageTurning two-factor on or off and new backup codesuser1010 per 15 minutes
remote_mcp_test"Test connection" of a custom MCP app (also counted per user)organization1010 per minute
remote_mcp_refreshRefreshing a remote MCP app's tools (mcp_manifest/refresh)project66 per minute
account_manageChanging your password or email, deleting your account or an organization (failed confirmations count)user1010 per 15 minutes
trigger_testSending a trigger test eventproject1010 per minute
claude_connectionCreating, replacing and disconnecting a agent linkuser55 per 5 minutes
ai_onboarding_startStarting an AI workspace setup with Claudeorganization55 per day
ai_assistSetup chat messages and check-in answers that need Claudeorganization20200 per day
automation_testStarting an automation test run and re-running a runproject1010 per minute
automation_previewPreviewing an automation's mappingsuser (session) or project (API key)601 per second
workspace_proposeSuggested updates Claude sends to the AI workspacemember and organization1030 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.json are 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_MULTIPLIER or turn them off with RATE_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=3

RateLimit-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: GET requests, and POST requests sent with an Idempotency-Key. tools.execute, connectedAccounts.initiate and triggers.create send one by default (a new crypto.randomUUID() per call) or yours with { idempotencyKey }.
  • On: network errors, 429 rate_limited, 502, 503 and 504, plus 409 idempotency_in_progress for keyed POST requests.
  • How often: up to maxRetries extra attempts (default 2).
  • Wait: the server's Retry-After, capped at 10 seconds; without one, exponential backoff with jitter.
  • Never retried: quota_exceeded, any other 4xx, 500, timeouts, and PUT, PATCH and DELETE requests.

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 seconds

A 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.