curl -X GET "https://api.example.com/api/export?scan_id=abc123&format=json" \ -H "Authorization: Bearer YOUR_TOKEN"
{ "report": { "generated_at": "2026-02-28T10:30:00.000Z", "policy": { "id": "policy_123", "name": "AML Standard Policy" }, "scan": { "id": "abc123", "score": 85, "violation_count": 42, "scan_date": "2026-02-27T15:00:00.000Z" }, "violations": [ { "id": "viol_001", "rule_id": "AML_HIGH_RISK_COUNTRY", "severity": "HIGH", "record_id": "rec_456", "status": "open", "description": "Transaction with high-risk country" } ], "reviews": [ { "violation_id": "viol_002", "status": "false_positive", "reviewer": "user_789", "note": "Verified legitimate transaction", "timestamp": "2026-02-28T09:15:00.000Z" } ], "summary": { "total_violations": 42, "critical_severity": 5, "high_severity": 15, "medium_severity": 22 } } }
Export a full compliance report as JSON including scan metadata, violations, rules, and scores
json
NOT_FOUND
UNAUTHORIZED
INTERNAL_ERROR