v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBCollection Documents
Bulk Update Documents
Bulk update documents matching filter conditions.
Partially updates all documents in the collection that match the provided filters. If no filters are provided, updates all documents in the collection.
This endpoint applies the SAME update_data to ALL documents matching the filters. For per-document updates with different values, use POST /batch endpoint instead.
patch/v1/collections/{collection_identifier}/documents/bulk
Path parameters
collection_identifierstring required
The ID of the collection to update documents in.
The ID of the collection to update documents in.
Request body
Example request
{
"description": "Update all pending documents to processed",
"filters": {
"AND": [
{
"field": "metadata.status",
"operator": "eq",
"value": "pending"
}
]
},
"update_data": {
"metadata": {
"status": "processed"
}
}
}Response
Successful Response