---
title: "The full text of one page"
method: GET
path: "/pages/doc"
---

# The full text of one page

`GET /pages/doc`

## Request

- Base URL: `https://greenlitbooks.com/api/v1`
- URL: `https://greenlitbooks.com/api/v1/pages/doc`
- Auth: none required

The page behind a /pages result as markdown, with its canonical URL and dates.

## Query parameters

- `id` string, required

## Response `200`

One page

- object
  - `meta` Meta: Envelope on every response.
    - `version` 'v1'
    - `generatedAt` string, date-time: When this snapshot was produced. Static endpoints stamp it at deploy; search stamps it per request.
    - `source` string, uri
    - `docs` string, uri
    - `openapi` string, uri
  - `id` string
  - `title` string
  - `text` string: The page as markdown.
  - `url` string, uri
  - `metadata` object

## Other responses

- `400`: Missing id
- `404`: No page with that id

---

[API](https://skmtc.dev/greenlitbooks/apis/greenlit-books-api.md) · [All operations](https://skmtc.dev/greenlitbooks/apis/greenlit-books-api/llms.txt) · [OpenAPI document](https://skmtc.dev/greenlitbooks/apis/greenlit-books-api/revisions/7c8b9f94ca1e?raw)
