---
title: "Read Pdf Text"
method: GET
path: "/files/pdf-text"
tags: ["runtime_mutations", "files"]
---

# Read Pdf Text

`GET /files/pdf-text`

Extracted text of a workspace PDF, page by page.

This is what the PDF text view renders, and it is deliberately the *same*
``pypdf`` extraction that knowledge evidence is verified against — a reader
who selects a line here is selecting text the backend can find again. A
viewer's own text layer would extract different characters and every
capture from it would fail verification.

Pages come back whole, up to a character budget; ``next_page`` names where
to resume so a long document loads in bounded chunks.

## Query parameters

- `path` string, required
- `start_page` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-08-21** `e99c1b6139c8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/files/pdf-text/get.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/397ad3a1d858?raw)
