---
title: "Get File Content"
method: GET
path: "/api/files/{file_id}/content"
tags: ["files"]
---

# Get File Content

`GET /api/files/{file_id}/content`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/files/{file_id}/content`
- Auth: HTTP bearer

Get raw file content. Accepts token via header or query param for img/iframe tags.

## Path parameters

- `file_id` string, uuid, required

## Query parameters

- `token` string, nullable: JWT token for img/iframe requests

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
