Metadata
Update Built-in Metadata Field
Enable or disable built-in metadata fields for the knowledge base.
post/datasets/{dataset_id}/metadata/built-in/{action}
Request
- Base URLhttps://api.dify.ai/v1
- URLhttps://api.dify.ai/v1/datasets/{dataset_id}/metadata/built-in/{action}
- 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.
action'enable' | 'disable' required
enable to activate built-in metadata fields, disable to deactivate them.
Response
Built-in metadata field toggled successfully.
Changes
No recorded changes to this operation across all 17 revisions of this API.