Skip to content
masterclass Buddy

Upstash · Method

index.upsert

Adds new documents or updates existing ones in an Upstash Search index. Each document needs an id and content; metadata is optional.

Last updated

Syntax

index.upsert(documents: List[Document])

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Search
  • client.index
  • list_indexes
  • delete_index
  • search indexes

Source: Upsert - Upstash Documentation. Checked 2026-11-03.