Command reference
The pinned Redis 8.10 catalog contains 486 canonical entries. Every entry has its own syntax, upstream attribution, ffkv caveats, metadata when available and real BDD source evidence. Catalog coverage does not imply every upstream option combination is identical.
486 commands
No commands match these filters. Try a shorter name or select “All groups”, or clear the filters.
String commands
APPENDAppends a string to the value of a key. Creates the key if it doesn't exist.DECRDecrements the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.DECRBYDecrements a number from the integer value of a key. Uses 0 as initial value if the key doesn't exist.DELEXConditionally removes the specified key based on value or hash digest comparison.DIGESTReturns the hash digest of a string value as a hexadecimal string.GETReturns the string value of a key.GETDELReturns the string value of a key after deleting the key.GETEXReturns the string value of a key after setting its expiration time.GETRANGEReturns a substring of the string stored at a key.GETSETReturns the previous string value of a key after setting it to a new value.INCRIncrements the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.INCRBYIncrements the integer value of a key by a number. Uses 0 as initial value if the key doesn't exist.INCRBYFLOATIncrement the floating point value of a key by a number. Uses 0 as initial value if the key doesn't exist.INCREXIncrements the numeric value of a key by a number and sets its expiration time. Uses 0 as initial value if the key doesn't exist.LCSFinds the longest common substring.MGETAtomically returns the string values of one or more keys.MSETAtomically creates or modifies the string values of one or more keys.MSETEXAtomically sets multiple string keys with a shared expiration in a single operation.MSETNXAtomically modifies the string values of one or more keys only when all keys don't exist.PSETEXSets both string value and expiration time in milliseconds of a key. The key is created if it doesn't exist.SETSets the string value of a key, ignoring its type. The key is created if it doesn't exist.SETEXSets the string value and expiration time of a key. Creates the key if it doesn't exist.SETNXSet the string value of a key only when the key doesn't exist.SETRANGEOverwrites a part of a string value with another by an offset. Creates the key if it doesn't exist.STRLENReturns the length of a string value.SUBSTRReturns a substring from a string value.
Hash commands
HDELDeletes one or more fields and their values from a hash. Deletes the hash if no fields remain.HEXISTSDetermines whether a field exists in a hash.HEXPIRESet expiry for hash field using relative time to expire (seconds)HEXPIREATSet expiry for hash field using an absolute Unix timestamp (seconds)HEXPIRETIMEReturns the expiration time of a hash field as a Unix timestamp, in seconds.HGETReturns the value of a field in a hash.HGETALLReturns all fields and values in a hash.HGETDELReturns the value of a field and deletes it from the hash.HGETEXGet the value of one or more fields of a given hash key, and optionally set their expiration.HIMPORTA container for session-based hash import commands using fieldsets.HIMPORT DISCARDRemoves a single session-local fieldset by name.HIMPORT DISCARDALLRemoves all session-local fieldsets for the connection.HIMPORT PREPAREDefines a session-local fieldset that maps a name to a sorted set of field names.HIMPORT SETCreates a fieldset-based hash from values supplied in the order matching a previously prepared fieldset.HINCRBYIncrements the integer value of a field in a hash by a number. Uses 0 as initial value if the field doesn't exist.HINCRBYFLOATIncrements the floating point value of a field by a number. Uses 0 as initial value if the field doesn't exist.HKEYSReturns all fields in a hash.HLENReturns the number of fields in a hash.HMGETReturns the values of all fields in a hash.HMSETSets the values of multiple fields.HPERSISTRemoves the expiration time for each specified fieldHPEXPIRESet expiry for hash field using relative time to expire (milliseconds)HPEXPIREATSet expiry for hash field using an absolute Unix timestamp (milliseconds)HPEXPIRETIMEReturns the expiration time of a hash field as a Unix timestamp, in msec.HPTTLReturns the TTL in milliseconds of a hash field.HRANDFIELDReturns one or more random fields from a hash.HSCANIterates over fields and values of a hash.HSETCreates or modifies the value of a field in a hash.HSETEXSet the value of one or more fields of a given hash key, and optionally set their expiration.HSETNXSets the value of a field in a hash only when the field doesn't exist.HSTRLENReturns the length of the value of a field.HTTLReturns the TTL in seconds of a hash field.HVALSReturns all values in a hash.
List commands
BLMOVEPops an element from a list, pushes it to another list and returns it. Blocks until an element is available otherwise. Deletes the list if the last element was moved.BLMOVEMMoves up to (or exactly) a number of elements from one list to another and returns them. Blocks until the elements are available otherwise. Deletes the source list if it becomes empty.BLMPOPPops the first element from one of multiple lists. Blocks until an element is available otherwise. Deletes the list if the last element was popped.BLPOPRemoves and returns the first element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.BRPOPRemoves and returns the last element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.BRPOPLPUSHPops an element from a list, pushes it to another list and returns it. Block until an element is available otherwise. Deletes the list if the last element was popped.LINDEXReturns an element from a list by its index.LINSERTInserts an element before or after another element in a list.LLENReturns the length of a list.LMOVEReturns an element after popping it from one list and pushing it to another. Deletes the list if the last element was moved.LMOVEMMoves up to (or exactly) a number of elements from one list to another and returns them. Deletes the source list if it becomes empty.LMPOPReturns multiple elements from a list after removing them. Deletes the list if the last element was popped.LPOPReturns the first elements in a list after removing it. Deletes the list if the last element was popped.LPOSReturns the index of matching elements in a list.LPUSHPrepends one or more elements to a list. Creates the key if it doesn't exist.LPUSHXPrepends one or more elements to a list only when the list exists.LRANGEReturns a range of elements from a list.LREMRemoves elements from a list. Deletes the list if the last element was removed.LSETSets the value of an element in a list by its index.LTRIMRemoves elements from both ends a list. Deletes the list if all elements were trimmed.RPOPReturns and removes the last elements of a list. Deletes the list if the last element was popped.RPOPLPUSHReturns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped.RPUSHAppends one or more elements to a list. Creates the key if it doesn't exist.RPUSHXAppends an element to a list only when the list exists.
Set commands
SADDAdds one or more members to a set. Creates the key if it doesn't exist.SCARDReturns the number of members in a set.SDIFFReturns the difference of multiple sets.SDIFFCARDReturns the number of members of the difference between the first set and all successive sets.SDIFFSTOREStores the difference of multiple sets in a key.SINTERReturns the intersect of multiple sets.SINTERCARDReturns the number of members of the intersect of multiple sets.SINTERSTOREStores the intersect of multiple sets in a key.SISMEMBERDetermines whether a member belongs to a set.SMEMBERSReturns all members of a set.SMISMEMBERDetermines whether multiple members belong to a set.SMOVEMoves a member from one set to another.SPOPReturns one or more random members from a set after removing them. Deletes the set if the last member was popped.SRANDMEMBERGet one or multiple random members from a setSREMRemoves one or more members from a set. Deletes the set if the last member was removed.SSCANIterates over members of a set.SUNIONReturns the union of multiple sets.SUNIONCARDReturns the number of members of the union of multiple sets.SUNIONSTOREStores the union of multiple sets in a key.
Sorted set commands
BZMPOPRemoves and returns a member by score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped.BZPOPMAXRemoves and returns the member with the highest score from one or more sorted sets. Blocks until a member available otherwise. Deletes the sorted set if the last element was popped.BZPOPMINRemoves and returns the member with the lowest score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped.ZADDAdds one or more members to a sorted set, or updates their scores. Creates the key if it doesn't exist.ZCARDReturns the number of members in a sorted set.ZCOUNTReturns the count of members in a sorted set that have scores within a range.ZDIFFReturns the difference between multiple sorted sets.ZDIFFSTOREStores the difference of multiple sorted sets in a key.ZINCRBYIncrements the score of a member in a sorted set.ZINTERReturns the intersect of multiple sorted sets.ZINTERCARDReturns the number of members of the intersect of multiple sorted sets.ZINTERSTOREStores the intersect of multiple sorted sets in a key.ZLEXCOUNTReturns the number of members in a sorted set within a lexicographical range.ZMPOPReturns the highest- or lowest-scoring members from one or more sorted sets after removing them. Deletes the sorted set if the last member was popped.ZMSCOREReturns the score of one or more members in a sorted set.ZPOPMAXReturns the highest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.ZPOPMINReturns the lowest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.ZRANDMEMBERReturns one or more random members from a sorted set.ZRANGEReturns members in a sorted set within a range of indexes.ZRANGEBYLEXReturns members in a sorted set within a lexicographical range.ZRANGEBYSCOREReturns members in a sorted set within a range of scores.ZRANGESTOREStores a range of members from sorted set in a key.ZRANKReturns the index of a member in a sorted set ordered by ascending scores.ZREMRemoves one or more members from a sorted set. Deletes the sorted set if all members were removed.ZREMRANGEBYLEXRemoves members in a sorted set within a lexicographical range. Deletes the sorted set if all members were removed.ZREMRANGEBYRANKRemoves members in a sorted set within a range of indexes. Deletes the sorted set if all members were removed.ZREMRANGEBYSCORERemoves members in a sorted set within a range of scores. Deletes the sorted set if all members were removed.ZREVRANGEReturns members in a sorted set within a range of indexes in reverse order.ZREVRANGEBYLEXReturns members in a sorted set within a lexicographical range in reverse order.ZREVRANGEBYSCOREReturns members in a sorted set within a range of scores in reverse order.ZREVRANKReturns the index of a member in a sorted set ordered by descending scores.ZSCANIterates over members and scores of a sorted set.ZSCOREReturns the score of a member in a sorted set.ZUNIONReturns the union of multiple sorted sets.ZUNIONSTOREStores the union of multiple sorted sets in a key.
Stream commands
XACKReturns the number of messages that were successfully acknowledged by the consumer group member of a stream.XACKDELAcknowledges and conditionally deletes one or multiple entries for a stream consumer group.XADDAppends a new message to a stream. Creates the key if it doesn't exist.XAUTOCLAIMChanges, or acquires, ownership of messages in a consumer group, as if the messages were delivered to as consumer group member.XCFGSETSets the IDMP configuration parameters for a stream.XCLAIMChanges, or acquires, ownership of a message in a consumer group, as if the message was delivered a consumer group member.XDELReturns the number of messages after removing them from a stream.XDELEXDeletes one or multiple entries from the stream.XGROUP CREATECreates a consumer group.XGROUP CREATECONSUMERCreates a consumer in a consumer group.XGROUP DELCONSUMERDeletes a consumer from a consumer group.XGROUP DESTROYDestroys a consumer group.XGROUP SETIDSets the last-delivered ID of a consumer group.XIDMPRECORDAn internal command for setting IDMP metadata on an existing stream message.XINFO CONSUMERSReturns a list of the consumers in a consumer group.XINFO GROUPSReturns a list of the consumer groups of a stream.XINFO STREAMReturns information about a stream.XLENReturn the number of messages in a stream.XNACKReleases pending messages back to the group's PEL without acknowledging them, making them available for re-delivery.XPENDINGReturns the information and entries from a stream consumer group's pending entries list.XRANGEReturns the messages from a stream within a range of IDs.XREADReturns messages from multiple streams with IDs greater than the ones requested. Blocks until a message is available otherwise.XREADGROUPReturns new or historical messages from a stream for a consumer in a group. Blocks until a message is available otherwise.XREVRANGEReturns the messages from a stream within a range of IDs in reverse order.XSETIDAn internal command for replicating stream values.XTRIMDeletes messages from the beginning of a stream.
Bitmap commands
BITCOUNTCounts the number of set bits (population counting) in a string.BITFIELDPerforms arbitrary bitfield integer operations on strings.BITFIELD_ROPerforms arbitrary read-only bitfield integer operations on strings.BITOPPerforms bitwise operations on multiple strings, and stores the result.BITPOSFinds the first set (1) or clear (0) bit in a string.GETBITReturns a bit value by offset.SETBITSets or clears the bit at offset of the string value. Creates the key if it doesn't exist.
Array commands
ARCOUNTReturns the number of non-empty elements in an array.ARDELDeletes elements at the specified indices in an array.ARDELRANGEDeletes elements in one or more ranges.ARGETGets the value at an index in an array.ARGETRANGEGets values in a range of indices.ARGREPSearches array elements in a range using textual predicates.ARINFOReturns metadata about an array.ARINSERTInserts one or more values at consecutive indices.ARLASTITEMSReturns the most recently inserted elements.ARLENReturns the length of an array (max index + 1).ARMGETGets values at multiple indices in an array.ARMSETSets multiple index-value pairs in an array.ARNEXTReturns the next index ARINSERT would use.AROPPerforms aggregate operations on array elements in a range.ARRINGInserts values into a ring buffer of specified size, wrapping and truncating as needed.ARSCANIterates existing elements in a range, returning index-value pairs.ARSEEKSets the ARINSERT / ARRING cursor to a specific index.ARSETSets one or more contiguous values starting at an index in an array.
HyperLogLog commands
PFADDAdds elements to a HyperLogLog key. Creates the key if it doesn't exist.PFCOUNTReturns the approximated cardinality of the set(s) observed by the HyperLogLog key(s).PFDEBUGInternal commands for debugging HyperLogLog values.PFMERGEMerges one or more HyperLogLog values into a single key.PFSELFTESTAn internal command for testing HyperLogLog values.
Geospatial commands
GEOADDAdds one or more members to a geospatial index. The key is created if it doesn't exist.GEODISTReturns the distance between two members of a geospatial index.GEOHASHReturns members from a geospatial index as geohash strings.GEOPOSReturns the longitude and latitude of members from a geospatial index.GEORADIUSQueries a geospatial index for members within a distance from a coordinate, optionally stores the result.GEORADIUSBYMEMBERQueries a geospatial index for members within a distance from a member, optionally stores the result.GEORADIUSBYMEMBER_ROReturns members from a geospatial index that are within a distance from a member.GEORADIUS_ROReturns members from a geospatial index that are within a distance from a coordinate.GEOSEARCHQueries a geospatial index for members inside an area of a box or a circle.GEOSEARCHSTOREQueries a geospatial index for members inside an area of a box or a circle, optionally stores the result.
JSON commands
JSON.ARRAPPENDAppend one or more json values into the array at path after the last element in it.JSON.ARRINDEXReturns the index of the first occurrence of a JSON scalar value in the array at pathJSON.ARRINSERTInserts the JSON scalar(s) value at the specified index in the array at pathJSON.ARRLENReturns the length of the array at pathJSON.ARRPOPRemoves and returns the element at the specified index in the array at pathJSON.ARRTRIMTrims the array at path to contain only the specified inclusive range of indices from start to stopJSON.CLEARClears all values from an array or an object and sets numeric values to `0`JSON.DEBUGDebugging container commandJSON.DEBUG MEMORYReports the size in bytes of a keyJSON.DELDeletes a valueJSON.FORGETDeletes a valueJSON.GETGets the value at one or more paths in JSON serialized formJSON.MERGEMerges a given JSON value into matching paths. Consequently, JSON values at matching paths are updated, deleted, or expanded with new childrenJSON.MGETReturns the values at a path from one or more keysJSON.MSETSets or updates the JSON value of one or more keysJSON.NUMINCRBYIncrements the numeric value at path by a valueJSON.NUMMULTBYMultiplies the numeric value at path by a valueJSON.OBJKEYSReturns the key names of JSON objects at the paths matching a given path expressionJSON.OBJLENReturns the number of keys in JSON objects at the paths matching a given path expressionJSON.RESPReturns the JSON value at path in Redis Serialization Protocol (RESP)JSON.SETSets or updates the JSON value at a pathJSON.STRAPPENDAppends a string to JSON strings at the paths matching a given path expressionJSON.STRLENReturns the length of JSON strings at the paths matching a given path expressionJSON.TOGGLEToggles a boolean valueJSON.TYPEReturns the type of the JSON value at path
Search commands
FT.AGGREGATERun a search query on an index and perform aggregate transformations on the resultsFT.ALIASADDAdds an alias to the indexFT.ALIASDELDeletes an alias from the indexFT.ALIASLISTLists all aliases for the indexFT.ALIASUPDATEAdds or updates an alias to the indexFT.ALTERAdds a new field to the indexFT.CONFIG GETRetrieves runtime configuration optionsFT.CONFIG SETSets runtime configuration optionsFT.CREATECreates an index with the given specFT.CURSOR DELDeletes a cursorFT.CURSOR READReads from a cursorFT.DICTADDAdds terms to a dictionaryFT.DICTDELDeletes terms from a dictionaryFT.DICTDUMPDumps all terms in the given dictionaryFT.DROPINDEXDeletes the indexFT.EXPLAINReturns the execution plan for a complex queryFT.EXPLAINCLIReturns the execution plan for a complex queryFT.HYBRIDPerforms hybrid search combining text search and vector similarity searchFT.INFOReturns information and statistics on the indexFT.PROFILEPerforms a `FT.SEARCH`, `FT.HYBRID`, or `FT.AGGREGATE` command and collects performance informationFT.SEARCHSearches the index with a textual query, returning either documents or just idsFT.SPELLCHECKPerforms spelling correction on a query, returning suggestions for misspelled termsFT.SYNDUMPDumps the contents of a synonym groupFT.SYNUPDATECreates or updates a synonym group with additional termsFT.TAGVALSReturns the distinct tags indexed in a Tag fieldFT._LISTReturns a list of all existing indexes
Time series commands
TS.ADDAppend a sample to a time seriesTS.ALTERUpdate the retention, chunk size, duplicate policy, and labels of an existing time seriesTS.CREATECreate a new time seriesTS.CREATERULECreate a compaction ruleTS.DECRBYDecrease the value of the sample with the maximum existing timestamp, or create a new sample with a value equal to the value of the sample with the maximum existing timestamp with a given decrementTS.DELDelete all samples between two timestamps for a given time seriesTS.DELETERULEDelete a compaction ruleTS.GETGet the sample with the highest timestamp from a given time seriesTS.INCRBYIncrease the value of the sample with the maximum existing timestamp, or create a new sample with a value equal to the value of the sample with the maximum existing timestamp with a given incrementTS.INFOReturns information and statistics for a time seriesTS.MADDAppend new samples to one or more time seriesTS.MGETGet the sample with the highest timestamp from each time series matching a specific filterTS.MRANGEQuery a range across multiple time series by filters in forward directionTS.MREVRANGEQuery a range across multiple time-series by filters in reverse directionTS.NRANGEQuery a range across multiple time series in forward direction, returning the results grouped by timestampTS.NREVRANGEQuery a range across multiple time series in reverse direction, returning the results grouped by timestampTS.QUERYINDEXGet all time series keys matching a filter listTS.QUERYLABELSGet all label names, or all values of a given label, for time series matching a filter list, or all seriesTS.RANGEQuery a range in forward directionTS.READRead: return up to max_count samples with timestamp >= timestamp. With BLOCK, waits up to milliseconds ms until at least min_count qualifying samples existTS.REVRANGEQuery a range in reverse direction
Vector set commands
VADDAdd a new element to a vector set, or update its vector if it already exists.VCARDReturn the number of elements in a vector set.VDIMReturn the dimension of vectors in the vector set.VEMBReturn the vector associated with an element.VGETATTRRetrieve the JSON attributes of elements.VINFOReturn information about a vector set.VISMEMBERCheck if an element exists in a vector set.VLINKSReturn the neighbors of an element at each layer in the HNSW graph.VRANDMEMBERReturn one or multiple random members from a vector set.VRANGEReturn elements in a lexicographical rangeVREMRemove an element from a vector set.VSETATTRAssociate or remove the JSON attributes of elements.VSIMReturn elements by vector similarity.
Pub/Sub commands
PSUBSCRIBEListens for messages published to channels that match one or more patterns.PUBLISHPosts a message to a channel.PUBSUB CHANNELSReturns the active channels.PUBSUB NUMPATReturns a count of unique pattern subscriptions.PUBSUB NUMSUBReturns a count of subscribers to channels.PUBSUB SHARDCHANNELSReturns the active shard channels.PUBSUB SHARDNUMSUBReturns the count of subscribers of shard channels.PUNSUBSCRIBEStops listening to messages published to channels that match one or more patterns.SPUBLISHPost a message to a shard channelSSUBSCRIBEListens for messages published to shard channels.SUBSCRIBEListens for messages published to channels.SUNSUBSCRIBEStops listening to messages posted to shard channels.UNSUBSCRIBEStops listening to messages posted to channels.
Transaction commands
Scripting commands
EVALExecutes a server-side Lua script.EVALSHAExecutes a server-side Lua script by SHA1 digest.EVALSHA_ROExecutes a read-only server-side Lua script by SHA1 digest.EVAL_ROExecutes a read-only server-side Lua script.FCALLInvokes a function.FCALL_ROInvokes a read-only function.FUNCTION DELETEDeletes a library and its functions.FUNCTION DUMPDumps all libraries into a serialized binary payload.FUNCTION FLUSHDeletes all libraries and functions.FUNCTION KILLTerminates a function during execution.FUNCTION LISTReturns information about all libraries.FUNCTION LOADCreates a library.FUNCTION RESTORERestores all libraries from a payload.FUNCTION STATSReturns information about a function during execution.SCRIPT DEBUGSets the debug mode of server-side Lua scripts.SCRIPT EXISTSDetermines whether server-side Lua scripts exist in the script cache.SCRIPT FLUSHRemoves all server-side Lua scripts from the script cache.SCRIPT KILLTerminates a server-side Lua script during execution.SCRIPT LOADLoads a server-side Lua script to the script cache.
Connection commands
AUTHAuthenticates the connection.CLIENT CACHINGInstructs the server whether to track the keys in the next request.CLIENT GETNAMEReturns the name of the connection.CLIENT GETREDIRReturns the client ID to which the connection's tracking notifications are redirected.CLIENT IDReturns the unique client ID of the connection.CLIENT INFOReturns information about the connection.CLIENT KILLTerminates open connections.CLIENT LISTLists open connections.CLIENT NO-EVICTSets the client eviction mode of the connection.CLIENT NO-TOUCHControls whether commands sent by the client affect the LRU/LFU of accessed keys.CLIENT PAUSESuspends commands processing.CLIENT REPLYInstructs the server whether to reply to commands.CLIENT SETINFOSets information specific to the client or connection.CLIENT SETNAMESets the connection name.CLIENT TRACKINGControls server-assisted client-side caching for the connection.CLIENT TRACKINGINFOReturns information about server-assisted client-side caching for the connection.CLIENT UNBLOCKUnblocks a client blocked by a blocking command from a different connection.CLIENT UNPAUSEResumes processing commands from paused clients.ECHOReturns the given string.HELLOHandshakes with the Redis server.PINGReturns the server's liveliness response.QUITCloses the connection.RESETResets the connection.SELECTChanges the selected database.
Server commands
ACL CATLists the ACL categories, or the commands inside a category.ACL DELUSERDeletes ACL users, and terminates their connections.ACL DRYRUNSimulates the execution of a command by a user, without executing the command.ACL GENPASSGenerates a pseudorandom, secure password that can be used to identify ACL users.ACL GETUSERLists the ACL rules of a user.ACL LISTDumps the effective rules in ACL file format.ACL LOADReloads the rules from the configured ACL file.ACL LOGLists recent security events generated due to ACL rules.ACL SAVESaves the effective ACL rules in the configured ACL file.ACL SETUSERCreates and modifies an ACL user and its rules.ACL USERSLists all ACL users.ACL WHOAMIReturns the authenticated username of the current connection.BACKUP ABORTCancel a backup that has not been sealed yet.BACKUP CLEANUPRemove sealed backup files and return to idle.BACKUP LISTList the immutable backup file paths pinned so far.BACKUP SEALFreeze the current backup (BASE + INCR + manifest).BACKUP STARTStart a new backup into the configured 'backupdirname'.BACKUP STATUSReport the current backup state.BGREWRITEAOFAsynchronously rewrites the append-only file to disk.BGSAVEAsynchronously saves the database(s) to disk.COMMANDReturns detailed information about all commands.COMMAND COUNTReturns a count of commands.COMMAND DOCSReturns documentary information about one, multiple or all commands.COMMAND GETKEYSExtracts the key names from an arbitrary command.COMMAND GETKEYSANDFLAGSExtracts the key names and access flags for an arbitrary command.COMMAND INFOReturns information about one, multiple or all commands.COMMAND LISTReturns a list of command names.CONFIG GETReturns the effective values of configuration parameters.CONFIG RESETSTATResets the server's statistics.CONFIG REWRITEPersists the effective configuration to file.CONFIG SETSets configuration parameters in-flight.DBSIZEReturns the number of keys in the database.FAILOVERStarts a coordinated failover from a server to one of its replicas.FLUSHALLRemoves all keys from all databases.FLUSHDBRemove all keys from the current database.HOTKEYSA container for hotkeys tracking commands.HOTKEYS GETReturns lists of top K hotkeys depending on metrics chosen in HOTKEYS START command.HOTKEYS RESETRelease the resources used for hotkey tracking.HOTKEYS STARTStarts hotkeys tracking.HOTKEYS STOPStops hotkeys tracking.INFOReturns information and statistics about the server.LASTSAVEReturns the Unix timestamp of the last successful save to disk.LATENCY DOCTORReturns a human-readable latency analysis report.LATENCY GRAPHReturns a latency graph for an event.LATENCY HISTOGRAMReturns the cumulative distribution of latencies of a subset or all commands.LATENCY HISTORYReturns timestamp-latency samples for an event.LATENCY LATESTReturns the latest latency samples for all events.LATENCY RESETResets the latency data for one or more events.LOLWUTDisplays computer art and the Redis versionMEMORY DOCTOROutputs a memory problems report.MEMORY MALLOC-STATSReturns the allocator statistics.MEMORY PURGEAsks the allocator to release memory.MEMORY STATSReturns details about memory usage.MEMORY USAGEEstimates the memory usage of a key.MODULE LISTReturns all loaded modules.MODULE LOADLoads a module.MODULE LOADEXLoads a module using extended parameters.MODULE UNLOADUnloads a module.MONITORListens for all requests received by the server in real-time.PSYNCAn internal command used in replication.REPLCONFAn internal command for configuring the replication stream.REPLICAOFConfigures a server as replica of another, or promotes it to a master.RESTORE-ASKINGAn internal command for migrating keys in a cluster.ROLEReturns the replication role.SAVESynchronously saves the database(s) to disk.SHUTDOWNSynchronously saves the database(s) to disk and shuts down the Redis server.SLAVEOFSets a Redis server as a replica of another, or promotes it to being a master.SLOWLOG GETReturns the slow log's entries.SLOWLOG LENReturns the number of entries in the slow log.SLOWLOG RESETClears all entries from the slow log.SWAPDBSwaps two Redis databases.SYNCAn internal command used in replication.TIMEReturns the server time.
Cluster commands
ASKINGSignals that a cluster client is following an -ASK redirect.CLUSTER ADDSLOTSAssigns new hash slots to a node.CLUSTER ADDSLOTSRANGEAssigns new hash slot ranges to a node.CLUSTER BUMPEPOCHAdvances the cluster config epoch.CLUSTER COUNT-FAILURE-REPORTSReturns the number of active failure reports active for a node.CLUSTER COUNTKEYSINSLOTReturns the number of keys in a hash slot.CLUSTER DELSLOTSSets hash slots as unbound for a node.CLUSTER DELSLOTSRANGESets hash slot ranges as unbound for a node.CLUSTER FAILOVERForces a replica to perform a manual failover of its master.CLUSTER FLUSHSLOTSDeletes all slots information from a node.CLUSTER FORGETRemoves a node from the nodes table.CLUSTER GETKEYSINSLOTReturns the key names in a hash slot.CLUSTER INFOReturns information about the state of a node.CLUSTER KEYSLOTReturns the hash slot for a key.CLUSTER LINKSReturns a list of all TCP links to and from peer nodes.CLUSTER MEETForces a node to handshake with another node.CLUSTER MIGRATIONStart, monitor, and cancel atomic slot migration tasks.CLUSTER MYIDReturns the ID of a node.CLUSTER MYSHARDIDReturns the shard ID of a node.CLUSTER NODESReturns the cluster configuration for a node.CLUSTER REPLICASLists the replica nodes of a master node.CLUSTER REPLICATEConfigure a node as replica of a master node.CLUSTER RESETResets a node.CLUSTER SAVECONFIGForces a node to save the cluster configuration to disk.CLUSTER SET-CONFIG-EPOCHSets the configuration epoch for a new node.CLUSTER SETSLOTBinds a hash slot to a node.CLUSTER SHARDSReturns the mapping of cluster slots to shards.CLUSTER SLAVESLists the replica nodes of a master node.CLUSTER SLOT-STATSReturn an array of slot usage statistics for slots assigned to the current node.CLUSTER SLOTSReturns the mapping of cluster slots to nodes.READONLYEnables read-only queries for a connection to a Redis Cluster replica node.READWRITEEnables read-write queries for a connection to a Reids Cluster replica node.
Generic commands
COPYCopies the value of a key to a new key.DELDeletes one or more keys.DUMPReturns a serialized representation of the value stored at a key.EXISTSDetermines whether one or more keys exist.EXPIRESets the expiration time of a key in seconds.EXPIREATSets the expiration time of a key to a Unix timestamp.EXPIRETIMEReturns the expiration time of a key as a Unix timestamp.KEYSReturns all key names that match a pattern.MIGRATEAtomically transfers a key from one Redis instance to another.MOVEMoves a key to another database.OBJECT ENCODINGReturns the internal encoding of a Redis object.OBJECT FREQReturns the logarithmic access frequency counter of a Redis object.OBJECT IDLETIMEReturns the time since the last access to a Redis object.OBJECT REFCOUNTReturns the reference count of a value of a key.PERSISTRemoves the expiration time of a key.PEXPIRESets the expiration time of a key in milliseconds.PEXPIREATSets the expiration time of a key to a Unix milliseconds timestamp.PEXPIRETIMEReturns the expiration time of a key as a Unix milliseconds timestamp.PTTLReturns the expiration time in milliseconds of a key.RANDOMKEYReturns a random key name from the database.RENAMERenames a key and overwrites the destination.RENAMENXRenames a key only when the target key name doesn't exist.RESTORECreates a key from the serialized representation of a value.SCANIterates over the key names in the database.SORTSorts the elements in a list, a set, or a sorted set, optionally storing the result.SORT_ROReturns the sorted elements of a list, a set, or a sorted set.TOUCHReturns the number of existing keys out of those specified after updating the time they were last accessed.TTLReturns the expiration time in seconds of a key.TYPEDetermines the type of value stored at a key.UNLINKAsynchronously deletes one or more keys.WAITBlocks until the asynchronous replication of all preceding write commands sent by the connection is completed.WAITAOFBlocks until all of the preceding write commands sent by the connection are written to the append-only file of the master and/or replicas.
Beyond the catalog
Section titled “Beyond the catalog”Extension API documents all 11 native FQ commands, FFKV storage administration, Bloom/Cuckoo filters, Count-Min Sketch, Top-K, t-digest and additional JSON arithmetic. Container command roots are not counted as extra catalog entries.
Reading command pages
Section titled “Reading command pages”- “Upstream since” is a Redis/module version, never an ffkv release. Complexity and metadata flags are upstream reference data, not ffkv benchmarks.
- Syntax follows the canonical catalog with explicit command-name typo fixes. The empty FT.AGGREGATE grammar is filled from implementation and BDD sources.
- BDD examples are JSON argument vectors extracted safely from actual feature docstrings, including actual Scenario Outline rows. Fixture tokens and base64 payloads remain explicitly identified.
- Listed scenarios are source coverage, not a test execution claim by the docs build. Error assertions are retained as errors. Setup and multi-connection order remain in the named feature.
- Need a running-server view? Use
COMMAND INFO,COMMAND DOCS,COMMAND LISTandCOMMAND COUNT.
Generation is offline and requires only Node: npm --prefix apps/docs run generate. Sources are src/command_catalog.json, src/command_metadata.json, the Rust extension registries and tests/bdd/features.