---
title: "Read folder contents"
method: GET
path: "/v2/files/readdir"
tags: ["v2"]
---

# Read folder contents

`GET /v2/files/readdir`

Use this API method to get a list of all the files/folders within a folder. It will return the filename, mimetype, content type and file size. It will also return any folders that exist. A page of up to 100 results will be returned - use the 'continuation' field to request additional pages.

## Query parameters

- `dirname` string, required
- `continuation` string

## Response `200`

Successful

---

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