Get page content
Retrieve 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.
Rate limits
Section titled “Rate limits”- 10,000 requests per Mintlify organization per hour
OpenAPI
Section titled “OpenAPI”openapi: 3.0.1
info:
title: Mintlify Assistant API
description: An API to integrate Mintlify discovery features into your product.
version: 1.0.0
servers:
- url: https://api.mintlify.com/discovery
security:
- bearerAuth: []
paths:
/v1/page/{domain}:
post:
summary: Get page content
description: >-
Retrieve 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.
parameters:
- name: domain
in: path
required: true
schema:
type: string
description: >-
The domain identifier from your `domain.mintlify.site` URL. Can be
found at the end of your dashboard URL. For example,
`app.mintlify.com/organization/domain` has a domain identifier of
`domain`.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- path
properties:
path:
type: string
description: >-
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:
type: array
items:
type: string
description: >-
Optional documentation groups the caller is authorized to
access. When the deployment uses `auth` or `userAuth`, page
content is returned only if the specified groups can view
the page. If omitted or empty on a protected deployment,
only public pages are returned.
responses:
'200':
description: Page content retrieved successfully
content:
application/json:
schema:
type: object
properties:
path:
type: string
description: The page path that was requested.
content:
type: string
description: The full text content of the page.
'404':
description: Page not found or no search index available
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error message describing why the page could not be found.
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: >-
The Authorization header expects a Bearer token. Use an assistant API
key. Generate one on the [API keys
page](https://app.mintlify.com/settings/organization/api-keys) in your
dashboard. In production, proxy requests through your backend rather
than embedding the key in client-side code.