Skip to main content
GET
Get one batch item

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Organization-Id
string | null

Path Parameters

batch_id
string<uuid>
required
id
string<uuid>
required

Query Parameters

fields
string | null
embed
string | null

Response

Successful Response

Response shape for /v1/batches/{id}/items[/{item_id}].

The flat fields (client_ref, status_code, input, cost, output, error, timestamps) are projected from runs via the items read model — the router layer populates them; the bare ORM row only carries id/batch_id/sequence_index/run_id/created_at.

id
string<uuid> | null
batch_id
string<uuid> | null
sequence_index
integer | null
run_id
string<uuid> | null
created_at
string<date-time> | null
client_ref
string | null
status_code
string | null
input
Input · object | null
cost
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
output
Output · object | null
error
Error · object | null
started_at
string<date-time> | null
completed_at
string<date-time> | null
run
FullValidator · object | null

Response shape.