> ## 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.

# GetDetailedBatches

> Get extended information about FlexiCapture batches with the GetDetailedBatches Web Services API method.

## What it does

Gets extended information about batches.

## Definition

```csharp theme={null}
DetailedBatch GetDetailedBatches(int batchId, int sessionId, bool onlyPrivateBatches);
```

## Parameters

| Name                 | Type   | Description                                                                                                                                                                                                                                                                                                                                                                          |
| -------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `batchId`            | `int`  | The ID of the batch about which information is to be retrieved                                                                                                                                                                                                                                                                                                                       |
| `sessionId`          | `int`  | The ID of the connection to the Application Server                                                                                                                                                                                                                                                                                                                                   |
| `onlyPrivateBatches` | `bool` | A flag that shows whether batches created in the Web Capture Station are returned. Possible values: `True` (all batches created in the Web Capture Station are returned; at the Verification stage, these batches are available only to the Operator who created them at the Scanning stage), `False` (batches created in all stations except the Web Capture Station are returned). |

## Returned value

| Type                                                             | Description                        |
| ---------------------------------------------------------------- | ---------------------------------- |
| [DetailedBatch](/flexi-capture/api/structures/detailed-batch)\[] | Extended information about batches |
