Documentation / Getting started
Rate limit and quota
Two independent limits apply to every authenticated route (including GET /v1/usage):
- Rate limit: 10 requests per second per key. Exceeding it returns
429witherror.codeRATE_LIMITEDanderror.retry_after(seconds, currently always1). - Monthly quota: each account has a
monthly_quota. Exceeding it returns429witherror.codeQUOTA_EXCEEDEDanderror.reset_at(RFC 3339 timestamp of the next reset). The quota resets on the 1st of the month, UTC. A request that fails on either limit does not consume the other. - Failed-authentication throttle: independently of the two above, failed authentication attempts are throttled per client IP (5 per second, burst 20). Exceeding it returns
429witherror.codeRATE_LIMITEDanderror.retry_after. Successful authentications never count against this limit.
Check GET /v1/usage to read the current month's consumption before it runs out.