Cancel Run
Cancels a pending, runnable, or running run. Pre-execution runs are cancelled synchronously. Live runs return after the cancellation request is durably recorded and continue converging to a terminal cancelled state. Returns 409 if the run has already completed or been cancelled.
Path parameters
Unique run identifier (ULID).
Response
Run was cancelled synchronously before execution
Example response
{
"repository": {
"name": "fabro-sh/fabro",
"origin_url": "https://github.com/fabro-sh/fabro.git"
},
"lifecycle": {
"error": {
"message": "Stage 'apply-changes' exceeded maximum retries."
}
},
"timing": {
"wall_time_ms": 420000,
"inference_time_ms": 120000,
"tool_time_ms": 60000,
"active_time_ms": 180000
},
"diff": {
"files_changed": 42,
"additions": 567,
"deletions": 234
},
"pull_request": {
"owner": "fabro-sh",
"repo": "fabro",
"number": 123,
"html_url": "https://github.com/fabro-sh/fabro/pull/123"
},
"current_question": {
"text": "Accept or push for another round?"
}
}Changes
Changed in 16 of the 135 revisions of this API.15731
- ●
added the new
publish_failedenum value to thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status200response-property-enum-value-added
- ●
added the new
publish_failedenum value to thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status202response-property-enum-value-added
- ○
the response property
timing/oneOf[RunTiming]/inference_time_msbecame required for the status200response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/inference_time_msbecame required for the status202response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/tool_time_msbecame required for the status200response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/tool_time_msbecame required for the status202response-property-became-required
- ●
- ▲
the response property
timing/oneOf[RunTiming]/inference_time_msbecame optional for the status200response-property-became-optional
- ▲
the response property
timing/oneOf[RunTiming]/inference_time_msbecame optional for the status202response-property-became-optional
- ▲
the response property
timing/oneOf[RunTiming]/tool_time_msbecame optional for the status200response-property-became-optional
- ▲
the response property
timing/oneOf[RunTiming]/tool_time_msbecame optional for the status202response-property-became-optional
- ○
removed the
publish_failedenum value from thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status200response-property-enum-value-removed
- ○
removed the
publish_failedenum value from thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status202response-property-enum-value-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
publish_failedenum value to thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status200response-property-enum-value-added
- ●
added the new
publish_failedenum value to thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status202response-property-enum-value-added
- ○
the response property
timing/oneOf[RunTiming]/inference_time_msbecame required for the status200response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/inference_time_msbecame required for the status202response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/tool_time_msbecame required for the status200response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/tool_time_msbecame required for the status202response-property-became-required
- ●
- ▲
the response property
timing/oneOf[RunTiming]/inference_time_msbecame optional for the status200response-property-became-optional
- ▲
the response property
timing/oneOf[RunTiming]/inference_time_msbecame optional for the status202response-property-became-optional
- ▲
the response property
timing/oneOf[RunTiming]/tool_time_msbecame optional for the status200response-property-became-optional
- ▲
the response property
timing/oneOf[RunTiming]/tool_time_msbecame optional for the status202response-property-became-optional
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the response property
timing/oneOf[RunTiming]/inference_time_msbecame required for the status200response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/inference_time_msbecame required for the status202response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/tool_time_msbecame required for the status200response-property-became-required
- ○
the response property
timing/oneOf[RunTiming]/tool_time_msbecame required for the status202response-property-became-required
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
removed the
publish_failedenum value from thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status200response-property-enum-value-removed
- ○
removed the
publish_failedenum value from thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status202response-property-enum-value-removed
- ○
- ●
added the new
publish_failedenum value to thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status200response-property-enum-value-added
- ●
added the new
publish_failedenum value to thelifecycle/status/oneOf[RunStatusFailed]/reasonresponse property for the response status202response-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the success response with the status
202response-success-status-added
- ○
- ▲
removed the success response with the status
202response-success-status-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the success response with the status
202response-success-status-added
- ○