Vector Operations

Upsert text

Upsert text into a namespace. Pinecone converts the text to vectors automatically using the hosted embedding model associated with the index.

Upserting text is supported only for indexes with integrated embedding.

For guidance, examples, and limits, see Upsert data.

post/records/namespaces/{namespace}/upsert

Request

Path parameters

namespacestring required

The namespace to upsert records into.

Headers

X-Pinecone-Api-Versionstring required

Required date-based version header

Request body application/x-ndjson

_idstring required

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

Example request

[
  {
    "_id": "example-record-1"
  }
]

Response

A successful response.

Changes

No recorded changes to this operation across all 1 revision of this API.