> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # AI features ## Docs - [AI features](https://buildwithfern.com/learn/docs/ai-features/overview.md): Fern AI features help users find answers instantly, automate content updates, and optimize documentation for AI tools with llms.txt support. - [Overview](https://buildwithfern.com/learn/docs/ai-features/ask-fern/overview.md): Ask Fern is an AI search feature that indexes your documentation and helps users find answers instantly. Reduce support burden and accelerate onboarding. - [Ask Fern Slack app](https://buildwithfern.com/learn/docs/ai-features/ask-fern/slack-app.md): Enable your customers to get instant answers to product questions directly in Slack using Ask Fern's AI-powered documentation bot. - [Guidance](https://buildwithfern.com/learn/docs/ai-features/ask-fern/guidance.md): Configure custom guidance to override Ask Fern AI responses for specific queries. Control sensitive content like billing and legal terms. - [Additional content sources](https://buildwithfern.com/learn/docs/ai-features/ask-fern/content-sources.md): Extend Ask Fern's knowledge with content from FAQs, support tickets, blogs, and other sources. - [Introduction](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/overview.md): Welcome to the Fern API Reference. - [Standalone widgets](https://buildwithfern.com/learn/docs/ai-features/search-widget/overview.md): Embed Fern's AI-powered search and Ask AI chat in any React application using the @fern-api/search-widget package. - [Search modal with AI chat](https://buildwithfern.com/learn/docs/ai-features/search-widget/search-modal.md): Embed Fern's search modal, combining keyword search with AI chat, in any React application. - [Ask AI chat panel](https://buildwithfern.com/learn/docs/ai-features/search-widget/ask-ai-chat.md): Embed Fern's Ask AI chat panel in any React application, with a floating launcher, a bottom prompt, an inline button, or a custom trigger. - [MCP server for your site](https://buildwithfern.com/learn/docs/ai-features/mcp-server.md): Give your readers' AI clients an MCP server that answers questions about your product from your documentation site. - [Custom skills for your site](https://buildwithfern.com/learn/docs/ai-features/host-skills.md): Serve author-supplied agent skills from your Fern docs site and configure the Install skills button. - [API catalog discovery](https://buildwithfern.com/learn/docs/ai-features/api-catalog.md): Fern docs sites expose a standards-based API catalog endpoint so AI agents, MCP clients, and API catalog crawlers can discover your APIs automatically. - [Fern Agent](https://buildwithfern.com/learn/docs/ai-features/fern-agent.md): Fern's AI agent for your documentation. An expert in Fern configuration that edits pages, opens pull requests, and acts on your organization's analytics and reader data, from the Fern Dashboard, Slack, or your coding agent over MCP. - [Fern's MCP server](https://buildwithfern.com/learn/docs/ai-features/fern-mcp-servers.md): Connect your coding agent to a private MCP server with your organization's Fern data and full context on Fern's documentation and configuration. - [Skills for using Fern Docs](https://buildwithfern.com/learn/docs/ai-features/agent-skills.md): Install the fern-docs agent skill to teach coding agents how to author and edit Fern Docs sites. - [AI-generated examples](https://buildwithfern.com/learn/docs/ai-features/ai-examples.md): Automatically create realistic API examples with Fern's AI feature. Customize example styles or disable AI generation as needed. - [Markdown access](https://buildwithfern.com/learn/docs/ai-features/markdown.md): Access your documentation as Markdown — through per-page URLs and `llms.txt` — for AI agents and tooling. - [`llms.txt`](https://buildwithfern.com/learn/docs/ai-features/llms-txt.md): Fern automatically generates an llms.txt Markdown file so AI tools can discover and index your documentation. - [Customize LLM output](https://buildwithfern.com/learn/docs/ai-features/customize-llm-output.md): Exclude pages with noindex, filter content with llms-only and llms-ignore tags, filter endpoint output with query parameters, or serve your own custom files. - [Agent directives](https://buildwithfern.com/learn/docs/ai-features/agent-directives.md): Configure the default directive prepended to every page served to AI agents, or override it with a custom directive. - [Analytics and integration](https://buildwithfern.com/learn/docs/ai-features/llms-txt-analytics.md): Track LLM traffic to your docs in the Fern Dashboard and surface llms.txt endpoints to readers with buttons and navbar links. ## API Docs - API reference > Slack Scribe [Get Fern Writer Install Link](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/slack-scribe/get-fern-writer-install-link.md) - API reference > Chat [Post Chat Completion](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/chat/post-chat-completion.md) - API reference > Code [Create Code Record](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/code/create-code-record.md) - API reference > Code [Batch Create Code Records](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/code/batch-create-code-records.md) - API reference > Code [Get Code Record By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/code/get-code-record-by-id.md) - API reference > Code [Get Code Records](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/code/get-code-records.md) - API reference > Code [Delete Code Record By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/code/delete-code-record-by-id.md) - API reference > Code [Delete All Code Records](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/code/delete-all-code-records.md) - API reference > Conversation [Get Conversation By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/conversation/get-conversation-by-id.md) - API reference > Document [Create Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/create-document.md) - API reference > Document [Batch Create Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/batch-create-document.md) - API reference > Document [Get Document By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/get-document-by-id.md) - API reference > Document [Delete Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-document.md) - API reference > Document [Update Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/update-document.md) - API reference > Document [Delete Document By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-document-by-id.md) - API reference > Document [Batch Delete Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/batch-delete-document.md) - API reference > Document [Get Documents](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/get-documents.md) - API reference > Document [Delete Documents](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-documents.md) - API reference > Document [Delete All Documents](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-all-documents.md) - API reference > Guidance [Create Guidance](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/guidance/create-guidance.md) - API reference > Guidance [Get Guidance By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/guidance/get-guidance-by-id.md) - API reference > Guidance [Delete Guidance By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/guidance/delete-guidance-by-id.md) - API reference > Guidance [Update](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/guidance/update.md) - API reference > Guidance [Get Guidances](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/guidance/get-guidances.md) - API reference > Query [Get Recent Queries](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/query/get-recent-queries.md) - API reference > Slack Ask Fern [Get Slack Install Link](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/slack-ask-fern/get-slack-install-link.md) - API reference > Website [Index Website](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/index-website.md) - API reference > Website [Get Website Status](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/get-website-status.md) - API reference > Website [Get Website By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/get-website-by-id.md) - API reference > Website [Get Websites](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/get-websites.md) - API reference > Website [Reindex Website](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/reindex-website.md) - API reference > Website [Delete Website](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/delete-website.md) - API reference > Website [Delete All Websites](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/delete-all-websites.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://buildwithfern.com/learn/docs/ai-features/openapi.json) - [OpenAPI YAML](https://buildwithfern.com/learn/docs/ai-features/openapi.yaml)