Documents

Download Document File

Download the actual file content for a document. This endpoint is used for local storage when file:// URLs cannot be accessed by browsers.

Args: document_id: External ID of the document auth: Authentication context

Returns: StreamingResponse with the file content

get/documents/{document_id}/file

Path parameters

document_idstring required

Headers

authorizationstring

Response

Successful Response

{"stackTrail":"paths:/documents/{document_id}/file:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes