calvana/Docs
Docs pages

Rate limits

Last updated: November 19, 2026

Each key has a budget of requests a minute, under a ceiling for the whole workspace. Every response says how much is left.

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.

BudgetCountsPer keyPer workspace
api_readEvery GET, POST /v1/forms/{id}/route, and every /mcp message that runs no tool300 a minute1,200 a minute and 30,000 an hour
api_writeEvery POST, PATCH and DELETE except POST /v1/forms/{id}/route60 a minute120 a minute and 2,000 an hour
api_availability BetaA calendar's availability and POST /v1/forms/{id}/route, which count as reads too30 a minute60 a minute
api_book BetaPOST /v1/bookings, which counts as a write too30 a minute30 a minute and 500 a day
api_auth_failureFailed key lookups30 a minute per IP and key prefixNone
api_openapiGET /v1/openapi.json, which takes no key60 a minute per IPNone
  • 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):

On a GET
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=37
  • RateLimit-Policy lists each counter that applies: q requests in a window of w seconds. A name with _workspace_ counts the whole workspace.
  • RateLimit names the counter closest to running out, with r requests left and t seconds until its window resets.
  • On availability, route and booking calls the policy lists both rules' counters, api_read with api_availability or api_write with api_book, and RateLimit names 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.json carries api_openapi's on every answer.
  • None come on a 401, on the 403s browser_not_allowed, api_access_not_enabled and ip_not_allowed, on the api_auth_failure 429, which carries only Retry-After, on the OAuth endpoints, or on the edge's bare 429.
On a calendar's availability
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=60

Over 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_availability or api_book refuses leaves its api_read or api_write counters as they were.
  • Every request the credential passed counts once, whatever it answers. A 400, 403 insufficient_scope, 404 beta_not_enabled, 409 or 422 spends one request, and so does the replay of an Idempotency-Key. A 405 counts against api_read for GET and api_write for any other method.
429
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, isError true, and the 429 problem document in structuredContent. Its detail says how many seconds to wait before calling again.
  • Any other message over api_read answers HTTP 429 with Retry-After and a JSON-RPC error -32000 whose data.code is rate_limited, with id null.
A tool call over its budget
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
  }
}
Any other message over api_read
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.

BudgetCountsLimit
oauth_tokenRefused 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_grantToken requests that would succeed, a repeat refresh inside the 60-second grace included60 a minute per grant
oauth_registerEvery request to /oauth/register, malformed ones included1,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.