# TDIGEST.RESET Resets a t-digest sketch: empties the sketch and re-initializes it. ## Required arguments
key is the key name for an existing t-digest sketch.
## Example redis> TDIGEST.RESET t OK ## Return information {{< multitabs id=“tdigest-reset-return-info" tab1="RESP2" tab2="RESP3" >}} One of the following: * [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-strings) `OK` if executed correctly. * [Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-errors) in these cases: key does not exist or is of the wrong type, or incorrect number of arguments. -tab-sep- One of the following: * [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-strings) `OK` if executed correctly. * [Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-errors) in these cases: key does not exist or is of the wrong type, or incorrect number of arguments.