Get a batch’s progress
get_batchRead-onlyIdempotent
The state of a batch and of each picture in it: queued, running, done, failed or cancelled, the job_id of its run once started (get_job gives the files), credits charged, and whether retry_batch can run it again.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | The batch id start_batch returned. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| model | Yes | ||
| scene | Yes | ||
| counts | Yes | ||
| status | Yes | ||
| batch_id | Yes | ||
| created_at | Yes | ||
| item_count | Yes | ||
| settled_at | Yes | ||
| quoted_credits | Yes | What the batch costs if every picture runs. | |
| charged_credits | Yes | What its runs were charged so far. | |
| per_item_credits | Yes |