POST

https://{index_host}

/
vectors
/
update

Authorizations

Api-Key
string
headerrequired

An API Key is required to call Pinecone APIs. Get yours at https://www.pinecone.io/start/

Body

application/json

The request for the upsert operation.

id
string
required

Vector's unique id.

Required string length: 1 - 512
values
number[]

Vector data.

sparseValues
object

Vector sparse data. Represented as a list of indices and a list of corresponded values, which must be with the same length.

setMetadata
object

Metadata to set for the vector.

namespace
string

Namespace name where to update the vector.

Response

200 - application/json

The response for the update operation.

Was this page helpful?