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
  • Overview
    • What is an API definition?
    • Project structure
      • Overview
      • Authentication
      • Types
        • Packages
        • Depending on other APIs
        • Export to OpenAPI
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
Fern DefinitionIntegrations

Export from Fern Definition to OpenAPI

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

Depending on other APIs

Fern Definition isn’t recommended for new customers and Fern isn’t accepting feature requests for this format. It remains supported for existing users.

To prevent lock-in to the Fern Definition format, you can export your API definition to OpenAPI 3.1 at any time using the fern export command.

If you have multiple APIs defined in your fern/apis/ folder, use --api to specify which API to export.

terminal
$fern export path/to/openapi.yml
$fern export path/to/openapi.json
$
$# Specify API to export
$fern export --api public-api path/to/openapi.yml