---
title: "Read a file from a Box"
method: GET
path: "/boxes/{boxId}/files"
tags: ["Box"]
---

# Read a file from a Box

`GET /boxes/{boxId}/files`

## Path parameters

- `boxId` string, required

## Query parameters

- `path` string, required
- `encoding` 'utf8' | 'base64'

## Response `200`

File contents.

- FileReadResponse
  - `ok` boolean, required
  - `type` 'file.read', required — Stable success envelope discriminator added by v1.
  - `success` boolean, required
  - `path` string, required
  - `encoding` 'utf8' | 'base64', required
  - `size` integer, required
  - `content` string, required

---

[API](https://skmtc.dev/ascii/apis/box-public-api-v1.md) · [All operations](https://skmtc.dev/ascii/apis/box-public-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ascii/box-public-api-v1/revisions/82d576f82046/schema)
