Workflows are DAG-based automation pipelines that execute a fixed sequence of blocks (LLM calls, code execution, conditions, agent runs). Unlike agents that decide what to do dynamically, workflows follow a predetermined graph. They can be executed directly, streamed, or triggered externally via webhooks.Documentation Index
Fetch the complete documentation index at: https://docs.powabase.ai/llms.txt
Use this file to discover all available pages before exploring further.
Common Patterns
Create a workflow, define its graph with PUT /api/workflows/{id}/graph, then execute. For external triggers, deploy the workflow and arm it to get a webhook URL. Webhooks are single-use — re-arm after each trigger. Use the streaming endpoint for real-time block execution updates.CRUD
GET /api/workflows
List workflows.Max results
Pagination offset
POST /api/workflows
Create a workflow.GET /api/workflows/
Get workflow with blocks and edges.Workflow ID
PATCH /api/workflows/
Update workflow metadata.Workflow ID
DELETE /api/workflows/
Delete a workflow.Workflow ID
Graph
PUT /api/workflows//graph
Save the complete graph — blocks and edges.Workflow ID
Deploy
POST /api/workflows//deploy
Deploy the workflow (enables webhook triggering).Workflow ID
POST /api/workflows//undeploy
Undeploy the workflow.Workflow ID
POST /api/workflows//arm
Arm webhook for a single external trigger.Workflow ID
Execution
POST /api/workflows//execute
Execute the workflow synchronously.Workflow ID
POST /api/workflows//execute/stream
Execute with streaming SSE.Workflow ID
GET /api/workflows//executions
List execution history.Workflow ID
GET /api/workflows//executions//logs
Get per-block execution logs.Workflow ID
Execution ID
Error Responses
| Status | Code | Description |
|---|---|---|
| 400 | invalid_graph | The workflow graph is invalid (e.g., cycles, disconnected blocks, missing required config) |
| 404 | workflow_not_found | No workflow exists with the given ID |
| 409 | already_deployed | The workflow is already deployed — undeploy first to make changes |