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

    get

    Copy
    get(
      self,
      thread_id: str,
      run_id: str,
      *,
      headers: Mapping[str
    View source on GitHub
    ,
    str
    ]
    |
    None
    =
    None
    ,
    params
    :
    QueryParamTypes
    |
    None
    =
    None
    )
    ->
    Run

    Parameters

    NameTypeDescription
    thread_id*str

    The thread ID to get.

    run_id*str

    The run ID to get.

    headersMapping[str, str] | None
    Default:None

    Get a run.

    
    run = client.runs.get(
        thread_id="thread_id_to_delete",
        run_id="run_id_to_delete",
    )

    Optional custom headers to include with the request.