---
title: "List storage files"
method: GET
path: "/api/v1/storage/files"
tags: ["storage"]
---

# List storage files

`GET /api/v1/storage/files`

Lists files and directories under an advertised storage root. The optional path is always relative to the selected root; rooted paths, `..` traversal segments, and symlink/reparse-point traversal are rejected. Absolute on-device paths are not returned. Omit `root` to use the default `appData` root.

## Query parameters

- `root` string
- `path` string

## Response `200`

Directory listing.

- FileListResponse — unresolved $ref

## Other responses

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

## Changes

- **2026-04-28** `1e3667cb8464` — 1 info
  - endpoint added
- **2026-04-27** `9bde894e7b87` — 1 breaking
  - api path removed without deprecation
- **2026-04-27** `a0d9fe851d57` — 1 info
  - endpoint added
- **2026-04-14** `182d5c8c4462` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/dotnet/apis/devflow-agent-protocol/changes/api/v1/storage/files/get.md)

---

[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)
