POST
/
vectors
/
update
PINECONE_API_KEY="YOUR_API_KEY"
INDEX_HOST="INDEX_HOST"

curl -X POST "https://$INDEX_HOST/vectors/update" \
	-H "Api-Key: $PINECONE_API_KEY" \
	-H 'Content-Type: application/json' \
	-d '{
		  "id": "id-3",
		  "values": [
		    4.0,
			2.0
		  ],
		  "namespace": "ns1"
		}'
{}
PINECONE_API_KEY="YOUR_API_KEY"
INDEX_HOST="INDEX_HOST"

curl -X POST "https://$INDEX_HOST/vectors/update" \
	-H "Api-Key: $PINECONE_API_KEY" \
	-H 'Content-Type: application/json' \
	-d '{
		  "id": "id-3",
		  "values": [
		    4.0,
			2.0
		  ],
		  "namespace": "ns1"
		}'

Authorizations

Api-Key
string
header
required

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

Body

application/json

The request for the upsert operation.

Response

200
application/json

A successful response.

The response for the update operation.