Points

Upsert points

PUT
Performs the insert + update action on specified points. Any point with an existing {id} will be overwritten.

Path parameters

collection_namestringRequired
Name of the collection to update from

Query parameters

waitbooleanOptional
If true, wait for changes to actually happen
orderingenumOptional
define ordering guarantees for the operation
Allowed values: weakmediumstrong

Request

This endpoint expects a union.
Points Batchobject
OR
Points Listobject

Response

This endpoint returns an object
time
doubleOptional
Time spent to process this request
status
stringOptional
result
objectOptional
PUT
1curl -X PUT http://localhost:6333/collections/collection_name/points \
2 -H "api-key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "batch": {
6 "ids": [
7 1
8 ],
9 "vectors": [
10 [
11 1.1
12 ]
13 ]
14 }
15}'
200Updated
1{
2 "time": 1.1,
3 "status": "status",
4 "result": {
5 "status": "acknowledged",
6 "operation_id": 1
7 }
8}