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

# GET /files/{id}

`GET /files/{id}`

Returns a media file.

## Path parameters

- `id` string, required

## Response `200`

Ok

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — File not found
- `500` — Unknown server error

## Changes

> 16 revisions in range; 1 could not be searched.

- **2023-12-30** `1829341b6f70` — 1 breaking
  - added the pattern `^\d+$` to the `path` request parameter `id`
- **2021-12-17** `442811c13fe1` — 1 info
  - removed the pattern `^\d+$` from the `path` request parameter `id`

[Change history](https://skmtc.dev/joystream/apis/storage-node-api/changes/files/:id/get.md)

---

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