---
title: "List batches"
method: GET
path: "/v2/batch"
tags: ["Batch"]
---

# List batches

`GET /v2/batch`

Fetch batch processing requests from the user's account

## Query parameters

- `status` string
- `created_after` string
- `created_before` string

## Response `200`

List of batches retrieved successfully

- object[]
  - `id` string
  - `created_at` string, date-time
  - `status` 'PENDING' | 'JOBS_CREATED' | 'PROCESSING' | 'COMPLETED' | 'FAILED'
  - `metrics` object
    - `total_generations` integer
    - `success_count` integer
    - `failed_count` integer
    - `pending_count` integer
  - `webhookUrl` string, uri, nullable
  - `outputUrl` string

## Other responses

- `401` — Unauthorized

---

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