Get File Content
Download the file’s bytes. Private, uncacheable, and always served as
an application/octet-stream attachment whatever the file’s own type -
read content_type from the file object for what it actually is.
Dark launch: requires the durable_runs_access entitlement (402 durable_runs_not_in_plan otherwise).
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
File id (prefixed external id, file_...).
Headers
Response headers
Response
The file bytes. Always served as application/octet-stream and as
an attachment, whatever the file’s own type: the bytes are yours,
not ours, so they are never re-served under a media type a browser
would render. The file object’s content_type is what the file
actually is.