Documents
Download Document
Returns a signed URL for downloading a document's original uploaded file.
get/datasets/{dataset_id}/documents/{document_id}/download
Request
- Base URLhttps://api.dify.ai/v1
- URLhttps://api.dify.ai/v1/datasets/{dataset_id}/documents/{document_id}/download
- 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.
document_idstring uuid required
Document ID. From List Documents.
Response
Download URL generated successfully.
Changes
No recorded changes to this operation across all 17 revisions of this API.