← All primitives

State Machine

planned P1 /v1/workflows

Why it matters: Model processes that wait for humans, webhooks, or timers.

Workflow state-machine primitive for long-running, event-driven processes with pause/resume.

GitHub issue →

API endpoints

MethodPathDescription
POST/v1/workflowsStart a state machine
POST/v1/workflows/:id/eventsSend an external event
GET/v1/workflows/:idGet workflow state