---
title: "Read directory contents"
method: GET
path: "/v2/files/dir/{path}"
tags: ["Files"]
---

# Read directory contents

`GET /v2/files/dir/{path}`

## Path parameters

- `path` string, required

## Response `200`

Returns the list of files in the directory

- string[]

## Other responses

- `500` — Failed to list directory contents

---

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