AI Rate Limiting Advanced Policy

Customize the rate limit response

Configure the AI Rate Limiting Advanced policy to return your own message when a client exceeds the limit. The policy also hides the limit and remaining-count headers from responses, so clients can’t read your limits. Rate-limited responses still include Retry-After and reset headers.

Prerequisites

Set up the policy

Attach the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!