---
title: "Download a file."
method: GET
path: "/v1/Files/{id}/download"
tags: ["Files"]
---

# Download a file.

`GET /v1/Files/{id}/download`

Download a file stored in Rev.io.

## Path parameters

- `id` integer, required

## Response `200`

OK

- RevAppModelsDownloadStreamModel
  - `stream` SystemIOStream
    - `CanRead` boolean
    - `CanSeek` boolean
    - `CanTimeout` boolean
    - `CanWrite` boolean
    - `Length` integer
    - `Position` integer
    - `ReadTimeout` integer
    - `WriteTimeout` integer
  - `file_name` string — Name of the file, including extension.
  - `length` integer — Data length of the file, in Bytes.
  - `file_id` integer — The primary key indicating the file that has been downloaded.
  - `links` RevAppComponentsLink[]
    - `rel` string
    - `href` string

## Other responses

- `404` — NotFound
- `500` — InternalServerError

---

[API](https://skmtc.net/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.net/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/revisions/135571434f6c/schema)
