Endpoints
Upsert Vectors
Upserts (inserts or updates) the vector.
POST
/
upsert
/
{namespace}
The vector will be upserted into the default namespace by default. You can use a different namespace by specifying it in the request path.
Request
You can either upsert a single vector, or multiple vectors in an array.
The id of the vector.
The vector value.
The vector should have the same dimensions as your index.
The metadata of the vector. This makes identifying vectors on retrieval easier and can be used to with filters on queries.
The data of the vector. This is an unstructured raw text data, which can be anything associated with this vector.
Path
The namespace to use. When no namespace is specified, the default namespace will be used.
Response
"Success"
string.
Was this page helpful?