> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-dx-3081-agentkit-tanstack-ai-backends.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON.TYPE

> Report the type of JSON value at `path`.

## Arguments

<ParamField body="key" type="str" required>
  The key of the json entry.
</ParamField>

<ParamField body="path" type="str" required>
  The path of the value. `$` is the root.
</ParamField>

## Response

<ResponseField type="List[str | null]" required>
  The type of the value at `path` or `null` if the value does not exist.
</ResponseField>

<RequestExample>
  ```py Example theme={null}
  myType = redis.json.type("key", "$.path.to.value")
  ```
</RequestExample>


## Related topics

- [JSON.TYPE](/redis/commands/json/json-type.md)
- [JSON.RESP](/redis/commands/json/json-resp.md)
- [Types](/blob/reference/types.md)
- [JSON.CLEAR](/redis/commands/json/json-clear.md)
