{
"usage": {
"hardware": null
},
"time": 0.058295368,
"status": "ok",
"result": {
"operation_id": 0,
"status": "Completed"
}
}{
"status": {
"error": "Collection `my_collection` doesn't exist!"
},
"time": 123
}Upsert points
Insert or update points in a collection. If a point with the given ID already exists, it is overwritten. All points in the request are inserted or updated atomically.
{
"usage": {
"hardware": null
},
"time": 0.058295368,
"status": "ok",
"result": {
"operation_id": 0,
"status": "Completed"
}
}{
"status": {
"error": "Collection `my_collection` doesn't exist!"
},
"time": 123
}Authorizations
Admin JWT or access token for authenticating requests to VectorAI DB.
Path Parameters
The name of the collection to upsert points into.
Query Parameters
If true, the request blocks until all points are indexed. If false, returns immediately and indexing continues in the background. Defaults to true.
true
Body
Array of point objects to insert or update.
Show child attributes
Show child attributes
Response
Points upserted successfully
Resource usage information for this request.
Show child attributes
Show child attributes
Time spent to process this request, in seconds.
0.058295368
Operation status. Returns ok on success.
"ok"
Operation result containing the status of the upsert.
Show child attributes
Show child attributes