--- acl_categories: - '@cms' - '@read' - '@fast' arguments: - name: key type: key categories: - docs - develop - stack - oss - rs - rc - oss - kubernetes - clients complexity: O(1) description: Returns information about a sketch group: cms hidden: false linkTitle: CMS.INFO module: Bloom railroad_diagram: /images/railroad/cms.info.svg since: 2.0.0 stack_path: docs/data-types/probabilistic summary: Returns information about a sketch syntax_fmt: CMS.INFO key title: CMS.INFO --- Returns width, depth and total count of the sketch. ### Parameters: * **key**: The name of the sketch. ## Examples ``` redis> CMS.INFO test 1) width 2) (integer) 2000 3) depth 4) (integer) 7 5) count 6) (integer) 0 ``` ## Redis Software and Redis Cloud compatibility | Redis
Software | Redis
Cloud | Notes | |:----------------------|:-----------------|:------| | ✅ Supported
| ✅ Flexible & Annual
✅ Free & Fixed | | ## Return information {{< multitabs id="cms-info-return-info" tab1="RESP2" tab2="RESP3" >}} One of the following: * [Array reply]({{< relref "/develop/reference/protocol-spec#arrays" >}}) of [simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}) and [integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}) pairs containing sketch information. * [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, missing key, or wrong key type. -tab-sep- One of the following: * [Map reply]({{< relref "/develop/reference/protocol-spec#maps" >}}) of [simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}) and [integer reply]({{< relref "/develop/reference/protocol-spec#integers" >}}) pairs containing sketch information. * [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: invalid arguments, missing key, or wrong key type. {{< /multitabs >}}