---
title: "Get batch results"
method: GET
path: "/batches/{batch_id}/results"
tags: ["batches"]
---

# Get batch results

`GET /batches/{batch_id}/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.

## Path parameters

- `batch_id` string, required

## Query parameters

- `pagination` object, required — Standard pagination parameters for admin API list endpoints. All admin endpoints use consistent offset-based pagination with: - `skip`: Number of items to skip (default: 0) - `limit`: Maximum items to return (default: 10, max: 100) The `limit` is clamped to ensure it's always between 1 and 100, preventing both zero-result queries and excessive data fetching.
  - `limit` integer, nullable — Maximum number of items to return (default: 10, max: 100)
  - `skip` integer, nullable — Number of items to skip (default: 0)
- `search` string, nullable
- `status` string, nullable

## Response `200`

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

## Other responses

- `404` — Batch not found or you don't have access to it.
- `500` — An unexpected error occurred. Retry the request or contact support if the issue persists.

---

[API](https://skmtc.dev/doubleword/apis/doubleword-api.md) · [All operations](https://skmtc.dev/doubleword/apis/doubleword-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doubleword/doubleword-api/revisions/6617202865d8/schema)
