Document

Batch Updates Documents in a DocumentCollection

PATCH
Updates Documents in a specified DocumentCollection.

Path parameters

collectionNamestringRequired
Name of the Document Collection

Request

This endpoint expects a list of objects.
uuid
stringRequired
document_id
stringOptional
metadata
map from strings to anyOptional

Response

This endpoint returns an object
message
stringOptional

Errors

PATCH
1curl -X PATCH https://api.getzep.com/api/v2/collections/collectionName/documents/batchUpdate \
2 -H "Authorization: Api-Key <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '[
5 {
6 "uuid": "uuid"
7 }
8]'
1{
2 "message": "message"
3}