Files API

Download

View as Markdown

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_id

string

required

The file's `id` to download.

Query parameters

format

string

Format of the downloaded content.


Did you find this page helpful?

Last updated: April 27, 2026