Backend API
Create a new AI workflow
cURL
curl --request POST \ --url https://api.wacht.dev/ai-workflows \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "description": "<string>", "trigger_type": "manual", "steps": [ {} ] }'
{ "id": "<string>", "name": "Customer Onboarding Workflow", "description": "<string>", "trigger_type": "webhook", "steps": [ { "id": "<string>", "name": "<string>", "type": "agent", "config": {} } ], "is_active": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
manual
webhook
schedule
event
Show child attributes