---
title: "Download file"
method: GET
path: "/files/{id}"
tags: ["files"]
---

# Download file

`GET /files/{id}`

Can use Chunked transfer encoding if the HTTP header RANGE is set.
This function will be reused to actually download the metadata of
the file, please use /files/{id}/blob to get the actual bytes.

## Response `200`

The requested data in binary form

## Other responses

- `400` — The server could not process your request, this happens for example when the id specified is not of the correct form. See the message field for more information.
- `401` — The request has not been applied because it lacks valid authentication credentials for the target resource.
- `404` — The requested resource was not found

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/versions/bcd187478e0d/schema)
