> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yolocode.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Files

> List files in a sandbox directory

Lists files in a sandbox directory.

**Authorization** `string` *required*

Bearer token. `Bearer <github_token>`

**sandboxId** `string` *required*

Sandbox ID.

**path** `string` *required*

Directory path to list.

> [!NOTE]
>
> For Daytona sandboxes, use `/api/daytona/{sandboxId}/files/list`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.