---
title: "List the items of a batch (item order)"
method: GET
path: "/v1/batches/{id}/items"
tags: ["Batches"]
---

# List the items of a batch (item order)

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

## Request

- Base URL: `https://api.castpdf.com`
- URL: `https://api.castpdf.com/v1/batches/{id}/items`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Query parameters

- `limit` string
- `after` string

## Response `200`

OK

- object
  - `data` object[]
    - `index` integer
    - `id` string, uuid
    - `status` 'queued' | 'processing' | 'succeeded' | 'failed' | 'canceled'
    - `filename` string, nullable
    - `error_code` string, nullable
    - `error_message` string, nullable
    - `document_url` string, uri, nullable
  - `next_after` string, nullable

## Other responses

- `default`: Error

---

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