Skip to main content
POST
/
automations
/
{id}
/
execute
Execute automation (test)
curl --request POST \
  --url http://api.gu1.ai/automations/{id}/execute \
  --header 'Authorization: Bearer <token>'

Endpoint

POST https://api.gu1.ai/automations/:id/execute
Builds a test event (sample entity/alert/investigation from the organization) and calls processEvent. Does not create an execution row or support standby.

Response

200{ "success": true, "message": "...", "automationId": "...", "casesProcessed": 1 } 400 — e.g. no entities in org, or automation is archived