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

# TaskStatus

> Says where a queued task is in its lifecycle. `COMPLETED`, `FAILED` and `CANCELLED` are final;
`retryQueuedTask` can queue a `FAILED` or `CANCELLED` task again.



**Kind**: `enum`

## Values

**`CREATED`** — Waiting for its file. Only cards and source imports start here; upload the file to the link from `createQueuedTaskUploadUrl`.

**`ANALYZING`** — Checking the uploaded file of an import, or running an enrichment analysis.

**`PENDING`** — Queued and waiting to start. An import whose file passed analysis waits here for `confirmQueuedTask`; `awaitingConfirmation` is then true.

**`IN_PROGRESS`** — Running.

**`COMPLETED`** — Finished successfully. The files it wrote are in `artifacts`.

**`FAILED`** — Stopped with an error, or the import's file failed analysis.

**`CANCELLED`** — Cancelled with `cancelQueuedTask`.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.