---
title: "Read file from sandbox"
method: POST
path: "/api/sandbox/{project_id}/files/read"
tags: ["Sandbox"]
---

# Read file from sandbox

`POST /api/sandbox/{project_id}/files/read`

## Request

- Base URL: `https://core.blink.new`
- URL: `https://core.blink.new/api/sandbox/{project_id}/files/read`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, required

## Request body

- object
  - `sandbox_id` string, required
  - `path` string, required
  - `offset` number
  - `limit` number

## Response `200`

File content

## Other responses

- `401`: Authentication required or invalid API key

---

[API](https://skmtc.dev/blink/apis/blink-apis.md) - [All operations](https://skmtc.dev/blink/apis/blink-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/blink/apis/blink-apis/revisions/4c59c706078e?raw)
