Overview

The Workflows API stores node-based workflow definitions as JSON graphs of nodes and edges, then records executions against them. Each workflow is user-scoped. POST /workflows/:id/execute inserts an execution row with status pending and returns; this route does not run the graph or move the row to running or completed. cancel sets a non-terminal execution to cancelled.

Base URL

For local development:

Authentication

All requests require a valid bearer token in the Authorization header. See Authentication for details.

Workflow object

Execution object

Endpoints

List workflows

Response

Create workflow

Request body

Response

Execute workflow

Response

List executions

Response

Cancel execution

Response

Error codes