Skip to main content
Glama

Check batch progress

get_batch
Read-onlyIdempotent

Returns one batch's overall status with its total, completed, failed, and processing job counts. Rendering after run_batch happens in the background, so repeated calls track it until processing reaches 0. list_batches gives the same counts for many batches at once; per-job values and render errors are in get_batch_jobs, and download URLs in get_batch_outputs. Needs batches:read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batchIdYesBatch ID returned by create_batch or list_batches

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
totalYesJobs in the batch
failedYesJobs that failed
statusYesprocessing while any job renders; pending while jobs wait for run_batch; once every job has finished: completed when all rendered, partial when some rendered and others failed or were cancelled, failed when none rendered and at least one failed, cancelled when none rendered, none failed and at least one was cancelled. The counts carry the detail
cancelledNoJobs cancelled
completedYesJobs rendered
createdAtYesCreation time, ISO 8601
processingYesJobs rendering now
workspaceIdYes

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