Download file content
GET/v1/files/:file_id/content
Download the raw bytes of a file. The endpoint responds with 302 Found and a Location header pointing at a freshly-signed, short-lived storage URL; the URL forces Content-Disposition: attachment so the content is downloaded rather than rendered. Returns 404 when the file does not exist or belongs to a different organization. The response carries Cache-Control: no-store.
Request
Responses
- 302
- 404
Redirect to a freshly-signed, short-lived storage URL for the raw bytes (Content-Disposition: attachment).
Response Headers
Location
Presigned URL for downloading the file content.
Cache-Control
Always no-store — the redirect URL is single-use and time-limited.
No such file in the active organization.