Batch Status
gemini_batch_statusCheck the status of a batch image generation job. Retrieve state, output file, stats, and timing information for a given batch ID.
Instructions
Check the status of a batch image generation job.
Args:
batch_name (string, required): The batch ID to check (e.g. "batches/abc123").
Returns:
state: BATCH_STATE_PENDING, BATCH_STATE_RUNNING, BATCH_STATE_SUCCEEDED, BATCH_STATE_FAILED, etc.
output_file: The Gemini Files API reference for downloading results (when succeeded).
stats: Request count and success count.
Timing: create time, end time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_name | Yes | The batch ID to check (e.g. "batches/abc123") |