Skip to main content
POST
Retry selected failed or cancelled batch items

Authorizations

Authorization
string
header
required

Select Personal or your Team in Gizmo, then create a key in API Access. The key selects your library and billing account.

Headers

idempotency-key
string
required
Required string length: 1 - 128
Pattern: ^[A-Za-z0-9._:-]+$

Path Parameters

batch_id
string
required

Body

application/json

Items queue automatically within the Team processing limit, shared with its other batches and individual generations.

item_indices
integer[]
required

Indices of failed/cancelled items in the source batch

Required array length: 1 - 1000 elements
Required range: 0 <= x <= 999
max_cost_cents
integer | null
Required range: x >= 1

Response

Successful Response

ok
boolean
required
batch_id
string
required