Retry failed batch photos
requeue_failed_batch_photosRetry failed batch photos by reason: preview matching photos and credit cost first, then confirm with a preview ID to requeue them.
Instructions
Retry batch photos that failed for a given reason, in two steps. First call with execute=false to get a preview: how many photos match, the estimated credit cost and a preview_id (valid 10 minutes, usable once). Show that to the user, then call again with execute=true and the preview_id. Requeued photos are charged when processed, usually 62 credits each; the preview's credits_per_photo and estimated_credits give the exact price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Preview step: max photos (default 500). | |
| execute | Yes | false = preview only; true = run a preview (needs preview_id). | |
| preview_id | No | From the preview step; required when execute=true. | |
| reason_code | No | Preview step: which failures to retry. | |
| created_after | No | Preview step: only batches created after this RFC 3339 time. | |
| created_before | No | Preview step: only batches created before this RFC 3339 time. | |
| stagger_seconds | No | Preview step: spread the retries out. |