> ## Documentation Index
> Fetch the complete documentation index at: https://docs.klatt.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate limits

> How many requests each Klatt API key can send per minute, and how to back off when you reach the limit.

Each API key can send **300 requests per minute**, counted in fixed one-minute windows. The limit applies to REST requests and to MCP requests together; every MCP HTTP request counts as one request (a tool call usually needs several).

## When you reach the limit

The API answers `429 Too Many Requests` with `detail` set to `rate_limited` and a `Retry-After: 60` header:

```http theme={null}
HTTP/1.1 429 Too Many Requests
Retry-After: 60
Content-Type: application/json

{"detail": "rate_limited"}
```

## Backing off

* Wait at least the number of seconds in `Retry-After` before sending more requests with the same key.
* For `503` responses, and when `Retry-After` is absent, use exponential backoff with jitter: for example wait 1, 2, 4 and 8 seconds, each multiplied by a random factor between 0.5 and 1.5, then give up.
* Spread scheduled jobs over the minute instead of starting them together.
* Page through lists with the largest `limit` the operation allows instead of sending many small requests.
* To poll the conversation list, send the `ETag` back in `If-None-Match` and use `since`. See [Pagination and search](https://docs.klatt.ai/api-reference/pagination.md).

## Other limits

Limits per network address may also apply in front of the API. They are not published; handle `429` the same way.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.