POST
/
vectors
/
update
curl --request POST \
     --url https://index_name-project_id.svc.environment.pinecone.io/vectors/update \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
{}

Authorizations

Api-Key
string
headerrequired

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

Body

application/json
id
string
required

Vector's unique id.

values
number[]

Vector data.

sparseValues
object

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

setMetadata
object

Metadata to set for the vector.

namespace
string

The <a href='https://docs.pinecone.io/docs/namespaces'>namespace</a> containing the vector to update.

Response

200 - application/json

The response for the Update operation.

Was this page helpful?