REST Endpoints

Base URL: http://localhost:8000. Interactive docs at /docs.

Health

MethodPathPurpose
GET/api/healthHealth check

Schema

MethodPathPurpose
GET/api/schema/dslFull WorkflowDSL JSON Schema
GET/api/schema/node/{node_type}Config, default, output, validation per node

Workflows

MethodPathPurpose
GET/api/workflowsList workflows
POST/api/workflowsCreate (409 on duplicate id)
GET PUT DELETE/api/workflows/{id}Read, update, delete
POST/api/workflows/validateValidate a YAML body
POST/api/workflows/{id}/dry-runSSE dry-run with mock outputs

Runs

MethodPathPurpose
POST/api/runsStart a run (streams via WebSocket)
GET/api/runsList runs
GET/api/runs/{id}Get one run
DELETE/api/runs/{id}Cancel

HITL and observe

MethodPathPurpose
GET/api/hitl/pendingPending gates
GET/api/hitl/historyDecision history
POST/api/runs/{id}/{approve|edit|reject|reroute}HITL decision
GET/api/runs/{id}/traceTrace tree
GET/api/runs/{id}/artifactsList artifacts