Skip to content

Workflow

View source on GitHub

See Workflows for a graph and CLI walkthrough.

workflow_ids

workflow_ids(*, project: Project) -> list[str]

List project workflow folders that define a LangGraph workflow.py.

View source on GitHub

start_workflow

start_workflow(
    workflow_id: str,
    arguments: Mapping[str, Any] | None = None,
    *,
    project: Project,
) -> dict[str, Any]

Start a LangGraph workflow and run until it completes or interrupts.

View source on GitHub

resume_workflow

resume_workflow(
    workflow_session_id: str,
    response: Mapping[str, Any],
    *,
    project: Project,
    checkpoint_id: str,
) -> dict[str, Any]

Resume a paused graph with the harness's structured response.

View source on GitHub

workflow_status

workflow_status(
    workflow_session_id: str, *, project: Project
) -> dict[str, Any]

Inspect a checkpointed graph run without advancing it.

View source on GitHub