Upsert
Warning: The legacy version of the API, which requires regional URLs for control plane operations, is deprecated as of April 15, 2024 and will be removed in a future, to be announced, release. For more information, see Migrate to the new API.
The Upsert
operation writes vectors into a namespace.
If a new value is upserted for an existing vector id, it will overwrite the previous value.
Authorizations
An API Key is required to call Pinecone APIs. Get yours at https://app.pinecone.io/.
Body
An array containing the vectors to upsert. Recommended batch limit is 100 vectors.
This is the <a href='https://docs.pinecone.io/docs/namespaces'>namespace</a> name where you upsert vectors. Not supported by projects on the gcp-starter environment.
Response
The number of vectors upserted.
Was this page helpful?