keyslotTo use the CLUSTER KEYSLOT command, the OSS Cluster API Support should be enabled for this database; otherwise, you will see the response: ERR not allowedCLUSTER KEYSLOT is a Redis command that returns the slot number of a key in a cluster environment. Learn how to use this command, its syntax, parameters, and examples.