RATELIMIT.LIST
RATELIMIT.LIST
- Group
- Rate limiting
- Complexity
- O(N) where N is the number of limiters
- Arity
- 1 (exactly, counting the command name)
- Flags
- read-only, fast
- HotKV Cloud
- Performance and Scale
- On-Premise
- requires the rate-limiting license feature
Named rate limiters apply one policy (a limit, a window and an algorithm) separately to every key you check against them, such as a user id, an API key or an IP address. RATELIMIT.LIST returns the names of all limiters on the server you
are connected to, in no particular order. In a cluster, each node lists only
the limiters it holds.
Return value
Section titled “Return value”| Case | RESP2 | RESP3 |
|---|---|---|
| Always | Array of bulk strings (empty if there are none) | Same |
Errors:
ERR wrong number of arguments for 'ratelimit.list' commandif the argument count is wrong.NOLICENSE rate-limiting requires a HotKV license. Contact sales@hotkv.comif your license does not include therate-limitingfeature.
Examples
Section titled “Examples”127.0.0.1:6379> RATELIMIT.LIST1) "api"2) "burst"3) "smooth"Compatibility
Section titled “Compatibility”HotKV-only command. Redis and Valkey have no equivalent.
See also
Section titled “See also”RATELIMIT.CREATE, RATELIMIT.CHECK, RATELIMIT.PEEK, RATELIMIT.RESET, RATELIMIT.STATS, RATELIMIT.DROP, AI features guide
Was this page helpful?
Thanks for the feedback.