---
title: "List batches"
method: GET
path: "/batches"
tags: ["Batches API"]
---

# List batches

`GET /batches`

List batches with optional pagination.

## Query parameters

- `after_id` string
- `before_id` string
- `limit` integer

## Response `200`

List of batches.

- object[]
  - `id` string, required — Unique identifier for the batch.
  - `request_counts` integer, required — Total number of requests in the batch.
  - `created_at` integer, required — Unix timestamp of when the batch was created.
  - `label` string — The label for the batch, if provided.

## Other responses

- `400` — Invalid request.
- `401` — Authentication error.
- `500` — Server error.

---

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