Cancel script run
Changed onCancels a script run that has not started. A running script runs to its end or its timeout (409 run_not_cancellable).
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
Script run id (srun_...)
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Response
The cancelled run
The value was too large to return, so result holds the start of its JSON text instead.
What the script printed: its start and end when long, with the cut marked.
Every tool call the script made, in order: {role, status, read_only, error_code, approval_id}. A 202 call did not run and names its approval.
What the script's gated calls froze, as each stands now. Approving one runs that call, never the script again.
Approvals still waiting for a decision: POST /approvals/{id}/approve or /deny.
Files the script wrote to outputDir.
Changes
- info
added the required property
approvals/items/detailsto the response with the status - info
added the required property
approvals/items/requestto the response with the status
- info
- warning
added the new
siteenum value to theapprovals/items/kindresponse property for the response status
- warning