Abort an in-progress Run with a reason
Changed onBearer run:execute (or cookie session); member+ write access. Transactional abort via one SECURITY DEFINER RPC: closes the Run as aborted (sets finished_at, records the reason, bumps version), marks every not-yet-executed step skipped, and preserves already-recorded step results. Only a running Run can be aborted — an already-closed Run returns 409. The reason is trimmed then required to be 3..500 characters. Abort is first-wins: a concurrent double-submit serializes on a row lock and the loser gets 409.
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/v1/runs/{id}/abort
- Auth: one of:
- API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
- HTTP bearer
Path parameters
Request body
Response
Run aborted. Returns the updated Run with status: aborted and abort_reason.
Changes
- warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status
- warning
- info
removed the
test_outside_plan_projectenum value from the/response property for the response status - info
removed the
test_outside_plan_projectenum value from the/response property for the response status - info
removed the
test_outside_plan_projectenum value from the/response property for the response status - info
removed the
test_outside_plan_projectenum value from the/response property for the response status - info
removed the
test_outside_plan_projectenum value from the/response property for the response status
- info