The row's state at the checkpoint after one step (read-only), for its owner
GET
/v1/studio/batches/{batch_id}/rows/{row}/execution/{step}/state
const url = 'http://localhost:8300/v1/studio/batches/example/rows/example/execution/example/state';const options = { method: 'GET', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8300/v1/studio/batches/example/rows/example/execution/example/state \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Checkpoint id) and passes the state through. 404 when the step is unknown or has no checkpoint, or the batch’s threads are gone (this row's state is gone; the batch has finished). 503 when pipelines does not answer within 5 s.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”batch_id
required
string
Batch UUID (malformed = 404)
row
required
string
Row number, from 1 (unknown or malformed = 404)
step
required
string
The step number in the execution, from 1 (unknown or malformed = 404)
Query Parameters
Section titled “Query Parameters”attempt
integer
Absent = the current attempt
Responses
Section titled “Responses”The state
Media typeapplication/json
object
row
required
integer
attempt
required
integer
step
required
integer
node
required
string
state
required
The thread’s state after the step, read-only plain JSON (row inputs, run and take ids, picks, loop counters; never media)
object
Example generated
{ "row": 1, "attempt": 1, "step": 1, "node": "example", "state": {}}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Not found
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Invalid input
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Retryable
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}