Endpoints
Upsert Vectors
This endpoint upserts (adds) a vector to given index. You can also add metadata with the vector.
POST
/
upsert
Request
You can either upsert a single vector, or multiple vectors in an array.
id
string
requiredThe ID of the vector
vector
number[]
requiredThe vector data to upsert.
The provided vector should have the same number of dimensions as your index.
metadata
Object
The metadata of the vector. This is used to make it easier to identify the vector on queries.
Response
Response
Object
Returns "Success"
on successful upsert operation.
Was this page helpful?