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-sdk_syncassistantsSyncAssistantsClientget_subgraphs
    Method●Since v0.3

    get_subgraphs

    Copy
    get_subgraphs(
      self,
      assistant_id: str,
      namespace: str | None = None,
      recurse: 
    View source on GitHub
    bool
    =
    False
    ,
    *
    ,
    headers
    :
    Mapping
    [
    str
    ,
    str
    ]
    |
    None
    =
    None
    ,
    params
    :
    QueryParamTypes
    |
    None
    =
    None
    )
    ->
    Subgraphs

    Parameters

    NameTypeDescription
    assistant_id*str

    The ID of the assistant to get the schema of.

    headersMapping[str, str] | None
    Default:None

    Optional custom headers to include with the request.

    paramsQueryParamTypes | None
    Default:None

    Get the schemas of an assistant by ID.

    Optional query parameters to include with the request.