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

# GetBatch

> Retrieve information about a single batch by its ID using the GetBatch method of the ABBYY FlexiCapture Web Services API, which returns a Batch structure.

## What it does

Gets information about a batch.

## Definition

```
Batch GetBatch( int batchId );
```

## Parameters

| **Name** | **Type** | **Description**                                                |
| -------- | -------- | -------------------------------------------------------------- |
| batchId  | int      | The ID of the batch about which information is to be retrieved |

## Returned value

| **Type**                                                    | **Description**             |
| ----------------------------------------------------------- | --------------------------- |
| [Batch](/flexi-capture/api/structures/batch-api-structures) | Information about the batch |
