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
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
}
}
}
Exports a comprehensive compliance report for a specific scan or the latest scan. The report includes complete scan metadata, all violations with details, review history, policy information, and summary statistics.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Basit-Ali0/Yggdrasil/llms.txt
Use this file to discover all available pages before exploring further.
json is supported.NOT_FOUND, UNAUTHORIZED, or INTERNAL_ERRORcurl -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
}
}
}