Quotas and plans
The account's plan sets how many validations may run in a monthly cycle. On an annual plan the quota cycle is still monthly: the year is split into months from the subscription's start date, and each month starts with the full quota. Quota is consumed on admission of the operation, before processing, so consumption reflects accepted operations rather than those rejected by validation.
An automatic retry consumes no additional quota: it belongs to the validation that already spent it.
Consumption headers
Operations subject to quota report the state on every response, with no separate query needed:
| header | content |
|---|---|
X-Quota-Limit | Cycle cap |
X-Quota-Used | Accumulated consumption |
X-Quota-Remaining | Remaining allowance |
X-Quota-Included | Validations included in the plan |
X-Quota-Reset | End of the cycle, in ISO 8601 UTC |
With overage enabled, X-Quota-Limit is the plan's cap and X-Quota-Included what the plan includes at no extra charge; without overage, both hold the same value.
The same data travels in the body, under meta.quota:
"quota": {
"kind": "cycle",
"included": 650,
"used": 820,
"included_remaining": 0,
"overage_enabled": true,
"overage_used": 170,
"limit": 13000,
"remaining": 12180,
"resets_at": "2026-12-01T00:00:00Z"
}overage_used are the validations above the included ones, billed separately at the end of the period.
These headers accompany both successful responses and the quota-exhausted one. The X-RateLimit-* headers of the rate limits measure something else, requests per minute rather than validations per cycle, and they accompany the successful API responses to a request with an API key.
Exhausted quota
Once the cap is reached, operations subject to quota answer 429 with quota_exceeded (previously rate_limit_exceeded) and a Retry-After header stating the seconds left until the next cycle.
The distinction from a rate limit is one of scale: a 429 from a rate limit clears by waiting seconds; one from an exhausted quota clears by changing plan or waiting for the next cycle. The code tells them apart: rate_limit_exceeded or the operation's own code (rate_limited_login, rate_limited_otp, etc.) for the rate limit and quota_exceeded for the quota, which only POST /validate and POST /validate-ocr emit.
The account receives a notice on reaching 80 % of its consumption and another on exhausting it, once per cycle.
Reading consumption
| operation | returns |
|---|---|
GET /v1/usage/summary | Consumption for the current cycle |
GET /v1/usage/limits | Applicable caps and remaining allowance |
GET /v1/usage/history | Monthly consumption over recent months |
GET /v1/usage/breakdown | Cycle breakdown by operation type |
History reflects the current plan cap in each period: past plan changes are not preserved, so an earlier month is shown against today's limit.