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-sdkauthtypesThreadsUpdate
    Class●Since v0.1

    ThreadsUpdate

    Copy
    ThreadsUpdate()

    Bases

    typing.TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    thread_idUUID
    metadataMetadataInput
    actiontyping.Literal['interrupt', 'rollback'] | None
    attribute
    thread_id: UUID

    Unique identifier for the thread.

    attribute
    metadata: MetadataInput

    typing.Optional metadata to update.

    attribute
    action: typing.Literal['interrupt', 'rollback'] | None

    typing.Optional action to perform on the thread.

    Parameters for updating a thread or run.

    Called for updates to a thread, thread version, or run cancellation.