# List sandbox files

```http
GET /sandboxes/{sandbox_id}/files
```

List sandbox files. Requires project.sandboxes.manage.

## Parameters

| Name         | In    | Required | Description                                                               |
| ------------ | ----- | -------- | ------------------------------------------------------------------------- |
| `sandbox_id` | path  | Yes      | Sandbox UUID, as returned by createSandbox.                               |
| `path`       | query | Yes      | Directory path inside the sandbox.                                        |
| `cursor`     | query |          | Cursor from the previous page\_info.next. Omit it to read the first page. |
| `limit`      | query |          | Maximum entries to return. Defaults to 20 and is capped at 100.           |

## Responses

| Status | Description                  |
| ------ | ---------------------------- |
| 200    | Paginated directory listing. |
| 400    | Bad request                  |
| 402    | Payment required             |
| 403    | Forbidden                    |
| 404    | Not found                    |
| 502    | Bad gateway                  |
| 503    | Service unavailable          |
