GET
/datasets/{dataset_id}/metadata/built-inGet Built-in Metadata Fields
Returns the built-in metadata fields provided by the system.
dataset_idstringrequired
Knowledge base ID, from [List Knowledge Bases](/en/api-reference/knowledge-bases/list-knowledge-bases). For a scoped key, [copy the ID from the Dify URL](/en/api-reference/guides/knowledge#knowledge-base-id).
200Built-in metadata fields.
fieldsarray<object>optional
List of system-provided metadata fields.
403- `forbidden` : Dataset api access is not enabled.
- `forbidden` : The API key is scoped to specific knowledge bases, and this knowledge base is not one of them.
One documented failure
forbiddenDataset api access is not enabled.
forbidden (api access)
404`not_found` : Dataset not found.
One documented failure
not_foundDataset not found.
not_found
Error handling
A 403 is returned: - forbidden : Dataset api access is not enabled.
forbidden: The API key is scoped to specific knowledge bases, and this knowledge base is not one of them. A 404 is returned:not_found: Dataset not found.