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

# Sandbox Files API Overview

> Read, write, delete, and list files through the sandbox proxy.

The sandbox file API is exposed through each sandbox's management hostname, not `https://api.tensorlake.ai`.

```text theme={null}
https://<sandbox-id-or-name>.sandbox.tensorlake.ai
```

Use these endpoints to read files, upload content, delete files, and list directory contents inside a sandbox.

<Note>
  Include `Authorization: Bearer $TENSORLAKE_API_KEY` on requests to the sandbox proxy.
</Note>

<CardGroup cols={2}>
  <Card title="Read File" href="/api-reference/v2/sandbox-files/read">
    Download file contents from a sandbox path.
  </Card>

  <Card title="Write File" href="/api-reference/v2/sandbox-files/write">
    Upload bytes to a sandbox path.
  </Card>

  <Card title="Delete File" href="/api-reference/v2/sandbox-files/delete">
    Remove a file from a sandbox.
  </Card>

  <Card title="List Directory" href="/api-reference/v2/sandbox-files/list">
    List files and directories at a sandbox path.
  </Card>
</CardGroup>
