GET/v1/batches
List batches
Newest first.
Requires an API key.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | min 1, max 1000, default 100 |
cursor | query | string | Opaque next_cursor from the previous page. |
Responses
200 A page of batches.
| Field | Type | Description |
|---|---|---|
batches | array of object | |
batches[].batch_id | string (uuid) | |
batches[].name | string | null | |
batches[].status | string | one of queued, processing, completed |
batches[].total | integer | min 1 |
batches[].processed | integer | min 0 |
batches[].summary | object | Classification counts of the rows processed so far. |
batches[].summary.high | integer | |
batches[].summary.uncertain | integer | |
batches[].summary.low | integer | |
batches[].created_at | string (date-time) | |
batches[].started_at | string | null (date-time) | |
batches[].completed_at | string | null (date-time) | |
next_cursor | string | null |
400 Invalid input. Codes: invalid_json, invalid_request, invalid_batch, invalid_row, invalid_evidence, invalid_idempotency_key, invalid_cursor, invalid_limit, invalid_filter.
| Field | Type | Description |
|---|---|---|
error | object | |
error.code | string | Stable machine-readable code. |
error.message | string | Human-readable explanation. |
401 Missing, invalid or revoked API key (invalid_api_key).
| Field | Type | Description |
|---|---|---|
error | object | |
error.code | string | Stable machine-readable code. |
error.message | string | Human-readable explanation. |
503 A dependency is temporarily unavailable (service_unavailable). Retry with backoff.
| Field | Type | Description |
|---|---|---|
error | object | |
error.code | string | Stable machine-readable code. |
error.message | string | Human-readable explanation. |