Stream the document's original file
Streams the document's original uploaded bytes (e.g. the source PDF or image) so a caller can show it alongside extracted data or a review decision — for example a client-side pdf.js viewer. The platform keeps no separate page-image/raster store, so a caller that wants to render a specific page renders this response itself.
Supports HTTP byte-range requests (Range: bytes=...) so a viewer can fetch only the pages it needs instead of the whole file; a 206 response carries Content-Range and omits nothing else. Returns 404 if the document does not exist, is not visible to the API key's creator (Sources IAM), or has no recoverable original file (e.g. a legacy document whose source was never retained — use GET /v1/documents/{id}/markdown instead in that case).
A linked duplicate (an exact re-submission of an already-ingested file) streams the CANONICAL document's bytes while keeping this id's own filename in Content-Disposition.
Request
- Base URL: https://api.talonic.com
- URL: https://api.talonic.com/v1/documents/{id}/file
- Auth: HTTP bearer
Path parameters
Resource UUID.
Headers
Standard HTTP byte-range request (RFC 7233). Honored end-to-end; an unsatisfiable or multi-range request currently degrades to a full 200 response rather than a 416.
Response
The full file. Accept-Ranges: bytes is always present so a client can switch to ranged requests.
Changes
No recorded changes to this operation across all 1 revision of this API.