LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Graphs
    • Functional API
    • Pregel
    • Checkpointing
    • Storage
    • Caching
    • Types
    • Runtime
    • Config
    • Errors
    • Constants
    • Channels
    • Agents
    LangGraph Checkpoint
    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

    OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    PythonlanggraphruntimeExecutionInfo
    Class●Since v1.1

    ExecutionInfo

    Read-only execution info/metadata for the execution of current thread/run/node.

    Copy
    ExecutionInfo(
      self,
      checkpoint_id: str,
      checkpoint_ns: str,
      task_id: str,
      thread_id: str

    Constructors

    Attributes

    Methods

    View source on GitHub
    |
    None
    =
    None
    ,
    run_id
    :
    str
    |
    None
    =
    None
    ,
    node_attempt
    :
    int
    =
    1
    ,
    node_first_attempt_time
    :
    float
    |
    None
    =
    None
    )
    constructor
    __init__
    NameType
    checkpoint_idstr
    checkpoint_nsstr
    task_idstr
    thread_idstr | None
    run_idstr | None
    node_attemptint
    node_first_attempt_timefloat | None
    attribute
    checkpoint_id: str

    The checkpoint ID for the current execution.

    attribute
    checkpoint_ns: str

    The checkpoint namespace for the current execution.

    attribute
    task_id: str

    The task ID for the current execution.

    attribute
    thread_id: str | None

    The thread ID for the current execution.

    None when running without a checkpointer (i.e., no persistence).

    attribute
    run_id: str | None

    The run ID for the current execution.

    None when run_id is not provided in the RunnableConfig.

    attribute
    node_attempt: int

    Current node execution attempt number (1-indexed).

    attribute
    node_first_attempt_time: float | None

    Unix timestamp (seconds) for when the first attempt started.

    method
    patch

    Return a new execution info object with selected fields replaced.