Fetch page content for search results
Resolves URLs or IDs to Mintlify-hosted documentation pages and returns the stitched page content for each. Each input receives a per-item status so the response can report partial success without failing the whole request.
Authenticate with a universal search API key.
id returned from a previous search, the canonical URL of a Mintlify-hosted page, or a mix of both.
A single request can reference at most 20 items across urls and ids combined. When you provide maxCharacters, each page is truncated to that length while keeping the Markdown valid (open code fences are closed).
Partial success
The response always returns200 when the request body is well-formed. Inspect the statuses array to see which inputs resolved successfully and which failed. results only contains the pages whose status is success.
Error tag values:
not_found: The URL or ID did not match any indexed page.not_synced: The source deployment has not been indexed for universal search.invalid_id: The ID was malformed.fetch_error: The lookup failed unexpectedly. Retry the request or contact support with therequestId.
Authorizations
The Authorization header expects a Bearer token. Use a universal search API key. Generate one on the API keys page in your dashboard.
Body
At least one of urls or ids is required. A single request can reference at most 20 items across both fields combined.
Canonical URLs of Mintlify-hosted pages to fetch. www and non-www variants are both matched.
1 - 20 elementsPage IDs to fetch. Use the id returned by Search across documentation and the web.
1 - 20 elementsMaximum number of characters of page content to return per result. Truncation preserves valid Markdown by closing open code fences.
x >= 1Response
Content lookup completed. Check statuses for per-input outcomes; the response can include partial results.
A unique identifier for this request. Include when contacting support.
Successfully resolved pages, in the same shape as search results. Only inputs whose corresponding entry in statuses reports success appear here.
One entry per input in the request, in the order the inputs were provided. Each entry reports whether the input resolved successfully or, if not, an error tag.
- Option 1
- Option 2