---
title: "List Page Files"
method: GET
path: "/api/files/page/{page_id}"
tags: ["files"]
---

# List Page Files

`GET /api/files/page/{page_id}`

## 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/page/{page_id}`
- Auth: HTTP bearer

List all files associated with a page.

## Path parameters

- `page_id` string, uuid, required

## Response `200`

Successful Response

- FileListResponse: List of files response.
  - `files` FileResponse[], required
    - `original_filename` string, required
    - `mime_type` string, required
    - `size_bytes` integer, required
    - `width` integer, nullable
    - `height` integer, nullable
    - `id` string, uuid, required
    - `user_id` string, uuid, required
    - `page_id` string, uuid, nullable
    - `block_id` string, uuid, nullable
    - `filename` string, required
    - `s3_key` string, required
    - `created_at` string, date-time, required
    - `url` string, nullable
    - `has_extracted_text` boolean
  - `total` integer, required

## 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)
