Skip to main content
POST
To control costs when ingesting large datasets (10,000,000+ records), use import instead of upsert.

Authorizations

Api-Key
string
header
required

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

Body

application/json

The request for the upsert operation.

vectors
object[]
required

An array containing the vectors to upsert. Recommended batch limit is up to 1000 vectors.

namespace
string

The namespace where you upsert vectors.

Example:

"example-namespace"

Response

A successful response.

The response for the upsert operation.

upsertedCount
integer<int64>

The number of vectors upserted.

Example:

2