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
      • Overview
        • SDK snippets
        • HTTP snippets
        • API Explorer
  • 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
  • Autopopulate with examples
  • Authentication
  • Multiple environments
  • WebSocket Playground
  • Control API Explorer availability
API ReferencesCode exploration

API Explorer

Reduce "time to 200" by allowing users to make real calls to your API from right within the API Reference.
||View as Markdown|
Was this page helpful?
Edit this page
Previous

Display HTTP snippets

Next

Overview of SEO & GEO

Fern’s API Explorer allows users to make authenticated requests to your API without ever leaving your documentation.

Autopopulate with examples

Fern will automatically populate the fields of the endpoint with the values set in your API specification.

Authentication

The API Explorer supports all authentication schemes configured in your OpenAPI spec or in generators.yml, including multiple authentication schemes. When multiple schemes are available, the API Explorer automatically displays them in a dropdown menu, allowing users to select and configure their preferred authentication method before sending requests.

Once a user sets their authentication credentials, their credentials persist throughout their entire exploration session.

Authentication credentials are only stored client-side using cookies. No sensitive user information is collected or stored.

To automatically populate API keys for logged-in users, see API key injection.

Multiple environments

When multiple server URLs are configured in OpenAPI, users can switch between environments (e.g., production and sandbox) from a dropdown in the API Explorer. The selected environment persists as they navigate between pages.

Users can also double-click the server URL to manually edit it, allowing for quick testing against custom environments or endpoints.

Here’s an example of the Flagright docs site with multiple server names configured.

1openapi: 3.0.0
2servers:
3 - url: https://sandbox.api.flagright.com
4 x-fern-server-name: Sandbox API server (eu-1)
5 - url: https://sandbox-asia-1.api.flagright.com
6 x-fern-server-name: Sandbox API server (asia-1)

WebSocket Playground

For APIs that support WebSocket connections, the API Explorer includes a WebSocket-specific Playground. The WebSocket Playground also allows users to establish a connection with the API, and send/receive messages in real-time.

Control API Explorer availability

For OpenAPI specs, the API Explorer is enabled by default for all endpoints. You can disable it globally or per endpoint using the x-fern-explorer extension. This is commonly used to disable the Explorer for destructive operations, payment processing, or admin-only endpoints.