Validate before publish
POST /automations/validate accepts { "definition": { ... } } and returns
valid, human-readable errors, and structured validation issues.
wait_for_event supports a canonical timeout_seconds value. Legacy
timeout: { amount, unit } definitions are normalized for compatibility, but
new definitions should always use seconds.
Correlated waits
Define a trigger correlation key and use the same key on a wait:end_automation as a terminal step for an explicit successful branch.
Run controls
POST /automation-runs/:runId/cancelPOST /automation-runs/:runId/retry
{ "reason": "..." }, are project-scoped and audited,
and require a Sendrealm API key. Cancellation cannot retract a delivery that
has already started.
Test runs
Test a saved draft without delivery or production mutations:POST /automations/:id/test-runsGET /automation-test-runs/:runIdPOST /automation-test-runs/:runId/eventsPOST /automation-test-runs/:runId/advance