Rate limit
Requests per minute per key, the rate limit headers and the 429 answer.
Each key may make 100 requests per minute (sliding window). A key can also carry its own, lower limit. Every request that reaches an endpoint counts, also failed ones and 304s. The answer carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix time in seconds) for the window that runs out first: the 100-per-minute window, or your key's own limit when fewer requests remain in it. When you exceed it:
HTTP/1.1 429 Too Many Requests
Retry-After: 12
Content-Type: application/problem+json{
"type": "about:blank",
"title": "Too Many Requests",
"status": 429,
"detail": "Rate limit exceeded",
"instance": "/api/v1/events",
"code": "RATE_LIMITED",
"requestId": "6f1c9a52-3d7e-4b0a-9e2f-8c4d1a7b5e30",
"retryAfterSeconds": 12
}Wait Retry-After seconds (also in retryAfterSeconds). The X-RateLimit-* headers show which window ran out.
If usage counting is briefly unavailable, the answer is 503 with Retry-After: 30. Retry after that time.