LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • 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

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkschemaTaskResultPayload
    Class●Since v0.3

    TaskResultPayload

    Payload for a task result event.

    Copy
    TaskResultPayload()

    Bases

    TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    idstr
    namestr
    errorstr | None
    interruptslist[dict[str, Any]]
    resultdict[str, Any]
    attribute
    id: str

    Unique identifier for this task.

    attribute
    name: str

    Name of the node that was executed.

    attribute
    error: str | None

    Error message if the task failed, otherwise None.

    attribute
    interrupts: list[dict[str, Any]]

    List of interrupts that occurred during task execution.

    attribute
    result: dict[str, Any]

    Mapping of channel names to the values written by this task.