For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog inStart for free
  • Getting started
    • Overview
    • How it works
    • Quickstart
    • Project structure
    • Customer showcase
    • Changelog
  • Configuration
    • Overview
    • Site-level settings
    • Page-level settings
  • Writing content
    • Markdown basics
    • Rich media in Markdown
    • Fern Editor
    • Reusable snippets
  • AI features
    • Overview
    • Fern Writer
    • AI-generated examples
    • Markdown access
      • Overview
      • Customize LLM output
      • Agent directives
      • Analytics and integration
    • MCP server
    • API catalog discovery
  • Public API
    • GETJWT from Fern API key
    • GETAlgolia search credentials
    • GETCurrent user information
  • Fern Writer API
    • GETGet Fern Writer Install Link
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
Book a demoLog inStart for free

Changelog

April 9, 2026
April 9, 2026
Was this page helpful?
Edit this page
Previous

April 10, 2026

Next

April 2, 2026

Default per-page directive for AI agents

Every page served to AI agents now includes a default directive that tells agents how to navigate your documentation programmatically — pointing them to .md URLs, llms.txt, and llms-full.txt. The directive is automatically generated using your site’s domain and basepath, so no configuration is needed.

Default page directive
For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://docs.example.com/llms.txt. For full documentation content, see https://docs.example.com/llms-full.txt.

You can still override the default with a custom directive or disable it entirely.

Read the docs

Standalone search widget

Embed Ask Fern’s AI-powered search on any React site using the @fern-api/search-widget package. The widget renders a button that opens a search modal connected to your documentation content. It requires React 19; all other dependencies are bundled.

Read the docs