Skip to main content

Automations

An automation runs an action when a trigger fires. A trigger is either a schedule (a cron expression, evaluated in an optional timezone) or an event (a run finishing — optionally gated to a status such as failed). An action runs a suite of features (run_features) or a load test (run_load). Every firing is recorded with its outcome (dispatched / skipped / error) and a link to the produced run.

info

Automations call the same dispatch path as run_suite and run_load_test — a fired automation produces an ordinary run you read back with the runs operations.

OperationWhat it does
list_automationsList the project's automations.
get_automationRead one automation.
create_automationCreate an automation.
update_automationUpdate an automation (or pause it).
delete_automationDelete an automation and its history.
run_automationFire an automation now (manual trigger).
list_automation_runsOne automation's firing history.

The automation object

{
"id": "a1b2c3d4-0000-0000-0000-000000000000",
"name": "Nightly smoke suite",
"enabled": true,
"trigger": { "type": "schedule", "cron": "0 8 * * *", "tz": "America/New_York" },
"action": { "type": "run_features", "featureIds": [12, 15], "configName": "Default" },
"condition": null,
"nextDueUtc": "2026-06-16T12:00:00.0000000Z",
"lastTriggeredUtc": null,
"createdUtc": "2026-06-15T18:00:00.0000000Z",
"updatedUtc": null
}
FieldNotes
idThe automation's public id — the handle in every route.
trigger.typeschedule (uses cron, optional tz) or event (uses kind, optional filter).
action.typerun_features (uses featureIds — omit for the whole generated suite — plus optional configName) or run_load (uses featureId, the load-test feature).
conditionOptional gate, e.g. { "status": "failed" }; null = always fire.
nextDueUtcSchedule triggers only: the scheduler's next fire time, computed from the cron.

The schedule → fire pattern is described in Long-running operations.