llms.txt
Mintlify
Mintlify is a platform for building and hosting documentation websites. It provides a set of tools and services for maintaining documentation and making it accessible to AI agents.
- Documentation (181 pages): Documentation for Documentation.
API reference
API reference
- Mintlify REST API introduction: Use the Mintlify REST API to trigger deployments, embed an AI assistant, export analytics data, and manage documentation programmatically.
Admin
- Trigger deployment: Queue a deployment update for your documentation project. Returns a status ID that can be used to track the update progress. The update is triggered from your configured deployment branch.
- Get deployment status: Get the status of an update from the status ID
- Trigger preview deployment: Create or update a preview deployment for a specific branch. If a preview already exists for the branch, it triggers a redeployment. Returns a status ID to track progress and the preview URL.
- Trigger automation: Trigger a scheduled automation to run immediately, instead of waiting for its next scheduled time. Useful for running automations from CI/CD pipelines, like a GitHub Action that runs on every merge to your default branch. Only scheduled (custom schedule) automations can be triggered. The run picks u…
Agent
- Create agent job: Creates a new agent job that runs in the background. The job processes the prompt asynchronously — poll the get job endpoint to track progress. If the agent edits files successfully, a pull request is automatically created.
- Get agent job: Retrieves the current status and details of an agent job. Poll this endpoint to track job progress.
- Send follow-up message: Sends a follow-up message to an existing agent job. The message is processed asynchronously — poll the get job endpoint to track progress.
Assistant
- Create assistant message: Generates a response message from the assistant for the specified domain. Compatible with AI SDK v5+.
Search
- Search documentation: Perform semantic and keyword searches across your documentation with configurable filtering and pagination.
- 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.
Mintlify Index
- Mintlify Index REST API: Use the Mintlify Index REST API to search documentation and the web, assemble source-cited context, and retrieve page contents for applications and agents.
- Build implementation context: Searches Mintlify Index and returns source-cited content assembled within a token budget. Use this endpoint when an application or agent needs ready-to-use context in one request.
- Search technical knowledge: Returns ranked results from publisher-maintained documentation or the web. Use Mintlify result IDs or any result URL with the contents endpoint when you need more content.
- Get result contents: Retrieves content for Mintlify result IDs or result URLs returned by the search endpoint. A request can include up to 20 items across both fields.
Analytics
- Get feedback: Returns paginated user feedback with optional filtering
- Get feedback by page: Returns feedback counts aggregated by documentation page path (thumbs up/down for contextual feedback, code snippet count, and total per page)
- Get assistant conversations: Returns paginated AI assistant conversation history
- Get assistant conversation thread: Returns the full message transcript for a single assistant conversation thread. The thread ID is available from the assistant conversations endpoint, or as the
threadIdquery parameter appended to assistant link-mode deflection support URLs. - Get assistant caller stats: Returns a breakdown of assistant query counts by caller type (web, API, and other) for the specified date range.
- Get search queries: Returns paginated documentation search terms for the date range, ordered by hit count descending. Each row includes click-through rate, the most-clicked result path for that query (if any), and the last time the term was searched.
totalSearchesis the total number of search query events in the sam… - Get page views: Returns per-path and site-wide content view event counts, split by human and AI traffic.
- Get unique visitors: Returns per-path and site-wide approximate distinct visitors by traffic type. The
totalfield is deduplicated across human and AI (union of distinct visitor IDs with any qualifying content view).
Static export
- Start static export job: Start a static export job for a deployment. The job pre-renders your documentation into a self-contained set of static HTML, RSC, and asset files, then packages the result as a single downloadable archive.
- Get static export job status: Retrieve the current status of a static export job. Poll this endpoint after starting a job until
statusiscompleted(orfailed).
Help center
Help center
- Fix "Failed to fetch OpenAPI file for anchor or tab" error: Fix Mintlify builds that fail to download a hosted OpenAPI document because of private hosts, authenticated URLs, TLS, DNS, or CI race conditions.
- Fix "Domain already claimed by another organization" error: Release a custom domain from another Mintlify deployment or request help when adding it fails because another deployment or organization already holds it.
- Configure OAuth 2.0 authentication with Auth0: Set up Auth0 as the OAuth 2.0 identity provider for a private Mintlify docs site: endpoint URLs, callback registration, and group-based access.
- Private repo missing when creating a second deployment: Re-authorize Mintlify with private-repo access so an existing private GitHub repository shows up in the onboarding repo picker for a new deployment.
- Fix a static file that returns 404 on your docs site: Diagnose why a file you added to your documentation repository (like a JSON, PDF, or image) does not load at its expected URL on your Mintlify site.
- Preview deployment not created for a fork branch: Why fork pull requests and fork branches passed to the preview API do not produce preview deployments, and how maintainers can preview fork changes.
- Branch missing from the web editor branch list: Why a branch that exists in your repository does not appear in the web editor branch dropdown, and how to find it with search.
- Style the icon inside a Card component: Add a background color, rounded corners, or padding to Card component icons using custom CSS and the card-icon data attribute selector.
- Can I rename my deployment or organization?: Change your deployment's name from the dashboard, and learn why subdomains and organization names require deleting and recreating instead of renaming.
- Tailwind classes not applying in the editor's live preview: The web editor's live preview skips the build step that generates CSS for Tailwind classes. Check styling with mint dev or a preview deployment.
- Fix agent runs blocked by a git provider IP allow list: Resolve agent session failures caused by a GitHub or GitLab IP allow list by routing your deployment through the Mintlify static IP.
- Change your workspace icon: Upload, replace, or remove the icon that represents your workspace in the Mintlify dashboard, and learn the supported file formats and size limit.
- Advertise an externally-hosted MCP server: Expose a self-hosted MCP server alongside the built-in search MCP server on your docs domain, since Mintlify's discovery endpoints only list servers it hosts.
Learn
Guides
Overview
- Guides: Browse guides on documentation best practices, content strategy, SEO optimization, accessibility, and docs-as-code workflows for your team.
AI
- Tutorial: Build an in-app documentation assistant: Build and embed an in-app documentation assistant that answers user questions with cited information from your Mintlify documentation site.
- Configure automerge for GitHub Apps: Set up GitHub workflows to automatically merge Mintlify pull requests by adding the Mintlify bot to your repository's ruleset bypass list.
- Use automations: Use Mintlify automations to automate recurring docs maintenance: choose the right trigger, write effective instructions, and get consistent agent results.
- Write documentation with Claude Code: Configure Claude Code with CLAUDE.md project instructions to write, review, and update your Mintlify documentation following your style guide.
- Write documentation with Codex: Configure OpenAI Codex CLI with project instructions and MCP to write Mintlify documentation that follows your style guide and MDX standards.
- Write documentation with Cursor: Configure Cursor with project rules to write Mintlify documentation that follows your style guide, component usage, and MDX conventions.
- Write documentation with Devin Desktop: Configure Devin Desktop's Cascade AI with workspace rules to write Mintlify documentation that follows your style guide and MDX standards.
- GEO guide: Optimize docs for AI search and answer engines: Optimize your documentation for AI-powered answer engines like ChatGPT, Perplexity, and Google AI Overviews with Generative Engine Optimization techniques.
API docs
- Migrating MDX API pages to OpenAPI navigation: Migrate your manually written MDX API pages to automated OpenAPI-generated documentation with flexible navigation and endpoint grouping.
Best practices
- How to create accessible documentation: Create accessible documentation following WCAG guidelines with semantic HTML, keyboard navigation, alt text, and inclusive content practices.
- Changelogs: Create product changelogs with date-based entries, RSS feed support, and subscriber notifications to keep users informed about updates.
- Documentation content types: Choose the right documentation type for each page using the Diátaxis framework: tutorials, how-to guides, reference, and explanation.
- Documentation content templates: Copy and modify ready-to-use MDX templates for how-to guides, tutorials, concept explanations, and API reference pages in your documentation.
- Build custom page layouts: Use page modes and components to build custom landing pages, marketing pages, and other non-standard layouts in your Mintlify documentation.
- How to measure and improve documentation quality: Use analytics, user feedback, and content audits to identify documentation gaps and improve the pages that matter most to your users.
- How to set up multi-language documentation: Set up multi-language documentation with locale-based routing, language switcher navigation, and translated content to reach global audiences.
- How to link documentation pages effectively: Create internal links, anchor links, and deep links in your documentation, and maintain link integrity with redirects and broken link checks.
- How to maintain documentation over time: Keep documentation accurate and up-to-date with review schedules, ownership models, automated checks, and content lifecycle practices.
- How to use images, screenshots, and videos in documentation: Learn when and how to use screenshots, GIFs, and videos in documentation with guidance on format selection, alt text, and long-term maintenance.
- How to structure documentation navigation: Design documentation navigation that helps users find what they need with clear information architecture, logical grouping, and validated structure.
- How to improve documentation SEO: Improve your documentation's search engine rankings with page titles, keyword research, internal linking, and technical SEO techniques.
- How to write technical documentation: Write clear, consistent technical documentation with practical guidance on voice, structure, terminology, and tone for developer and product docs.
- How to understand your documentation audience: Define your documentation audience, research their goals and knowledge level, and apply those insights to write content that helps them succeed.
Git
- Git concepts for documentation: Learn Git version control fundamentals for docs-as-code workflows, including repositories, branches, commits, and pull request collaboration.
- Work with branches: Create and manage documentation branches to preview changes, collaborate with teammates, and merge updates before publishing to production.
Use cases
- Create developer documentation: Build developer documentation that helps engineers integrate with your APIs, SDKs, and tools, including quickstarts, references, and guides.
- Create a knowledge base: Host your internal knowledge base on Mintlify to consolidate information for your team, improve search, and reduce maintenance burden.
- Create a help center: Build a self-service help center on Mintlify that helps customers find answers, reduces support ticket volume, and scales with your team.
- Headless docs with a custom frontend: Build a headless documentation frontend with Astro while using Mintlify for content management, AI-powered search, and assistant features.
- Static export: Generate a self-contained static export of your documentation and download it as a single bundle through the Mintlify REST API for self-hosting.
OpenAPI Specs
- openapi
- openapi
- openapi
- openapi
- admin-openapi
- admin-openapi
- admin-openapi
- admin-openapi
- discovery-openapi
- discovery-openapi
- discovery-openapi
- discovery-openapi
- index-openapi
- index-openapi
- index-openapi
- index-openapi
- analytics.openapi
- analytics.openapi
- analytics.openapi
- analytics.openapi
- static-export-openapi
- static-export-openapi
- static-export-openapi
- static-export-openapi
AsyncAPI Specs
Optional
- Learn: Self-paced lessons to get the most from Mintlify.
The links below point to documentation indexes. Follow each
/_llms/index recursively until you reach documentation pages.
Indexes
- English / Documentation (181 pages): Documentation for English / Documentation.
- French (250 pages): Documentation for French.
- French / Documentation (181 pages): Documentation for French / Documentation.
- Spanish (250 pages): Documentation for Spanish.
- Spanish / Documentación (181 pages): Documentation for Spanish / Documentación.
- Chinese (250 pages): Documentation for Chinese.
- Chinese / 文档 (181 pages): Documentation for Chinese / 文档.