Skip to main content

API compatibility

Below is the full list of API commands and their implementation status in Garnet.
Note that this list is subject to change as we continue to expand our API command support with the help of our growing community.

Command Categories

  1. ACL
  2. BITMAP
  3. CLIENT
  4. CLUSTER
  5. COMMAND
  6. CONNECTION
  7. FUNCTIONS
  8. GENERIC
  9. GEO
  10. HASH
  11. HYPERLOGLOG
  12. KEYS
  13. LATENCY
  14. LIST
  15. MEMORY
  16. MODULE
  17. OBJECT
  18. PUB/SUB
  19. SCRIPTING
  20. SERVER
  21. SET
  22. SORTED SET
  23. STREAM
  24. STRING
  25. TRANSACTIONS

Full Commands List

CategoryCommandImplemented in GarnetNotes
ACLCAT
DELUSER
DRYRUN
GENPASS
GETUSER
LIST
LOAD
HELP
LOG
SAVE
SETUSER
USERS
WHOAMI
BITMAPBITCOUNT
BITFIELD
BITFIELD_RO
BITOP AND
BITOP NOT
BITPOS
GETBIT
SETBIT
CLIENTCACHING
GETNAME
GETREDIR
HELP
ID
INFO
KILL
LIST
NO-EVICT
NO-TOUCH
PAUSE
REPLY
SETINFO
SETNAME
TRACKING
TRACKINGINFO
UNBLOCK
UNPAUSE
CLUSTERADDSLOTS
ADDSLOTSRANGE
ASKING
BUMPEPOCH
COUNT-FAILURE-REPORTS
COUNTKEYSINSLOT
DELSLOTS
DELSLOTSRANGE
FAILOVER
FLUSHSLOTS
FORGET
GETKEYINSLOT
INFO
KEYSLOT
LINKS
MEET
MYID
MYSHARDID
NODES
READONLY
READWRITE
REPLICAS
REPLICATE
RESET
SAVECONFIG
SET-CONFIG-EPOCH
SETSLOT
SHARDS
SLAVES(Deprecated)
SLOTS(deprecated)
COMMANDCOMMAND
COUNT
DOCS
GETKEYS
GETKEYSANDFLAGS
HELP
INFO
LIST
CONNECTIONAUTH
ECHO
HELLO
PING
QUIT(Deprecated)
SELECT
FUNCTIONSFCALL
FCALL_RO
DELETE
DUMP
FLUSH
HELP
KILL
LIST
LOAD
RESTORE
STATS
GENERICPERSIST
PEXPIRE
PEXPIREAT
PEXPIRETIME
PTTL
RANDOMKEY
RENAME
RENAMENX
RESTORE
SCAN
SORT
SORT_RO
TOUCH
TTL
TYPE
UNLINK
WAIT
WAITAOF
GEOGEOADD
GEODIST
GEOHASH
GEOPOS
GEORADIUS(Deprecated)
GEORADIUS_RO(Deprecated)
GEORADIUSBYMEMBER(Deprecated)
GEORADIUSBYMEMBER_RO(Deprecated)
GEOSEARCHPartially Implemented
GEOSEARCHSTOREPartially Implemented
HASHHDEL
HEXISTS
HEXPIRE
HEXPIREAT
HEXPIRETIME
HGET
HGETALL
HINCRBY
HINCRBYFLOAT
HKEYS
HLEN
HMGET
HMSET(Deprecated)
HPERSIST
HPEXPIRE
HPEXPIREAT
HPEXPIRETIME
HPTTL
HRANDFIELD
HSCAN
HSET
HSETNX
HSTRLEN
HTTL
HVALS
HYPERLOGLOGPFADD
PFCOUNT
PFDEBUGInternal command
PFMERGE
PFSELFTESTInternal command
KEYSCOPY
DEL
DUMP
EXISTS
EXPIRE
EXPIREAT
EXPIRETIME
KEYS
MIGRATE
MOVE
LATENCYDOCTOR
GRAPH
HELP
HISTOGRAM
HISTORY
LATEST
RESET
LISTBLMOVE
BLMPOP
BLPOP
BRPOP
BRPOPLPUSH(Deprecated)
LINDEX
LINSERT
LLEN
LMOVE
LMPOP
LPOP
LPOS
LPUSH
LPUSHX
LRANGE
LREM
LSET
LTRIM
RPOP
RPOPLPUSH(Deprecated)
RPUSH
RPUSHX
MEMORYDOCTOR
HELP
MALLOC-STATS
PURGE
STATS
USAGE
MODULEHELP
LIST
LOAD
LOADEX
UNLOAD
OBJECTENCODING
FREQ
HELP
IDLETIME
REFCOUNT
PUB/SUBPSUBSCRIBE
PUBLISH
PUBSUB CHANNELS
PUBSUB HELP
PUBSUB NUMPAT
PUBSUB NUMSUB
PUBSUB SHARDCHANNELS
PUBSUB SHARDNUMSUB
PUNSUBSCRIBE
SUBSCRIBE
UNSUBSCRIBE
SCRIPTINGEVAL
EVAL_RO
EVALSHA
EVALSHA_RO
SCRIPT DEBUG
SCRIPT EXISTS
SCRIPT FLUSH
SCRIPT HELP
SCRIPT KILL
SCRIPT LOAD
SERVERACL
BGREWRITEAOF
BGSAVE
COMMITAOF
CONFIG GET
CONFIG HELP
CONFIG RESETSTAT
CONFIG REWRITE
CONFIG SET
DBSIZE
DEBUGInternal command
FLUSHALL
FLUSHDB
LASTSAVE
LOLWUT
MONITOR
PSYNC
REPLCONF
REPLICAOF
RESTORE-ASKING
ROLE
SAVE
SHUTDOWN
SLAVEOF(Deprecated)
SWAPDB
SYNC
TIME
SETSADD
SCARD
SDIFF
SDIFFSTORE
SINTER
SINTERSTORE
SINTERCARD
SISMEMBER
SMEMBERS
SMISMEMBER
SMOVE
SPOP
SPUBLISH
SRANDMEMBER
SREM
SSCAN
SSUBSCRIBE
SUNION
SUNIONSTORE
SUNSUBSCRIBE
SLOWLOGGET
HELP
LEN
RESET
SORTED SETBZMPOP
BZPOPMAX
BZPOPMIN
ZADD
ZCARD
ZCOUNT
ZDIFF
ZDIFFSTORE
ZINCRBY
ZINTER
ZINTERCARD
ZINTERSTORE
ZLEXCOUNT
ZMPOP
ZMSCORE
ZPOPMAX
ZPOPMIN
ZRANDMEMBER
ZRANGE
ZRANGEBYLEX(Deprecated)
ZRANGEBYSCORE(Deprecated)
ZRANGESTORE
ZRANK
ZREM
ZREMRANGEBYLEX
ZREMRANGEBYRANK
ZREMRANGEBYSCORE
ZREVRANGE(Deprecated)
ZREVRANGEBYLEX(Deprecated)
ZREVRANGEBYSCORE(Deprecated)
ZREVRANK
ZSCAN
ZSCORE
ZUNION
ZUNIONSTORE
STREAMXACK
XADD
XAUTOCLAIM
XCLAIM
XDEL
XGROUP CREATE
XGROUP CREATECONSUMER
XGROUP DELCONSUMER
XGROUP DESTROY
XGROUP HELP
XGROUP SETID
XINFO CONSUMERS
XINFO GROUPS
XINFO HELP
XINFO STREAM
XLEN
XPENDING
XRANGE
XREAD
XREADGROUP
XREVRANGE
XSETID
XTRIM
STRINGAPPEND
DECR
DECRBY
GET
GETDEL
GETEX
GETRANGE
GETSET
INCR
INCRBY
INCRBYFLOAT
LCS
MGET
MSET
MSETNX
PSETEX(Deprecated)
SET
SETEX(Deprecated)
SETNX
SETRANGE
STRLEN
SUBSTR(Deprecated)
TRANSACTIONSDISCARD
EXEC
MULTI
UNWATCH
WATCH