---
title: "Download a storage file"
method: GET
path: "/api/v1/storage/files/{path}"
tags: ["storage"]
---

# Download a storage file

`GET /api/v1/storage/files/{path}`

Downloads a file under an advertised storage root and returns base64-encoded content. The path parameter is a single URI-encoded relative path; path separators inside it must be percent-encoded. Omit `root` to use the default `appData` root.

## Path parameters

- `path` string, required

## Query parameters

- `root` string

## Response `200`

File content and metadata.

- FileDownloadResponse — unresolved $ref

## Other responses

- `400` — Invalid or unsafe storage path or unavailable storage root.
- `404` — Resource not found.
- `500` — Internal server error.

---

[API](https://skmtc.dev/dotnet/apis/devflow-agent-protocol.md) · [All operations](https://skmtc.dev/dotnet/apis/devflow-agent-protocol/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dotnet/devflow-agent-protocol/revisions/31dec8eed3de/schema)
