Skip to main content
Glama

Cancel a batch's unfinished jobs

cancel_batch
DestructiveIdempotent

Stops a batch: every job still pending or processing becomes cancelled. A cancelled job is final and is not charged; a render already under way may finish, but its result is discarded. Jobs that already rendered keep their output and their charge. Cancelled jobs cannot be resumed; to render them again, create_batch a new batch with those rows. get_batch shows the cancelled count, and repeating the call cancels nothing more. Needs batches:create on the connection and renders:create in the user's workspace role.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batchIdYesBatch ID returned by create_batch or list_batches

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cancelledYesJobs this call cancelled; 0 when they had all finished
stoppedMessagesYesQueued renders removed before they started

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources