Skip to content

Files API

Download


GET /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 ("original" | "text") — Format of the downloaded content.
💬