Skip to main content
The InfraAudit API applies rate limits per authenticated user to prevent abuse and ensure availability for all accounts. Rate limit status is returned in response headers on every request.

Rate limit headers

Every API response includes the following headers: Example response headers:

When you exceed the limit

When your request count exceeds the limit, the API returns 429 Too Many Requests:
retryAfter
integer
The number of seconds to wait before retrying your request.

Handling 429 responses

Wait for the number of seconds in retryAfter before retrying. Do not immediately retry — doing so consumes more of your remaining quota.
Check X-RateLimit-Remaining before making bursts of requests. If the value is low, add a short delay between calls to avoid hitting the limit.
Self-hosted deployments can adjust rate limit defaults via environment variables. See the configuration reference for available options.