Files API
Download
Get file content
/v1/files/{file_id}/content
Download the contents of a file as a stream of raw bytes. The response `Content-Type` is `application/octet-stream`. Use this for the binary payload; use `GET /v1/files/{file_id}` for metadata only.
Path Parameters
file_idstringThe file's `id` to download.
Query Parameters
format"original" | "text"Format of the downloaded content.
No parameters.No response.Last updated:April 27, 2026