v4

latestOpenAPI 3.1.02026-08-0143190206.8 KB
v1

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.

get/v1/files/{file_id}/content

Path parameters

file_idstring required

The file's id to download.

Query parameters

format'original' | 'text'

Format of the downloaded file content.

Format of the downloaded content.

Response

Success -- raw file bytes streamed in chunks.