---
title: "Get page content"
method: POST
path: "/v1/page/{domain}"
language: "en"
---

# Get page content

`POST /v1/page/{domain}`

## Request

- Base URL: `https://api.mintlify.com/discovery`
- URL: `https://api.mintlify.com/discovery/v1/page/{domain}`
- Auth: HTTP bearer

Retrieves the full text content of a specific documentation page by its path. Use this after a search to fetch the complete content of a matching page.

Authenticate with an assistant API key. Page content requests do not consume credits.

## Path parameters

- `domain` string, required

## Request body

- object
  - `path` string, required: The page slug or path to retrieve content for. This corresponds to the `path` field returned by the [Search documentation](/api/assistant/search) endpoint.
  - `groups` string[]: Optional groups of the user you're reading for. If you omit `groups`, you can read public pages only, with their public sections. On deployments where every page requires authentication, omitting `groups` works like an empty array. An empty array means a signed-in user with no groups: you can also read pages open to any signed-in user. When you pass groups, you can also read pages restricted to at least one of them. `<Visibility>` sections the user can't see are removed from the page. Mintlify doesn't verify group membership, so your backend must choose the groups for each user. On password-protected deployments that have public pages, pass an empty array to read pages that aren't marked public.

## Response `200`

Page content retrieved successfully

- object
  - `path` string: The page path that was requested.
  - `content` string: The full text content of the page.

## Other responses

- `400`: The `path` is missing or empty, or `groups` isn't an array of strings. The response body describes the error.
- `401`: The API key is missing or invalid.
- `403`: Your API key doesn't have access to this domain, your plan doesn't include assistant API access, or your request came from an IP address that isn't on your API key's allowlist.
- `404`: No documentation site exists for this domain, the site doesn't have a search index, or no page exists at this path.
- `429`: You exceeded the rate limit of 10,000 requests per hour per organization.
- `500`: An unexpected server error occurred. Retry the request. If the error continues, contact support.

## Changes

- **2026-10-30** `5437addb311d`: 5 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`
  - …1 more
- **2026-07-23** `1635b19d3579`: 1 info
  - added the new optional request property `groups`
- **2026-04-01** `3be166e8bcf5`: 1 breaking, 2 warning, 1 info
  - added the new required request property `path`
  - removed the request property `page`
  - removed the optional property `page` from the response with the `200` status
  - added the optional property `path` to the response with the `200` status
- **2026-04-01** `183b2a7ebba4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mintlify/apis/mintlify-assistant-api/changes/v1/page/:domain/post.md)

---

[API](https://skmtc.dev/mintlify/apis/mintlify-assistant-api.md) - [All operations](https://skmtc.dev/mintlify/apis/mintlify-assistant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mintlify/apis/mintlify-assistant-api/revisions/8b13d509ec50?raw)
