LangChain · Authentication Profile

Langchain Authentication

Authentication

LangChain secures its APIs with apiKey and http across 4 declared security schemes, as derived from its OpenAPI definitions.

AgentsArtificial IntelligenceLarge Language ModelsLLM ObservabilityTracingEvaluation
Methods: apiKey, http Schemes: 4 OAuth flows: API key in: header

Security Schemes

API Key apiKey
· in: header (X-API-Key)
Tenant ID apiKey
· in: header (X-Tenant-Id)
Bearer Auth http
scheme: bearer
Organization ID apiKey
· in: header (X-Organization-Id)

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/langchain-openapi.json
summary:
  types:
  - apiKey
  - http
  api_key_in:
  - header
schemes:
- name: API Key
  type: apiKey
  in: header
  parameter: X-API-Key
  sources:
  - openapi/langchain-openapi.json
- name: Tenant ID
  type: apiKey
  in: header
  parameter: X-Tenant-Id
  sources:
  - openapi/langchain-openapi.json
- name: Bearer Auth
  type: http
  scheme: bearer
  description: Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id
    or x-organization-id (for org scoped apis).
  sources:
  - openapi/langchain-openapi.json
- name: Organization ID
  type: apiKey
  in: header
  parameter: X-Organization-Id
  sources:
  - openapi/langchain-openapi.json