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
On this page
  • Configuration
AI features

AI-generated examples

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Fern Writer

Next

Markdown access

Fern uses AI to automatically generate realistic request and response examples for your API Reference documentation. This feature is enabled by default for all API Reference pages. Instead of placeholder values like username: "string", you get believable data that reflects your endpoint properties and descriptions. Examples update automatically as your spec changes.

AI examples work alongside manual examples defined in x-fern-examples, with manual examples taking priority.

Before
After
API Reference with placeholder string values

Configuration

Customize the style of generated examples:

docs.yml
1ai-examples:
2 style: "Use names and emails that are inspired by plants."

Or disable the feature entirely:

docs.yml
1ai-examples:
2 enabled: false

AI-generated examples are written to ai_examples_override.yml. Edit this file to customize specific examples. To regenerate examples on each build instead, add the file to .gitignore:

.gitignore
**/ai_examples_override.yml

To make AI-generated examples portable to non-Fern OpenAPI tools, use fern api enrich to merge them into native OpenAPI example fields.