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

# ABBYY FlexiCapture Cloud REST API task status

> Track FlexiCapture Cloud REST API task statuses like New, Submitted, InProgress, Done, and Failed, and map each one to its batch processing stage.

The FlexiCapture Cloud REST API assigns a unique identifier (ID) to each new task. After that, a batch with the same name is created in FlexiCapture Cloud and is queued for processing. The task status created in the FlexiCapture REST API is automatically defined using the processing results.

To create a task for processing documents through the REST API, go to **DOCUMENT CAPTURE** on the FlexiCapture Cloud REST API portal.

## Track task status

A task status in FlexiCapture Cloud REST API corresponds to a batch processing stage in FlexiCapture. For more information about the different batch processing stages (automatic or operator-assisted), see [Processing stages and queues](/flexi-capture/architecture/queues-architecture).

| Cloud REST API task status | FlexiCapture batch processing stage                                          | Task status description                                                                                                                               |
| -------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **New**                    | — (the batch has not been created yet)                                       | Task created.                                                                                                                                         |
| **Submitted**              | — (the batch has been created but has not yet been submitted for processing) | Task submitted for processing.                                                                                                                        |
| **InProgress**             | All stages (the batch is being processed on one of the automatic stages)     | Task being processed.                                                                                                                                 |
| **WaitForAction**          | Verification                                                                 | Task awaiting user verification.                                                                                                                      |
| **Done**                   | Processed                                                                    | Task complete.                                                                                                                                        |
| **Failed**                 | Exceptions                                                                   | Processing completed with an error. See [Processing error diagnostics](/flexi-capture/rest-api-tasks) to check the status of tasks containing errors. |
| **Canceled**               | —                                                                            | Task cancelled. The total possible number of documents to be processed was exceeded.                                                                  |

For detailed information about the task status and corresponding batch processing stages, see **API Description** in the **Get task processing info** section.
