---
title: "ezgh ocr batches files"
description: "List a batch's documents: each one's status, pages and error."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh ocr batches files

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh ocr batches files <batch> [flags]
```

List a batch's documents in the order they were added, with each one's type, size, pages, status (uploaded, then succeeded, partially_succeeded or failed) and, for one that failed, why: quota_exceeded when the page quota ran out before it started, cancelled, or a problem with the document itself.

Part of [`ezgh ocr batches`](/cli/reference/ocr-batches).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--all` | boolean |  | follow nextCursor through every page |
| `--cursor` | string |  | start from this page (a previous page's nextCursor) |
| `--limit` | int | `20` | items per page, 1 to 100 |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/ocr-batches-files/index.mdx
