Skip to main content

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.

Fetch Command for Python SDK

Used to retrieve documents by their IDs.

Arguments

FetchPayload
object
required

Response

Documents
List[Document]
required
This field is null if no document with the specified ID is found.
documents = index.fetch(ids=["movie-0", "movie-1"])
print(documents)