Skip to content
Trigora
Start building →

Cancel execution

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 run.cancel();
await trigora.cancelExecution(executionId);
run.cancel()

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

Status becomes cancelled. Later send does not resume it. result() rejects. A Python result() poll raises TrigoraError for a cancelled Execution.

Cancel does not roll back an effect outcome that already committed. External systems need their own compensation or idempotency. See Cancellation.