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
      • Overlays
      • Overrides
      • Authentication
      • Servers
      • Sync your specification
        • Overview
        • API version
        • Audiences
        • Availability
        • Base path
        • Default values
        • Enum descriptions, names, and availability
        • Request + response examples
        • API Explorer control
        • Global headers
        • Ignoring elements
        • SDK method names
        • SDK variables
        • Tag display names
        • Parameter names
        • Property names
        • Idempotency
        • Pagination
        • Retry behavior
        • Schema names
        • Server names and URL templating
      • generators.yml reference
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
  • Endpoint
  • API Reference output
  • SDK output
  • Section
OpenAPIExtensions

Availability

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

Use audiences to filter your API

Next

Base path

The x-fern-availability extension marks the availability of an endpoint within your OpenAPI definition. The availability information propagates into the generated Fern Docs website as visual tags, SDKs, and CLIs.

Endpoint

Set x-fern-availability on an endpoint to one of the following values:

ValueDescriptionTag
alphaEarly experimental stageAlpha
betaStable enough for early adoptersBeta
previewFeature-complete but subject to changePreview
generally-availableStable and ready for productionGA
deprecatedNo longer recommended for new useDeprecated
legacySuperseded but still supportedLegacy

The example below marks that the POST /pet endpoint is deprecated.

x-fern-availability in openapi.yml
1paths:
2 /pet:
3 post:
4 x-fern-availability: deprecated

API Reference output

The endpoint renders with the corresponding tag in your API Reference docs.

Screenshot of API Reference endpoint with tag showing deprecated

A deprecated endpoint

SDK output

Availability values propagate into generated SDKs as doc comments on client methods (JSDoc in TypeScript, docstrings in Python, Javadoc in Java, etc.). IDEs surface these as warnings and strikethrough styling so SDK users see at a glance which endpoints to avoid.

Generated TypeScript SDK
1export class PetClient {
2 /** @deprecated */
3 public addPet( ... ): Promise<Pet> { ... }
4
5 /** @beta This endpoint is in pre-release and may change. */
6 public getPetById( ... ): Promise<Pet> { ... }
7}

Deprecated method with strikethrough and @deprecated tag in VS Code

Deprecated method with strikethrough in the Square TypeScript SDK

To attach a custom message, write x-fern-availability as an object with status and message fields:

openapi.yml
1paths:
2 /pet:
3 put:
4 x-fern-availability:
5 status: deprecated
6 message: Use PATCH /pet instead.

Section

You can set the availability for the entire API reference or for specific sections in your docs.yml configuration. Options are: stable, generally-available, in-development, pre-release, deprecated, alpha, beta, preview, or legacy.

When you set the availability of a section, all of the endpoints in that section are automatically marked with that availability unless explicitly set otherwise.

docs.yml
1navigation:
2 - api: API Reference
3 availability: generally-available
4 layout:
5 - section: My Section
6 availability: beta
7 icon: flower
8 contents:
9 # endpoints here