> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-dx-3009-array-sdk-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ARGET

> Read the value at an array index.

## Arguments

<ParamField body="key" type="str" required>
  The array key.
</ParamField>

<ParamField body="index" type="int" required>
  The zero-based index to access.
</ParamField>

## Response

<ResponseField type="str | None" required>
  The stored value, or `null` (TypeScript) / `None` (Python) for an empty slot or missing key.
</ResponseField>

<RequestExample>
  ```py Example theme={"system"}
  redis.arset("readings", 7, "21.5")
  print(redis.arget("readings", 7))  # "21.5"
  print(redis.arget("readings", 6))  # None
  ```
</RequestExample>

See the [server command reference](/redis/commands/array/arget) for protocol details.
