> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://flash.outtake.ai/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://flash.outtake.ai/docs/_mcp/server.

# Limits and usage

> How Flash API scan limits work, how to handle a 429, and the limits and usage endpoints.

Scans count against your account's hourly and daily limits, shared with the same account's web and MCP scans. Flash also has a global daily limit across all callers. The numbers are configuration, and some accounts have higher limits, so read them from the headers or endpoints below instead of hard-coding them. For higher limits for a pilot, email [support@outtake.ai](mailto:support@outtake.ai).

## Your remaining budget

Every `200` from `POST /v1/scan` carries the IETF draft `RateLimit-Policy` and `RateLimit` headers. `q` is a window's quota, `w` its length in seconds, `r` the scans left, and `t` the seconds until a slot frees up:

```http
RateLimit-Policy: "caller-hour";q=30;w=3600, "caller-day";q=100;w=86400
RateLimit: "caller-hour";r=29;t=3600, "caller-day";r=99;t=86400
```

To check without spending a scan, use a key with the `usage:read` scope:

* `GET /v1/limits` returns `hour` and `day`, the rolling windows, each with `limit`, `used`, `remaining` and `resetAt`.
* `GET /v1/usage?days=7` returns scans per UTC day, oldest first, each with `counted`, `rejected` and `failed`. `days` is 1 to 30.

## A rate-limited scan

A rate-limited scan returns `429 rate_limited` with `Retry-After`. The body's `limit` says which limit it hit:

```json
{
  "error": "rate_limited",
  "reason": "You reached the limit of 30 scans per hour. Try again after 23:00 UTC.",
  "limit": {
    "scope": "caller",
    "window": "hour",
    "limit": 30,
    "resetAt": "2026-10-22T23:00:00.000Z",
    "caller": "account"
  },
  "request_id": "req_3f9a1c2e7b4d4e0f9a8b6c5d4e3f2a1b"
}
```

`scope` is `caller` for your account or `all` for the global limit, and `window` is `hour` or `day`. Wait until `Retry-After` or `resetAt` before you scan again. When your plan includes a set number of scans every 30 days and you have used them, the `429` carries an `allowance` object in place of `limit`: `scans` is the number your plan includes, `days` is `30`, and `resetAt` is when your next scan fits. A `429` with neither `limit` nor `allowance` means the engine was busy: wait for `Retry-After`, then retry with backoff. A refusal also sends `X-Rate-Limit-*` headers that repeat the `limit` object, or the allowance with `X-Rate-Limit-Window: month`.