Markdown provides structured text that AI tools can process more efficiently than HTML, which results in better response accuracy, faster processing times, and lower token usage. Mintlify automatically generates Markdown versions of pages optimized for AI tools and external integrations.Documentation Index
Fetch the complete documentation index at: https://mintlify-mintlify-44bd797b.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
.md URL extension
Add.md to any page’s URL to view a Markdown version.
Accept header
Send a request withAccept: text/markdown or Accept: text/plain to any page URL to receive the Markdown version instead of HTML. This is useful for AI tools and integrations that programmatically fetch documentation content.
Automatic detection for AI agents
Mintlify automatically returns the Markdown version of a page when the request comes from a known AI agent, even if the agent does not send anAccept: text/markdown header. This ensures agents receive the most efficient content format without any extra configuration.
Detection is based on the User-Agent header. The following agents are currently recognized:
Claude-User(Anthropic Claude Code and browsing)ChatGPT-User(OpenAI ChatGPT browsing)OAI-SearchBot(OpenAI search)PerplexityBotandPerplexity-User(Perplexity AI)Google-Agent(Google Project Mariner)MistralAI-User(Mistral Le Chat)DuckAssistBot(DuckDuckGo AI Answers)cohere-ai(Cohere AI assistant)
Audience-specific content
Use the visibility component to customize content for each human and AI audiences. Content wrapped in<Visibility for="humans"> appears on the web page, but not in Markdown output. Content wrapped in <Visibility for="agents"> appears in Markdown output, but not on the web page.
API reference pages
By default, Markdown exports of API reference pages include the full OpenAPI or AsyncAPI specification so AI tools have complete context about each endpoint. If you prefer to omit the spec from Markdown output, setmarkdown.schema to false in your docs.json:
Agent feedback
If you enable agent feedback, Mintlify appends an<AgentInstructions> block to each page’s Markdown export that tells agents how to submit feedback about the page’s content.
Agents submit feedback by posting to the endpoint with the page path and feedback text.
Use agent feedback to improve your pages for agents based on what they find incorrect, outdated, or confusing.