# HKEYS Returns all field names in the hash stored at `key`. ## Examples HSET myhash field1 "Hello" HSET myhash field2 "World" HKEYS myhash ## Return information {{< multitabs id="hkeys-return-info" tab1="RESP2" tab2="RESP3" >}} [Array reply](../../develop/reference/protocol-spec#arrays): a list of fields in the hash, or an empty list when the key does not exist -tab-sep- [Array reply](../../develop/reference/protocol-spec#arrays): a list of fields in the hash, or an empty list when the key does not exist.