v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107682538.8 KB

Cancels all runs within a specified batch. This operation prevents not-yet-submitted runs from starting and submits CancelRun requests for runs that have already started.

Cancel is only allowed on batches in PENDING, SUBMITTING, or INPROGRESS state. Cancel operations are non-atomic and may be partially successful. Use GetBatch to review successfulCancelSubmissionCount and failedCancelSubmissionCount in the submissionSummary. Only one cancel or delete operation per batch is allowed at a time.

post/runBatch/cancel

Request body

batchIdstring required

The identifier portion of the run batch ARN.

Response

Success

CancelRunBatchResponse required