> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gu1.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Execute automation (test)

> Run a test execution of a gu1 automation using synthetic event data from the organization, without creating an execution row or waiting state.

## 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
