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 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 CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    PythonlanggraphtypesTaskPayload
    Class●Since v1.1

    TaskPayload

    Payload for a task start event.

    Copy
    TaskPayload()

    Bases

    TypedDict

    Constructors

    constructor
    __init__
    NameType
    idstr
    namestr
    inputAny
    triggerslist[str]

    Attributes

    attribute
    id: str

    Unique identifier for this task.

    attribute
    name: str

    Name of the node being executed.

    attribute
    input: Any

    Input data passed to the task.

    attribute
    triggers: list[str]

    List of triggers that caused this task to be executed (e.g. channel writes).

    View source on GitHub