Executing actions
Run an action synchronously or in the background — both governed and audited.
The most direct way to act is to execute an action against a connection. The call passes through the policy gate and lands in the audit log.
Synchronous
A success returns the action result wrapped with a trace id:
If a policy requires approval, the response is 202:
and the action runs only once a different person approves it. If a policy denies
the action, the call returns 403.
From an SDK this is triggerAction / trigger_action / TriggerActionAsync:
Background
For long-running actions, enqueue and poll:
await-webhook long-polls (up to 120s; 408 on timeout) for the result, or you can subscribe to the
per-connection SSE stream. (If the worker queue isn't available, execute-async falls back to running
inline and returns the result directly.)