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.

COMMAND LIST

Last updated
COMMAND LIST [FILTERBY MODULE module-name | ACLCAT category | PATTERN pattern]
Group
Server
Complexity
O(N) where N is the number of commands
Arity
-2 (at least 2 words, counting the command name)
HotKV Cloud
All plans
On-Premise
no license needed

COMMAND LIST returns the name of every command, in lower case. Each subcommand is listed as well, as container|subcommand (for example config|get), which is the form ACL rules use.

Filter Lists
FILTERBY ACLCAT category Commands in this ACL category, for example dangerous (without the @).
FILTERBY PATTERN pattern Names matching this glob-style pattern, for example client*.
FILTERBY MODULE module-name Nothing: HotKV has no modules.

Category and pattern are matched case-insensitively. An unknown category lists nothing. A filter with a missing or extra argument, or an unknown filter type, gets ERR syntax error.

An array of bulk strings, in RESP2 and RESP3. The order is not significant.

127.0.0.1:6379> COMMAND LIST FILTERBY PATTERN slowlog*
1) "slowlog"
2) "slowlog|export"
3) "slowlog|get"
4) "slowlog|help"
5) "slowlog|len"
6) "slowlog|reset"
127.0.0.1:6379> COMMAND LIST FILTERBY MODULE search
(empty array)

Same filters and reply as Redis 7 and Valkey 8. HotKV’s own commands are listed too, and HotKV adds the ACL categories bloom, cms, topk and timeseries; see ACL CAT.

COMMAND, COMMAND COUNT, ACL CAT