{
  "id": "tdigest.min",
  "title": "TDIGEST.MIN",
  "url": "https://redis.io/docs/latest/commands/tdigest.min/",
  "summary": "Returns the minimum observation value from a t-digest sketch",
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-04-09T10:29:34-04:00",
  "page_type": "content",
  "content_hash": "251bb328c3b8323b375ac5530aa852a359110748c4372450628d6b0deabee6da",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Returns the minimum observation value from a t-digest sketch."
    },
    {
      "id": "required-arguments",
      "title": "Required arguments",
      "role": "content",
      "text": "<details open><summary><code>key</code></summary>\n\nis the key name for an existing t-digest sketch.\n</details>"
    },
    {
      "id": "examples",
      "title": "Examples",
      "role": "example",
      "text": "redis> TDIGEST.CREATE t\nOK\nredis> TDIGEST.MIN t\n\"nan\"\nredis> TDIGEST.ADD t 3 4 1 2 5\nOK\nredis> TDIGEST.MIN t\n\"1\""
    },
    {
      "id": "redis-software-and-redis-cloud-compatibility",
      "title": "Redis Software and Redis Cloud compatibility",
      "role": "content",
      "text": "| Redis<br />Software | Redis<br />Cloud | <span style=\"min-width: 9em; display: table-cell\">Notes</span> |\n|:----------------------|:-----------------|:------|\n| <span title=\"Supported\">&#x2705; Supported</span><br /> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> |  |"
    },
    {
      "id": "return-information",
      "title": "Return information",
      "role": "returns",
      "text": "**RESP2:**\n\nOne of the following:\n\n* [Bulk string reply]() as floating-point representing the minimum observation value from the given sketch. The result is always accurate. `nan` is returned if the sketch is empty.\n* [Simple string reply]() in these cases: incorrect number of arguments or incorrect key type.\n\n**RESP3:**\n\nOne of the following:\n\n* [Double reply]() representing the minimum observation value from the given sketch. The result is always accurate. `nan` is returned if the sketch is empty.\n* [Simple string reply]() in these cases: incorrect number of arguments or incorrect key type."
    }
  ],
  "examples": []
}
