# Rate limits

> For AI agents: the index of these docs is at https://indrava.forumulate.com/docs/llms.txt (every page it lists has a Markdown version like this one).

How the Indrava API counts requests, the headers that report it, and what to do on a 429.

Requests to `/api/v1` and `/mcp` are counted per caller: per API key, or per OAuth client and workspace. Requests with one key never use up the budget of another.

## The limit

The default is 120 requests per minute. Whoever runs the Indrava server can change the default, and an API key can carry a limit of its own. The limit that applies to you is in the `RateLimit-Limit` header of every answer.

Counting uses a sliding one-minute window, so a burst at the end of one minute still counts at the start of the next.

## Headers

Every answer to an authenticated request carries:

| Header | Value |
| --- | --- |
| `RateLimit-Limit` | Requests allowed per minute |
| `RateLimit-Remaining` | Requests left right now |
| `RateLimit-Reset` | Seconds until the current window ends |

## When you are over the limit

The API answers `429` with a `Retry-After` header (seconds) and this body:

```json
{ "code": "TOO_MANY_REQUESTS", "message": "Rate limit exceeded" }
```

Wait for `Retry-After` seconds, then send the request again. A request refused with `429` was not carried out.

## Limits that are not about requests

- The platforms have their own limits. Indrava spaces out publishing to a channel where the platform requires it, and retries a publish the platform refused for a temporary reason. You do not need to pace `POST /posts` calls to protect a channel.
- `GET /posts` returns at most 500 posts per call. Page with `cursor`.

## Usage and channel limits

`GET /usage` (scope `usage:read`) answers the workspace's plan, what it has used of each limit, this month's generated images, videos and clipped minutes, and the number of API requests per day (UTC) for the last 30 days. `GET /channels/{id}/limits` answers what a channel's platform allows and how much is used: a list of `{ used, limit, windowHours, source }` where `source` is `platform` (the platform's own report, where it gives one) or `indrava` (the allowance Indrava keeps to when publishing). It is empty for a platform that states none.

---

## For AI agents

- This page for a human reader: https://indrava.forumulate.com/docs/rate-limits
- The whole space as one Markdown file: https://indrava.forumulate.com/docs/llms-full.txt
- Live search + fetch over MCP: https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/mcp
  - Install (Claude CLI): `claude mcp add forumulate-docs --transport http https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/mcp`

This Markdown is the same content the page renders — safe to quote and to ground answers in.
