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

# File statuses

> The 18 status values of an uploaded file, grouped into 5 phases

> [!NOTE]
>
> This is done in the dashboard — there's no public endpoint to upload the CSV, check the
> status, or download the report.

An uploaded file (transactions CSV) goes through 5 sequential phases. Each phase has
an `IN_PROGRESS` status, a `SUCCESS` status, and an `ERROR` status, except for the starting point.

## Before starting

| Status | Meaning |
| - | - |
| `UNKNOWN` | Undetermined status |
| `UPLOADED` | The file was received; the mapping phase hasn't started yet |

## Phase 1 — Mapping

| Status | Meaning |
| - | - |
| `MAPPING_IN_PROGRESS` | Mapping the file's columns to canonical fields |
| `MAPPING_PENDING_REVIEW` | The mapping is ready and awaiting confirmation |
| `MAPPING_CONFIRMED` | The mapping was confirmed; ingestion can start |
| `MAPPING_ERROR` | Unrecoverable failure during mapping |

## Phase 2 — Ingestion

| Status | Meaning |
| - | - |
| `INGESTION_IN_PROGRESS` | Loading the file's rows |
| `INGESTION_SUCCESS` | All rows were loaded |
| `INGESTION_ERROR` | Unrecoverable failure during ingestion |

## Phase 3 — Analysis

| Status | Meaning |
| - | - |
| `DATA_ANALYSIS_IN_PROGRESS` | Analyzing the file's transactions |
| `DATA_ANALYSIS_SUCCESS` | The analysis finished |
| `DATA_ANALYSIS_ERROR` | Unrecoverable failure during analysis |

## Phase 4 — AI report

| Status | Meaning |
| - | - |
| `AI_REPORT_IN_PROGRESS` | Generating the narrative report |
| `AI_REPORT_SUCCESS` | The narrative report is ready |
| `AI_REPORT_ERROR` | Unrecoverable failure generating the narrative report |

## Phase 5 — Fraud report

| Status | Meaning |
| - | - |
| `FRAUD_REPORT_IN_PROGRESS` | Generating the consolidated report (PDF/Excel) |
| `FRAUD_REPORT_SUCCESS` | The consolidated report is ready to download |
| `FRAUD_REPORT_ERROR` | Unrecoverable failure generating the consolidated report |


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