Anthropic · Arazzo Workflow
Anthropic Cancel a Message Batch and Confirm
Version 1.0.0
Create a batch, request cancellation, then poll until it leaves the canceling state.
View Spec
View on GitHub
AIArtificial IntelligenceClaudeFoundation ModelsLarge Language ModelsMachine LearningMCPAgentsArazzoWorkflows
Provider
Workflows
cancel-and-confirm-batch
Create a batch, cancel it, and poll until it finalizes.
Submits a batch, calls Cancel Message Batch to move it into the canceling state, and then polls Retrieve Message Batch until the processing_status becomes ended.
1
createBatch
createMessageBatch
Create a new message batch to demonstrate the cancellation lifecycle.
2
cancelBatch
cancelMessageBatch
Initiate cancellation of the batch. The batch enters a canceling state while in-progress, non-interruptible requests are allowed to finish.
3
confirmCanceled
retrieveMessageBatch
Poll the batch status until it leaves the canceling state and reaches ended. Branch back to poll again while the batch is still canceling.