> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON.MGET

> Get the same path from multiple JSON documents.

## Arguments

<ParamField body="keys" type="List[str]" required>
  One or more keys of JSON documents.
</ParamField>

<ParamField body="path" type="str" required>
  The path to get from the JSON document.
</ParamField>

## Response

<ResponseField type="List[List[TValue]]" required>
  The values at the specified path or `null` if the path does not exist.
</ResponseField>

<RequestExample>
  ```py Example theme={"system"}
  values = redis.json.mget(["key1", "key2"],  "$.path.to.somewhere")
  ```
</RequestExample>


## Related topics

- [JSON.MGET](/docs/redis/sdks/ts/commands/json/mget.md)
- [MGET](/docs/redis/sdks/ts/commands/string/mget.md)
- [String Commands](/docs/redis/sdks/ts/commands/string.md)
- [REST API](/docs/redis/features/restapi.md)
