Automation

Cancel local runner authority

Owner-only atomic cancellation of the run, claim, pending approvals, and issued grants. External provider effects are not cancelled and may require explicit follow-up.

post/v1/automation-runs/{run_id}/cancel

Request

  • Base URL: https://api.agentry.sh
  • URL: https://api.agentry.sh/v1/automation-runs/{run_id}/cancel
  • Auth: HTTP bearer

Path parameters

run_idstring required

Headers

Idempotency-Keystring required

Stable 8-500 character command key. Preserve it only when replaying the exact same request; use a new key for a distinct command.

Request body

reasonstring required

Response

OK

run_idstring required
status'cancelled' required
reasonstring required
cancelled_bystring required
cancelled_atinteger required
idempotent_replayboolean required
next_actionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.