---
title: "Read a file (≤5 MB inline; bigger: POST /sandboxes/{id}/files/download-url)"
method: GET
path: "/sandboxes/{id}/files"
tags: ["sandboxes"]
---

# Read a file (≤5 MB inline; bigger: POST /sandboxes/{id}/files/download-url)

`GET /sandboxes/{id}/files`

## Request

- Base URL: `https://api.eqvps.com/api/v1/eqvps`
- URL: `https://api.eqvps.com/api/v1/eqvps/sandboxes/{id}/files`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Query parameters

- `path` string, required

## Response `200`

File

- FileContent
  - `path` string
  - `size` integer
  - `content_base64` string

## Other responses

- `404`: not_found
- `409`: sandbox_paused / sandbox_not_running / conflict
- `413`: file_too_large

---

[API](https://skmtc.dev/eqvps/apis/eqvps-api.md) · [All operations](https://skmtc.dev/eqvps/apis/eqvps-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eqvps/apis/eqvps-api/revisions/2cbc15a2b088?raw)
