AI-generated examples
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

Configuration
Customize the style of generated examples:
Or disable the feature entirely:
AI-generated examples are written to ai_examples_overrides.yml. Edit this file to customize specific examples. To regenerate examples on each build instead, add the file to .gitignore: