Skip to content
Trigora
Start building →

Cancellation

Terminal window
trigora cancel <execution-id>
trigora cancel <execution-id> --remote

This command targets trigora dev by default. Add --remote to target Trigora Cloud.

await trigora.cancelExecution(executionId);

HTTP: POST /v1/executions/:id/cancel.

The status becomes cancelled. A cancelled Execution does not resume on a later send or timer. result() on the TypeScript client rejects. The Python client raises TrigoraError with status 409 when it polls a cancelled Execution.

Cancel is for the Execution you name. It is not a substitute for making external side effects idempotent. An effect that already committed stays committed. See Production considerations.