Metadata
Update Document Metadata in Batch
Changed onUpdate metadata values for multiple documents in a single request.
post/datasets/{dataset_id}/documents/metadata
Request
- Base URLhttps://api.dify.ai/v1
- URLhttps://api.dify.ai/v1/datasets/{dataset_id}/documents/metadata
- AuthHTTP bearer
Path parameters
dataset_idstring uuid required
Knowledge base ID, from List Knowledge Bases. For a scoped key, copy the ID from the Dify URL.
Request body
Response
Document metadata updated successfully.
Changes
- info
removed the non-success response with the status
- info