Add get page content endpoint to API reference#5020
Merged
Conversation
Generated-By: mintlify-agent
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
ethanpalm
approved these changes
Mar 31, 2026
Collaborator
ethanpalm
left a comment
There was a problem hiding this comment.
lgtm! Is there a 500 response too? Can add as a follow up if needed.
|
Will add as a followup! there should not be a 500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new Get page content API endpoint (
POST /v1/page/{domain}) that retrieves the full text content of a documentation page by its path.This endpoint complements the existing Search documentation endpoint — after finding pages via search, you can now fetch their complete content programmatically.
Changes
discovery-openapi.json)api/assistant/get-page-content.mdxreference pagedocs.jsonapi/introduction.mdxto list the new endpoint, reference it in the custom integrations use case, and include it in the assistant API key scopeTriggered by
A new discovery endpoint for fetching full page content was added to the Mintlify server.
Note
Low Risk
Low risk: this PR only updates documentation/navigation and the OpenAPI spec, with no runtime code changes. The main risk is incorrect API contract details (path/body/response) or broken docs links if the endpoint spec is wrong.
Overview
Documents a new endpoint
POST /v1/page/{domain}to retrieve full text content for a page (intended to be used afterSearch documentation).Adds a new reference page
api/assistant/get-page-content.mdx, registers the endpoint indiscovery-openapi.json(request includespage; responses includepage+content, with a404error shape), and updatesapi/introduction.mdx+docs.jsonnavigation to list it and include it under the assistant API key scope.Written by Cursor Bugbot for commit f01aebe. This will update automatically on new commits. Configure here.