Both are fixed windows that open with the first request and reset when they expire. Limits apply to the space, not the key, so creating more keys does not increase throughput.
Headers
Every response to an authenticated request carries the standardRateLimit-* headers:
Responses sent before the limiter runs, such as
401, 403 and the maintenance 503, do not include them.
Exceeding a limit
When either limit is exhausted the API responds with429 Too Many Requests, a RATE_LIMIT_EXCEEDED error body and a Retry-After header with the number of seconds to wait.
Retry-After before retrying. Do not retry on a fixed interval: a client that ignores the header spends its next window on requests that fail.
Poll quota
Separately from the request limits, polls created through the API count against a monthly quota per space. Pro includes 50 polls a month. The space owner can raise the quota from the API keys settings page.- The quota resets at the start of each calendar month in UTC.
- Only successful
POST /pollsrequests count. A request that fails validation is not counted. - Deleting a poll does not give its slot back.
- Polls created in Rallly itself never count.
- The space owner is emailed when the space reaches 80% of its quota, and again when it reaches 100%.
POST /polls response that passes authentication and the request limits carries three headers:
When the quota is used up,
POST /polls responds with 429 Too Many Requests, a POLL_QUOTA_EXCEEDED error body and a Retry-After header with the number of seconds until the reset.
Retry-After here can be days away. Do not retry: raise the quota, or wait for the reset. Reading, listing and deleting polls are unaffected.
Store outages
If the rate limit store cannot be reached the API fails closed and responds with503 Service Unavailable, a SERVICE_UNAVAILABLE error body and a Retry-After header.