# Limits

Source: https://watership.ca/api-docs/docs/reference/limits

Text length, request size, findings per response, check time, rate limits, and page sizes.

The limits come from the Watership MCP server, which runs the same check engine and already enforces them.

| Limit | Value | Applies to | When exceeded |
|---|---|---|---|
| Text length | 100,000 characters | `text` in `POST /v1/checks` | `400`, problem type `text-too-long` |
| Request body | 1 MiB (1,048,576 bytes) | Every request | `413`, problem type `payload-too-large` |
| Findings per response | 500 | `POST /v1/checks` | The response holds the first 500, and `truncated` is `true` |
| Check time | 5 seconds | `POST /v1/checks` | The check is stopped. `503`, problem type `check-timeout` |
| Requests | 120 per minute per API key | Every request | `429`, problem type `rate-limited`, with `Retry-After` |
| Short strings | 200 characters | Ids, `q`, and `cursor` | `400`, problem type `invalid-request` |
| Page size | 1 to 100 items, 25 by default | `limit` on list endpoints | `400`, problem type `invalid-request` |

## Notes [#notes]

- **Characters** in the text limit are UTF-16 code units, the length JavaScript reports for a string. Most text has one unit per character. An emoji or a character outside the Basic Multilingual Plane counts as two.
- **Truncation** keeps the first 500 findings by position. `counts` still counts every finding, so you can tell how many were left out.
- **Check time** depends on the text, not on how busy the service is, so retrying the same text times out again. Split it. [Handle errors and rate limits](https://watership.ca/api-docs/docs/tasks/handle-errors-and-rate-limits#split-long-text) has code for that.
- **The rate limit** is a fixed one-minute window per key. The `RateLimit-Remaining` and `RateLimit-Reset` headers on every response say where you stand.
