Workflows

Register, list, inspect, run, resume, cancel, and delete workflows.

Workflow routes manage the catalog and drive executions. All routes here live at the top-level /workflows prefix, with one helper at /namespaces.

POST /workflows

Register one or more workflows from a Python source file.

GET /workflows

List workflows visible to the caller.

GET /namespaces

List namespaces and a count of workflows the caller can see in each.

GET /workflows/{namespace}/{workflow_name}

Show the latest version of a workflow.

GET /workflows/{namespace}/{workflow_name}/versions

List every version of a workflow.

GET /workflows/{namespace}/{workflow_name}/versions/{version}

Show a specific version of a workflow.

DELETE /workflows/{namespace}/{workflow_name}

Delete a workflow.

POST /workflows/{namespace}/{workflow_name}/run/{mode}

Start a new execution.

POST /workflows/{namespace}/{workflow_name}/resume/{execution_id}/{mode}

Resume a paused execution.

GET /workflows/{namespace}/{workflow_name}/cancel/{execution_id}

Cancel an in-flight execution. This is a GET, not POST or DELETE — intentionally, so cancellation can be triggered from a browser address bar or a one-line curl.

GET /workflows/{namespace}/{workflow_name}/status/{execution_id}

Read the current state of an execution.

GET /workflows/{namespace}/{workflow_name}/executions

List executions for one workflow.

Notes