GET
/
ai-workflows
List AI Workflows
curl --request GET \
  --url https://api.wacht.dev/ai-workflows \
  --header 'Authorization: Bearer <token>'
{
  "total": 100,
  "page": 1,
  "per_page": 20,
  "total_pages": 5,
  "data": [
    {
      "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"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Query Parameters

page
integer
default:1
per_page
integer
default:20
is_active
boolean
trigger_type
enum<string>
Available options:
manual,
webhook,
schedule,
event

Response

Successful response

The response is of type object.