Try Bifrost Enterprise free for 14 days. Explore now
cURL
curl --request GET \ --url http://localhost:8080/api/governance/rate-limits
{ "rate_limits": [ { "id": "<string>", "token_max_limit": 123, "token_reset_duration": "<string>", "token_current_usage": 123, "token_last_reset": "2023-11-07T05:31:56Z", "request_max_limit": 123, "request_reset_duration": "<string>", "request_current_usage": 123, "request_last_reset": "2023-11-07T05:31:56Z", "config_hash": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "count": 123 }
Returns a list of all rate limits. Use the from_memory query parameter to get data from in-memory cache.
from_memory
If true, returns rate limits from in-memory cache instead of database
Successful response
List rate limits response
Show child attributes
Was this page helpful?