Endpoints
Upsert Data
This endpoint upserts (adds) the raw text data to given index after embedding it. You can also add metadata with the vector.
POST
/
upsert-data
Request
You can either upsert a single data, or multiple data in an array.
id
string
requiredThe ID of the vector
data
string
requiredThe raw text data to embed and upsert.
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?