---
title: "Download file"
method: GET
path: "/v1/files/{file_id}/download"
tags: ["File API"]
---

# Download file

`GET /v1/files/{file_id}/download`

Download the binary content of a file. The response will contain the file data in the appropriate MIME type.

## Path parameters

- `file_id` string, required

## Response `200`

File download successful

## Changes

- **2024-08-14** `29d74057f627` — 1 breaking, 1 info
  - removed the media type `File contents` for the response with the status `200`
  - added the media type `application/octet-stream` for the response with the status `200`
- **2024-08-14** `b0de8fe3df00` — 1 breaking, 1 info
  - removed the media type `application/octet-stream` for the response with the status `200`
  - added the media type `File contents` for the response with the status `200`
- **2024-08-08** `4a89aa730a0c` — 1 breaking, 1 info
  - removed the media type `File contents` for the response with the status `200`
  - added the media type `application/octet-stream` for the response with the status `200`

[Change history](https://skmtc.dev/writer/apis/api/changes/v1/files/:file_id/download/get.md)

---

[API](https://skmtc.dev/writer/apis/api.md) · [All operations](https://skmtc.dev/writer/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/writer/api/revisions/ae230e1d8c09/schema)
