Get AML Report Status / Result
firmaradar_get_aml_reportPoll the status of an asynchronous AML report and retrieve the risk score, level, and report links once processing completes. Get error details if the report fails.
Instructions
Poll the status and result of an asynchronous AML report started with start_aml_report. Pass the report_id; returns status (pending/running/done/failed). When status is 'done' it includes the AML risk score (0-100), level (low/medium/high) and links to the stored report; when 'failed' it includes the error reason. Poll periodically until the status is terminal (done/failed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_id | Yes | The report_id returned by `start_aml_report`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| error | No | Failure reason (only when status='failed'). | |
| level | No | low/medium/high (only when status='done'). | |
| orgnr | No | ||
| score | No | AML risk score 0-100 (only when status='done'). | |
| status | Yes | One of: pending, running, done, failed. | |
| report_id | Yes |