Skip to main content
POST

Authorizations

Api-Key
string
header
required

An API Key is required to call Pinecone APIs. Get yours from the console.

Path Parameters

namespace
string
required

The namespace to upsert records into.

Body

application/x-ndjson

Each record in the request body must include an _id field and a field that matches your index's field_map configuration (such as chunk_text or data). All other fields are stored as metadata.

_id
string
required

The unique ID of the record to upsert. Note that id can be used as an alias for _id.

Response

A successful response.