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

    Run

    Represents a single execution run.

    Copy
    Run()

    Bases

    TypedDict

    Used in Docs

    • How to define a code evaluator
    • How to evaluate a graph
    • How to evaluate an application's intermediate steps
    • How to fetch performance metrics for an experiment

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    run_idstr
    thread_idstr
    assistant_idstr
    created_atdatetime
    updated_atdatetime
    statusRunStatus
    metadataJson
    multitask_strategyMultitaskStrategy
    attribute
    run_id: str

    The ID of the run.

    attribute
    thread_id: str

    The ID of the thread.

    attribute
    assistant_id: str

    The assistant that was used for this run.

    attribute
    created_at: datetime

    The time the run was created.

    attribute
    updated_at: datetime

    The last time the run was updated.

    attribute
    status: RunStatus

    The status of the run. One of 'pending', 'running', "error", 'success', "timeout", "interrupted".

    attribute
    metadata: Json

    The run metadata.

    attribute
    multitask_strategy: MultitaskStrategy

    Strategy to handle concurrent runs on the same thread.