---
title: "List files"
method: GET
path: "/sandboxes/{sandboxID}/files/list"
tags: ["sandboxes"]
---

# List files

`GET /sandboxes/{sandboxID}/files/list`

List files in a directory inside a sandbox

## Path parameters

- `sandboxID` string, required

## Query parameters

- `path` string

## Response `200`

OK

- GithubComStacyOsStacyvmInternalOrchestratorFileInfo[]
  - `is_dir` boolean
  - `mod_time` string
  - `mode` string
  - `path` string
  - `size` integer

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

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