Documents
Download Library Document
The document's ORIGINAL bytes, with its own content type.
The one route on this surface that is NOT the ApiResponse envelope: a PDF wrapped in JSON is not a PDF. Same precedent as GET /knowledge/export. Content type and filename come from the stored document, so a text document comes back as text and a PDF as a PDF.
get/library/documents/{document_id}/download
Request
- Base URL: https://be.graph8.com/api/v1
- URL: https://be.graph8.com/api/v1/library/documents/{document_id}/download
- Auth: HTTP bearer
Path parameters
document_idstring required
Document id.
Headers
Authorizationstring nullable
X-Target-Org-Idstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.