Run one failed row again, or any row from one step of its execution ("Retry row from here")
const url = 'http://localhost:8300/v1/studio/batches/example/rows/example/retry';const options = { method: 'POST', headers: { 'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"from_step":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8300/v1/studio/batches/example/rows/example/retry \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "from_step": 1 }'Sets the row queued with attempt + 1 (error, run and takes cleared from the row; the old run and its takes The row gets a new run (its idempotency key carries the attempt). A done batch becomes running again until the row ends. 409 unless the row is failed, the batch’s status is not failed or stopped and its control is not stop. With a body {from_step} (a pipeline batch): the row re-runs from that step of its current attempt’s execution, reusing the state before it. Allowed when the row is failed, succeeded, cancelled or waiting (a pending pick is dropped) and the batch is queued, running, waiting or paused with control not stop; else 409 (a done batch: this batch has finished; its checkpoints are gone). 422 when the step is not in the row’s execution or has no state (row <n> has no step <s>). from_step: 1 is the same as no body, for any of those row states.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Batch UUID (malformed = 404)
Row number, from 1 (unknown or malformed = 404)
Request Body
Section titled “Request Body”object
A step number of the row’s current attempt (RowExecution.steps[].step)
Example generated
{ "from_step": 1}Responses
Section titled “Responses”The row, queued again
object
1; +1 on every Retry
What the row runs with: the base inputs, then its own values, then its seed (a pipeline batch: <inputs node>.<input> keys)
object
Null only for a seed (random) or an image, media, span or voice param left empty
An Image value: a take of the caller, by id. The only way a client names an image; never an object key or URL. Studio checks it when it creates the run.
object
A Media value: a video or audio take of the caller, by id. in / out (seconds of the take’s own time; studio snaps them: a video’s frames, audio to the millisecond) only on a param with trim: the part it reads (absent: 0 / the take’s end). Never an object key or URL.
object
A span param’s value: a time range on the workflow’s one video media source, in that take’s own seconds (Retake: the stretch to regenerate)
object
A voice value: a saved voice the caller can use, by id: one of the caller’s own (a UUID) or a starter voice (<family>/<pack voice id>). Never a key, a URL or the voice’s fields; studio resolves it when it creates the run.
object
One item of a rows value: field (the param’s item) → value
object
Null only for a seed (random) or an image, media, span or voice param left empty
An Image value: a take of the caller, by id. The only way a client names an image; never an object key or URL. Studio checks it when it creates the run.
object
A Media value: a video or audio take of the caller, by id. in / out (seconds of the take’s own time; studio snaps them: a video’s frames, audio to the millisecond) only on a param with trim: the part it reads (absent: 0 / the take’s end). Never an object key or URL.
object
A Lora value (a rows item field of ref kind Lora): a LoRA the caller can use, by id; never a path, key or URL. Studio checks it when it creates the run.
object
A voice value: a saved voice the caller can use, by id: one of the caller’s own (a UUID) or a starter voice (<family>/<pack voice id>). Never a key, a URL or the voice’s fields; studio resolves it when it creates the run.
object
A batch of one workflow: the row’s looks (its cell, else BatchCreate.looks); absent or empty = none
Queued until its run starts (also while the run waits in the queue or is held), running while it runs, waiting while parked on a gate, then the row’s end
The current attempt’s run (a pipeline row: its latest run); null before it has one
The current attempt’s takes (deleted ones left out); a pipeline row: the takes its output received, once it succeeded
Set when failed
Its run reported running
Pipeline batches: the node the row is at now (parked on, or running); null when ended or not started
object
The gate node id
; absent = gate
A judge: its pick, pre-selected ([] when no take passed)
Which visit of the gate (1 + times its loop went round)
Pick 1 to keep of the candidates
The takes to pick from (the gate’s step’s latest takes)
Pipeline batches: the run table’s cells, one per node the row reached, in the order first reached; absent for a batch of one workflow
object
The pipeline node id
One per visit (loop attempts stacked), oldest first
object
A step attempt: its runs’ state (queued while none of them has started); a gate attempt: waiting, picked or rejected; an output: succeeded. write, decide: queued / running, then succeeded or failed; memory: succeeded
A step: its runs, by seed index
A step: its takes; a gate: the picked ones; an output: what it received
A gate: the takes it offered
A step: the seed of each run, by seed index
A step: the runs’ time on their hosts, summed (started to finished); null until one finished
A judge attempt (the run table’s judged cell: “picked 1 of 4”, the first failed criterion; the attempts side by side with each take’s reason)
object
The best take’s first false must; null when it passed
Suggest: the user’s pick equalled the suggestion; null before a pick and in Auto
object
Every criterion’s answer, musts then nices
A decide: the route taken
object
A fanned-out step: one attempt per (visit, branch); branch = the item index
An agent attempt (4 turns · 6 tools · 14 shots)
object
Its list’s length (0 without one)
A judge with a branch or a decide: its capped loop for the cell’s “retried
object
The node the cap sends the row to
Example
{ "inputs": { "prompt.text": "a red fox", "echo.steps": 20 }, "looks": [ "qwen-image/window-light" ], "status": "queued", "thumb_url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12", "parked": { "kind": "gate" }, "cells": [ { "kind": "step", "attempts": [ { "status": "queued", "thumb_url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12", "judged": { "verdict": "pass" } } ] } ]}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
object
Example generated
{ "detail": "example"}Not found
object
Example generated
{ "detail": "example"}The resource’s state forbids this
object
Example generated
{ "detail": "example"}Invalid input
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}