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

# List batches

`GET /v1/batches`

## Query parameters

- `limit` integer
- `after` string

## Headers

- `x-project-id` string

## Response `200`

Batch list

- BatchList
  - `object` 'list'
  - `data` Batch[]
    - `id` string
    - `object` 'batch'
    - `endpoint` string
    - `status` 'validating' | 'in_progress' | 'finalizing' | 'completed' | 'failed' | 'expired' | 'cancelling' | 'cancelled'
    - `input_file_id` string
    - `output_file_id` string, nullable
    - `error_file_id` string, nullable
    - `completion_window` string
    - `created_at` integer
    - `expires_at` integer
    - `request_counts` object
      - `total` integer
      - `completed` integer
      - `failed` integer
    - `metadata` object
  - `first_id` string, nullable
  - `last_id` string, nullable
  - `has_more` boolean

## Other responses

- `400` — Invalid limit
- `401` — Missing authentication headers
- `403` — Invalid credentials
- `429` — Insufficient quota
- `500` — Internal server error

---

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