Get ratelimit override
Retrieve the configuration of a specific rate limit override by its identifier.
Use this to inspect override configurations, audit rate limiting policies, or debug rate limiting behavior.
Important: The identifier must match exactly as specified when creating the override, including wildcard patterns.
Permissions: Requires ratelimit.*.read_override or ratelimit.<namespace_id>.read_override
Authorization
Body
application/jsonThe exact identifier pattern for the override you want to retrieve. This must match exactly as it was specified when creating the override.
Important notes:
- This is case-sensitive and must match exactly
- Include any wildcards (*) that were part of the original pattern
- For example, if the override was created for 'premium_', you must use 'premium_' here, not a specific ID like 'premium_user1'
This field is used to look up the specific override configuration for this pattern.
Length: 1–512
Responses
requestId is particularly important when troubleshooting issues with the Unkey support team.Show child attributesHide child attributes
Show child attributesHide child attributes
Length: 1–255
Range: >= 1000
The identifier pattern this override applies to. This determines which entities receive the custom rate limit.
This can be:
- An exact identifier for a specific entity
- A pattern with wildcards for matching multiple entities
Wildcard examples:
- 'admin_*' matches any identifier starting with 'admin_'
- '*_test' matches any identifier ending with '_test'
- 'premium' matches any identifier containing 'premium'
More complex patterns can combine multiple wildcards. Detailed documentation on pattern matching rules is available at https://www.unkey.com/docs/ratelimiting/overrides#wildcard-rules
Length: 1–255
The maximum number of requests allowed for entities matching this override. This replaces the default limit for the namespace when applied.
Common use cases:
- Higher limits for premium customers
- Reduced limits for abusive or suspicious entities
- Zero limit to completely block specific patterns
- Custom tier-based limits for different customer segments
Range: >= 0
requestId is particularly important when troubleshooting issues with the Unkey support team.Show child attributesHide child attributes
Show child attributesHide child attributes
400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 409 (Conflict), and 500 (Internal Server Error).Show child attributesHide child attributes
JSON path indicating exactly where in the request the error occurred. This helps pinpoint the problematic field or parameter. Examples include:
- 'body.name' (field in request body)
- 'body.items[3].tags' (nested array element)
- 'path.apiId' (path parameter)
- 'query.limit' (query parameter)
Use this location to identify exactly which part of your request needs correction.
requestId is particularly important when troubleshooting issues with the Unkey support team.Show child attributesHide child attributes
Show child attributesHide child attributes
400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 409 (Conflict), and 500 (Internal Server Error).requestId is particularly important when troubleshooting issues with the Unkey support team.Show child attributesHide child attributes
Show child attributesHide child attributes
400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 409 (Conflict), and 500 (Internal Server Error).requestId is particularly important when troubleshooting issues with the Unkey support team.Show child attributesHide child attributes
Show child attributesHide child attributes
400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 409 (Conflict), and 500 (Internal Server Error).requestId is particularly important when troubleshooting issues with the Unkey support team.Show child attributesHide child attributes
Show child attributesHide child attributes
400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 409 (Conflict), and 500 (Internal Server Error).requestId is particularly important when troubleshooting issues with the Unkey support team.Show child attributesHide child attributes
Show child attributesHide child attributes
400 (Bad Request), 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 409 (Conflict), and 500 (Internal Server Error).