Vectorstore
Bulk Update Objects
Bulk update an array of objects
POST
/
api
/
v1
/
collection
/
bulk-update
Update the object metadata.
When you update a list of objects, here are a few important pointers:
- Make sure to include the
id
of the object - We currently do not support upsert behavior like adding new fields
collection
string
The collection to insert the data into.
objects
array
default: "[]"An array of JSON objects, for example:
[
{"message": "Hi James!", "sender": "Bill"},
{"message": "Hello!", "sender": "James"}
]
The id
field is reserved. If you need the id
field to be stored, it needs
to be stored as something else like _id
or $id
.
Content-Type
default: "application/json"required
Requires JSON Content Type