Fern · Authentication Profile

Fern Api Authentication

Authentication

Fern secures its APIs with http across 1 declared security scheme, as derived from its OpenAPI definitions.

API LifecycleSDK GenerationClient LibraryAPI DocumentationDeveloper ToolsOpenAPICLIOpen SourceDeveloper Experience
Methods: http Schemes: 1 OAuth flows: API key in:

Security Schemes

bearerAuth http
scheme: bearer

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/fern-api-openapi.yml
summary:
  types:
  - http
schemes:
- name: bearerAuth
  type: http
  scheme: bearer
  description: >-
    Bearer token generated with the `fern token` CLI command and passed as
    `Authorization: Bearer [example key]`. The token is scoped to your Fern
    organization and does not expire. Used for the hosted Ask Fern REST API and
    to authenticate the `fern` CLI in CI/CD. The Ask Fern API is available on the
    Team and Enterprise plans.
  sources:
  - openapi/fern-api-openapi.yml
  - https://buildwithfern.com/learn/cli-api-reference/cli-reference/commands