> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs-beta.getzep.com/v2/sdk-reference/deprecated/document/batch-update-documents/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server. # Batch Updates Documents in a DocumentCollection PATCH https://api.getzep.com/api/v2/collections/{collectionName}/documents/batchUpdate Content-Type: application/json Updates Documents in a specified DocumentCollection. Reference: https://docs-beta.getzep.com/v2/sdk-reference/deprecated/document/batch-update-documents ## Request ### Path parameters - `collectionName` (string, required) — Name of the Document Collection ### Body (application/json) This endpoint expects a list of models.UpdateDocumentListRequest. - `list of models.UpdateDocumentListRequest` ## Response ### 200 OK - `message` (string, optional) ## Errors ### 400 Bad Request Error Bad Request - `message` (string, optional) ### 401 Unauthorized Error Unauthorized - `message` (string, optional) ### 500 Internal Server Error Internal Server Error - `message` (string, optional) ## Types ### models.UpdateDocumentListRequest - `uuid` (string, required) - `document_id` (string, optional) - `metadata` (map from string to any, optional) ## Examples **Request** ```json [ { "uuid": "a3f1c9e2-7b4d-4f6a-9d3e-2b8f1c7a9d5e" }, { "uuid": "b7d2e4f8-1c3a-4e5b-8f9d-0a2b3c4d5e6f" } ] ``` **Response** ```json { "message": "Documents updated successfully." } ```