Skip to content
masterclass Buddy

LangSmith · Class

ApiKeyAuth

Customize the OpenAPI security schema for a LangSmith API. The settings document authentication but do not implement it.

Last updated

Syntax

{"auth":{"path":"./auth.py:my_auth","openapi":{"securitySchemes":{},"security":[]}}}

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • langgraph.json
  • auth configuration
  • securitySchemes
  • security
  • OAuth2
  • apiKey
  • /docs

Source: Document API authentication in OpenAPI - Docs by LangChain. Checked 2026-11-03.