Docs pages
Rate limits
Last updated: November 19, 2026
Budgets
Each API key, and each AI assistant's OAuth grant, has its own budget. Each workspace also has a ceiling across all its keys, so a heavy CRM sync can't use up what an assistant in the same workspace needs. Every workspace gets the same limits.
| Budget | Counts | Per key | Per workspace |
|---|---|---|---|
api_read | Every GET, POST /v1/forms/{id}/route, and every /mcp message that runs no tool | 300 a minute | 1,200 a minute and 30,000 an hour |
api_write | Every POST, PATCH and DELETE except POST /v1/forms/{id}/route | 60 a minute | 120 a minute and 2,000 an hour |
api_availability Beta | A calendar's availability and POST /v1/forms/{id}/route, which count as reads too | 30 a minute | 60 a minute |
api_book Beta | POST /v1/bookings, which counts as a write too | 30 a minute | 30 a minute and 500 a day |
api_auth_failure | Failed key lookups | 30 a minute per IP and key prefix | None |
api_openapi | GET /v1/openapi.json, which takes no key | 60 a minute per IP | None |
- Availability costs about as much as loading a booking page, so it has its own small budget and covers at most 14 days per request.
- Bookings have a daily cap because each one sends messages the workspace pays for. A leaked key can't book thousands of calls.
- If your integration needs more, email help@calvana.com with what it does. We raise a default for every workspace rather than for one.
RateLimit headers
Every /v1 response to a request whose credential passed carries its budget in the IETF RateLimit header fields (draft-ietf-httpapi-ratelimit-headers):
RateLimit-Policy: "api_read_minute";q=300;w=60, "api_read_workspace_minute";q=1200;w=60, "api_read_workspace_hour";q=30000;w=3600
RateLimit: "api_read_minute";r=212;t=37RateLimit-Policylists each counter that applies:qrequests in a window ofwseconds. A name with_workspace_counts the whole workspace.RateLimitnames the counter closest to running out, withrrequests left andtseconds until its window resets.- On availability, route and booking calls the policy lists both rules' counters,
api_readwithapi_availabilityorapi_writewithapi_book, andRateLimitnames the counter with the fewest left across both. - Windows are fixed, not sliding. A minute counter starts with the first request it counts and resets 60 seconds later.
- The headers come on every answer after the credential passed, whatever its status: 2xx, 400, 403
insufficient_scope, 404, 405, 409, 413, 415, 422, 429 and 5xx.GET /v1/openapi.jsoncarriesapi_openapi's on every answer. - None come on a 401, on the 403s
browser_not_allowed,api_access_not_enabledandip_not_allowed, on theapi_auth_failure429, which carries onlyRetry-After, on the OAuth endpoints, or on the edge's bare 429.
RateLimit-Policy: "api_read_minute";q=300;w=60, "api_read_workspace_minute";q=1200;w=60, "api_read_workspace_hour";q=30000;w=3600, "api_availability_minute";q=30;w=60, "api_availability_workspace_minute";q=60;w=60
RateLimit: "api_availability_minute";r=29;t=60Over the limit
Calvana answers 429 rate_limited with Retry-After in seconds, the longest wait among the full counters. RateLimit names that counter with r=0 and t equal to Retry-After.
- A refused request doesn't count against any budget, so waiting that long and sending again works. Calvana counts all of a request's rules in one step, or none: a call that
api_availabilityorapi_bookrefuses leaves itsapi_readorapi_writecounters as they were. - Every request the credential passed counts once, whatever it answers. A 400, 403
insufficient_scope, 404beta_not_enabled, 409 or 422 spends one request, and so does the replay of anIdempotency-Key. A 405 counts againstapi_readfor GET andapi_writefor any other method.
HTTP/1.1 429 Too Many Requests
Content-Type: application/problem+json
Cache-Control: no-store
Retry-After: 37
RateLimit-Policy: "api_read_minute";q=300;w=60, "api_read_workspace_minute";q=1200;w=60, "api_read_workspace_hour";q=30000;w=3600
RateLimit: "api_read_workspace_minute";r=0;t=37
{
"type": "https://calvana.com/docs/api/errors#rate_limited",
"title": "Rate limited",
"status": 429,
"code": "rate_limited",
"detail": "Over the api_read_workspace_minute limit. Retry in 37 s.",
"request_id": "0b7e5d3c-8f2a-4a61-b9c4-1e6d2f3a5b70",
"errors": []
}MCP messages and tool calls
The MCP server spends the budgets of the key or OAuth grant that connects, the same ones /v1 calls spend. A tool call spends the api_read, api_write and api_availability budgets exactly as the /v1 call it runs does, once. So find_open_times spends api_read and api_availability, and cancel_booking spends api_write.
Every other /mcp message spends one api_read request: initialize, ping, tools/list, a notification, a message refused after its credential passed, and a tool call refused before it runs, such as one whose arguments break its inputSchema. A batch spends one request per message.
- A tool call over its budget comes back as a tool result: HTTP 200,
isErrortrue, and the 429 problem document instructuredContent. Itsdetailsays how many seconds to wait before calling again. - Any other message over
api_readanswers HTTP 429 withRetry-Afterand a JSON-RPC error -32000 whosedata.codeisrate_limited, withidnull.
HTTP/1.1 200 OK
{
"jsonrpc": "2.0",
"id": 4,
"result": {
"content": [{ "type": "text", "text": "{\"type\": \"https://calvana.com/docs/api/errors#rate_limited\", ...}" }],
"structuredContent": {
"type": "https://calvana.com/docs/api/errors#rate_limited",
"title": "Rate limited",
"status": 429,
"code": "rate_limited",
"detail": "Over the api_write_minute limit. Retry in 21 s.",
"request_id": "8d2f6a1c-3b7e-4c90-a5d8-6e1f0b9c2a43",
"errors": []
},
"isError": true
}
}HTTP/1.1 429 Too Many Requests
Content-Type: application/json
Cache-Control: no-store
Retry-After: 12
RateLimit-Policy: "api_read_minute";q=300;w=60, "api_read_workspace_minute";q=1200;w=60, "api_read_workspace_hour";q=30000;w=3600
RateLimit: "api_read_minute";r=0;t=12
{
"jsonrpc": "2.0",
"id": null,
"error": { "code": -32000, "message": "Over the api_read_minute limit. Retry in 12 s.", "data": { "code": "rate_limited" } }
}OAuth endpoints
The OAuth endpoints that MCP clients sign in with count per IP address or per grant, and answer 429 slow_down with Retry-After over a limit. They send no RateLimit headers.
| Budget | Counts | Limit |
|---|---|---|
oauth_token | Refused requests to /oauth/token and /oauth/revoke. Once it is full, a request that would be refused answers slow_down instead. A request that would succeed never touches it. | 60 a minute per IP |
oauth_grant | Token requests that would succeed, a repeat refresh inside the 60-second grace included | 60 a minute per grant |
oauth_register | Every request to /oauth/register, malformed ones included | 1,000 an hour per IP |
A failing client therefore can't lock a working one out of its own grant, and one grant refreshing in a loop can't slow anyone else.
The edge's bare 429
Before a request reaches Calvana, a firewall counts requests per IP address in 5 minute windows. An IP address that sends more than 30,000 /v1 requests in 5 minutes gets 429. /mcp, /oauth/token, /oauth/register, /oauth/revoke and the /.well-known/oauth- discovery documents share a separate limit of 30,000 requests per IP in 5 minutes.
The firewall answers 429 with Retry-After: 300, no body and no RateLimit headers. A 429 without a problem document is this limit, so back off for 5 minutes.
The limits stop a flood from one machine. They sit far above one key's budget because Zapier and agencies send many workspaces' calls from a few addresses, and every Claude user reaches /mcp from Anthropic's.