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

# Status do arquivo

> Os 18 valores de status de um arquivo enviado, agrupados em 5 fases

> [!NOTE]
>
> Isto é feito no dashboard — não há endpoint público para enviar o CSV, consultar o
> status nem baixar o relatório.

Um arquivo enviado (CSV de transações) passa por 5 fases sequenciais. Cada fase tem
um status `IN_PROGRESS`, um `SUCCESS` e um `ERROR`, exceto o ponto de partida.

## Antes de iniciar

| Status | Significa |
| - | - |
| `UNKNOWN` | Status não determinado |
| `UPLOADED` | O arquivo foi recebido, a fase de mapeamento ainda não começou |

## Fase 1 — Mapeamento

| Status | Significa |
| - | - |
| `MAPPING_IN_PROGRESS` | Mapeando as colunas do arquivo para campos canônicos |
| `MAPPING_PENDING_REVIEW` | O mapeamento está pronto e aguarda confirmação |
| `MAPPING_CONFIRMED` | O mapeamento foi confirmado, a ingestão pode começar |
| `MAPPING_ERROR` | Falha irrecuperável durante o mapeamento |

## Fase 2 — Ingestão

| Status | Significa |
| - | - |
| `INGESTION_IN_PROGRESS` | Carregando as linhas do arquivo |
| `INGESTION_SUCCESS` | Todas as linhas foram carregadas |
| `INGESTION_ERROR` | Falha irrecuperável durante a ingestão |

## Fase 3 — Análise

| Status | Significa |
| - | - |
| `DATA_ANALYSIS_IN_PROGRESS` | Analisando as transações do arquivo |
| `DATA_ANALYSIS_SUCCESS` | A análise terminou |
| `DATA_ANALYSIS_ERROR` | Falha irrecuperável durante a análise |

## Fase 4 — Relatório de IA

| Status | Significa |
| - | - |
| `AI_REPORT_IN_PROGRESS` | Gerando o relatório narrativo |
| `AI_REPORT_SUCCESS` | O relatório narrativo está pronto |
| `AI_REPORT_ERROR` | Falha irrecuperável ao gerar o relatório narrativo |

## Fase 5 — Relatório de fraude

| Status | Significa |
| - | - |
| `FRAUD_REPORT_IN_PROGRESS` | Gerando o relatório consolidado (PDF/Excel) |
| `FRAUD_REPORT_SUCCESS` | O relatório consolidado está pronto para baixar |
| `FRAUD_REPORT_ERROR` | Falha irrecuperável ao gerar o relatório consolidado |


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