Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

RATELIMIT.LIST

Last updated
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.

Case RESP2 RESP3
Always Array of bulk strings (empty if there are none) Same

Errors:

  • ERR wrong number of arguments for 'ratelimit.list' command if the argument count is wrong.
  • NOLICENSE rate-limiting requires a HotKV license. Contact sales@hotkv.com if your license does not include the rate-limiting feature.
127.0.0.1:6379> RATELIMIT.LIST
1) "api"
2) "burst"
3) "smooth"

HotKV-only command. Redis and Valkey have no equivalent.

RATELIMIT.CREATE, RATELIMIT.CHECK, RATELIMIT.PEEK, RATELIMIT.RESET, RATELIMIT.STATS, RATELIMIT.DROP, AI features guide