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

# JSON.NUMINCRBY

> Increment the number value stored at `path` by number.

## Arguments

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

<ParamField body="path" type="string" default="$">
  The path of the array.
</ParamField>

<ParamField body="increment" type="number" required>
  The number to increment by.
</ParamField>

## Response

<ResponseField type="integer" required>
  The new value after incrementing
</ResponseField>

<RequestExample>
  ```ts Example
  const newValue = await redis.json.numincrby("key", "$.path.to.array", 2);
  ```
</RequestExample>
