---
title: "Public List Batch Items"
method: GET
path: "/v1/batches/{batch_id}/items"
tags: ["public-api"]
---

# Public List Batch Items

`GET /v1/batches/{batch_id}/items`

## Request

- Base URL: `https://api.trainloop.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.trainloop.ai/v1/batches/{batch_id}/items`
- Auth: none declared

Per-object status, stage and error — the error manifest for a
``completed_with_errors`` batch. Filter ``status=failed`` to list only
what needs attention.

## Path parameters

- `batch_id` string, uuid, required

## Query parameters

- `status` 'pending' | 'running' | 'done' | 'skipped' | 'failed', nullable
- `offset` integer
- `limit` integer

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- BatchItemsResponse
  - `items` BatchItemResponse[], required
    - `id` string, uuid, required
    - `key` string, required
    - `status` 'pending' | 'running' | 'done' | 'skipped' | 'failed', required
    - `stage` string, required
    - `output_key` string, required
    - `size_bytes` integer, required
    - `error` string, required
    - `warnings` string[], required
    - `metrics` object, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `finished_at` string, date-time, nullable, required
  - `total` integer, required
  - `offset` integer, required
  - `limit` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `dec6fd242e40`: 2 info
  - api operation id `list_batch_items_v1_batches__batch_id__items_get` removed and replaced with `public_list_batch_items_v1_batches__batch_id__items_get`
  - api tag `batches` removed
- **2026-09-09** `26478f75ef09`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trainloop/apis/trainloop-api/changes/v1/batches/:batch_id/items/get.md)

---

[API](https://skmtc.dev/trainloop/apis/trainloop-api.md) - [All operations](https://skmtc.dev/trainloop/apis/trainloop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trainloop/apis/trainloop-api/revisions/f11e38cf6836?raw)
