Workflows API
Create, manage, and execute workflows
Create Workflow
POST /api/trpc/workflows.create
{
"name": "Test Login Flow",
"hellscript_code": "workflow ...",
"version": "1.0.0"
}List Workflows
GET /api/trpc/workflows.list
Response:
{
"workflows": [
{
"id": "wf_xxx",
"name": "Test Login Flow",
"version": "1.0.0",
"execution_mode": "browser_automation",
"success_count": 42,
"created_at": "2026-01-15T..."
}
]
}Get Workflow
GET /api/trpc/workflows.get?id=wf_xxx
Update Workflow
PUT /api/trpc/workflows.update
{
"id": "wf_xxx",
"hellscript_code": "updated workflow...",
"version": "1.0.1"
}Delete Workflow
DELETE /api/trpc/workflows.delete?id=wf_xxx
CLI Examples
# Create workflow hellcat workflows create --file login.hell # List workflows hellcat workflows list # Get workflow hellcat workflows get wf_xxx # Delete workflow hellcat workflows delete wf_xxx