AutomationsService
Available as client.automations. All operations are scoped by workspaceId.
| Method | Purpose |
|---|---|
list(workspaceId, options?) | List rules, optionally filtered by active state |
get(workspaceId, ruleId) | Get a rule |
create(workspaceId, data) | Create a rule |
update(workspaceId, ruleId, data) | Update a rule |
delete(workspaceId, ruleId) | Delete a rule |
activate(workspaceId, ruleId) | Activate a rule |
deactivate(workspaceId, ruleId) | Deactivate a rule |
duplicate(workspaceId, ruleId, name?) | Duplicate a rule |
getMetadata(workspaceId) | Get editor metadata |
validateFormula(workspaceId, body) | Validate a formula |
listExecutions(workspaceId, query?) | List execution history |
getRuleExecutions(workspaceId, ruleId, options?) | List executions for a rule |
getClientExecutions(workspaceId, clientId, options?) | List executions for a client |