---
title: "Get file"
method: GET
path: "/api/storage/file"
tags: ["storage"]
---

# Get file

`GET /api/storage/file`

Download a file from storage. Admins can access any user's files. Operators can access assigned patients' files. Patients can access operators' files in avatar and curriculum directories.

## Query parameters

- `file_path` string, required — Full path to the file (e.g., users/{user_id}/files/documents/consent.pdf)

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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