list batches
batches_listList batches in the session's organization to find a batch ID, confirm whether an uncertain create succeeded before retrying, or see which batches still run after a concurrency limit is reached.
Instructions
List the batches in this session's organization, each with its id, status, metrics and outputUrl. Use it to find a batch id, to check whether a batch exists after an uncertain batches_create response before creating it again, or, when batches_create reports concurrency_limit_reached, to see which batches still run. For one batch's per-item results use batches_get; for single generations use generations_list.
It never reads another organization: for a batch created with another organizationId, switch there with organizations_select first. It takes no paging or limit parameters and returns the list the API sends. status matches one value per call, so omit it to see running and finished batches together; createdAfter and createdBefore together bound a time window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Only batches in this status. PENDING, JOBS_CREATED and PROCESSING all mean still running; COMPLETED and FAILED mean done. | |
| createdAfter | No | Only batches created after this ISO 8601 date-time, such as 2026-11-06T00:00:00Z. Set it just before an uncertain batches_create to spot that batch. | |
| createdBefore | No | Only batches created before this ISO 8601 date-time, such as 2026-11-07T00:00:00Z. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||