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-sdkauthtypesAssistantsUpdate
    Classā—Since v0.1

    AssistantsUpdate

    Copy
    AssistantsUpdate()

    Bases

    typing.TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    assistant_idUUID
    graph_idstr | None
    configdict[str, typing.Any]
    contextdict[str, typing.Any]
    metadataMetadataInput
    namestr | None
    versionint | None
    attribute
    assistant_id: UUID

    Unique identifier for the assistant.

    attribute
    graph_id: str | None

    typing.Optional graph ID to update.

    attribute
    config: dict[str, typing.Any]

    typing.Optional configuration to update.

    attribute
    context: dict[str, typing.Any]

    The static context of the assistant.

    attribute
    metadata: MetadataInput

    typing.Optional metadata to update.

    attribute
    name: str | None

    typing.Optional name to update.

    attribute
    version: int | None

    typing.Optional version to update.

    Payload for updating an assistant.

    Examples
    update_params = {
        "assistant_id": UUID("123e4567-e89b-12d3-a456-426614174000"),
        "graph_id": "graph123",
        "config": {"tags": ["tag1", "tag2"]},
        "context": {"key": "value"},
        "metadata": {"owner": "user123"},
        "name": "Assistant 1",
        "version": 1
    }