Skip to main content

API Gateway 0.5.20 - Rate limiting

Beacon Tower Team
Beacon Tower Developer Team

The gateway now limits how many requests a caller can make. Requests over the limit get 429 Too Many Requests with Retry-After, RateLimit-Policy and RateLimit headers and an application/problem+json body that carries the policy name and a trace id.

What changes for API clients​

  • Limits apply per caller: the token's client and subject, or the IP address without a valid token.
  • Each route falls under a policy. The list and the current limits are in Rate limit policies.
  • Clients should wait Retry-After seconds (with jitter) before retrying. See Handle rate limits.
  • Successful responses carry no rate limit headers. The X-RateLimit-* headers that earlier versions of this documentation described were never sent.

Roll-out​

Rate limiting is deployed switched off and enabled per tenant once the limits are agreed with the platform operator.