> ## 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.

# Read File

> Read file contents from a sandbox

Reads file contents from a sandbox.

**Authorization** `string` *required*

Bearer token. `Bearer <github_token>`

**sandboxId** `string` *required*

Sandbox ID.

**path** `string` *required*

File path to read.

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


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