Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash-vector.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
str
required
The key to get.
start
int
required
The start index of the substring.
end
int
required
The end index of the substring.

Response

The substring.
redis.set("key", "Hello World")

assert redis.getrange("key", 0, 4) == "Hello"