graphlife Docs graphlife.app

Integration API

Rate limits

Each API key and each OAuth token has its own allowance: 100 calls a second, with a burst of 1,000, unless the server is configured otherwise. A signed-in account has 20 a second with a burst of 60, shared by its tabs and devices.

A refused call answers 429 rate_limited with a Retry-After header and the same number of seconds in error.retryAfter:

{"error": {"code": "rate_limited", "message": "...", "requestId": "...",
           "retryAfter": 1}}

Wait that long and send the same request again. The limiter refuses before anything runs, so a refused write was not applied and is safe to resend.

  • Every authenticated call to /v1/live, /v1/live/{tool}, /v1/live/mcp, /v1/live/tools and /v1/ask counts, including one that is then refused for its body or arguments. So does every call a key makes to the routes that accept a key.
  • A listing call that read thousands of rows costs extra: one more for every 1,000 rows read.
  • Over MCP a refused tools/call is a tool result reading Rate limited; retry in N s., with Retry-After set on that 200. Any other MCP method is refused with HTTP 429, the header, and JSON-RPC error -32000.
  • Some routes have a limit of their own, also answered with Retry-After: /v1/ask (20 a minute per credential), export by key (6 an hour), extraction by key (60 an hour), a webhook test (5 a minute).
  • The allowances are held in memory. A server restart refills them.

A job that sends one call after another does not reach the default limit. A job that sends many at once should honour Retry-After. The variables are in Server settings.