---
title: "Get file"
method: GET
path: "/api/v1/file/{fileId}"
tags: ["Files"]
---

# Get file

`GET /api/v1/file/{fileId}`

Get a persistent file download. Streams the file body through the
backend so self-hosted deployments don't need to expose their internal
S3-compatible storage endpoint to browsers.

## Path parameters

- `fileId` string, required

## Response `204`

No content

## Other responses

- `default` — Error

---

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