---
title: "Get document pages by document ID"
method: GET
path: "/v1/documents/{document_id}/pages"
tags: ["documents"]
---

# Get document pages by document ID

`GET /v1/documents/{document_id}/pages`

## Request

- Base URL: `https://mcp.techmanual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.techmanual.ai/v1/documents/{document_id}/pages`
- Auth: none declared

Retrieve page(s) from a document by document ID and page number. Returns a single page by default. Supports ranges up to 10 pages (e.g. ?page=5-10). Defaults to page 1 if no page param is provided.

## Path parameters

- `document_id` integer, required

## Query parameters

- `page` string

## Headers

- `authorization` string

## Response `200`

Successful Response

- DocumentPageOut: Response schema for page retrieval by document ID.
  - `document_id` integer, required
  - `page_count` integer, required
  - `pages` PageOut[], required
    - `page_number` integer, required
    - `printed_page_number` integer, nullable
    - `content` string, required
    - `document_id` integer, required
    - `enriched_text` string, nullable
    - `vision_enrichment` VisionEnrichmentSummary: Summary of the vision enrichment result for a page.
      - `element_type` string, nullable
      - `confidence` number, nullable
      - `completed_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/techmanual/apis/techmanual-ai-api.md) · [All operations](https://skmtc.dev/techmanual/apis/techmanual-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/techmanual/apis/techmanual-ai-api/revisions/97e0fde41040?raw)
