batches

Get batch results

Stream batch results with merged input/output data as JSONL.

Each line contains the original input body, response body (for completed requests), error message (for failed requests), and current status. Results are filtered to show exactly one entry per input template (excluding superseded requests from escalation races).

Supports pagination via limit and skip query parameters, and filtering by custom_id via the search parameter.

get/batches/{batch_id}/results

Path parameters

batch_idstring required

The batch ID returned when the batch was created.

Query parameters

limitinteger nullable

Maximum number of items to return (default: 10, max: 100)

skipinteger nullable

Number of items to skip (default: 0)

Pagination parameters (limit and skip)

searchstring nullable

Search query to filter by custom_id (case-insensitive substring match)

statusstring nullable

Filter by request status (completed, failed, pending, in_progress)

Response

Batch results as newline-delimited JSON. Check the X-Incomplete header to determine if more results exist.

Changes

No recorded changes to this endpoint across all 1 revision of this API.