> ## Documentation Index
> Fetch the complete documentation index at: https://opensandbox-oc-s-762ac928075c46d2828bcb22.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Directory

List contents of a directory.

<ParamField path="id" type="string" required>
  Sandbox ID
</ParamField>

<ParamField query="path" type="string">
  Directory path (default: `/`)
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    { "name": "app", "isDir": true, "size": 4096, "path": "/app" },
    { "name": "README.md", "isDir": false, "size": 1234, "path": "/README.md" }
  ]
  ```
</ResponseExample>
