LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-clischemasSecurityConfigpaths
    Attribute●Since v0.4

    paths

    Copy
    paths: dict[str, dict[str, list[dict[str, list[str]]]]]
    View source on GitHub

    Path-specific security overrides.

    Keys are path templates (e.g., "/items/{item_id}"), mapping to:

    • Keys that are HTTP methods (e.g., "GET", "POST"),
    • Values are lists of security definitions (just like security) for that method.

    Example:

    { "/private_data": { "GET": [{"OAuth2": ["read"]}], "POST": [{"OAuth2": ["write"]}] } }