curl -X GET "https://api.example.com/api/violations?scan_id=abc123&severity=CRITICAL&page=1&limit=20" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"violations": [
{
"id": "viol_789xyz",
"scan_id": "abc123",
"rule_id": "SAR_THRESHOLD",
"rule_name": "Suspicious Activity Report Filing Required",
"severity": "CRITICAL",
"account": "ACC-2024-001",
"amount": 15000,
"transaction_type": "WIRE",
"evidence": {
"transaction_id": "TXN-456",
"transaction_date": "2024-01-15",
"counterparty": "High Risk Entity",
"risk_score": 85
},
"threshold": 10000,
"actual_value": 15000,
"policy_excerpt": "Financial institutions must file a SAR within 30 days of detecting suspicious activity involving $5,000 or more.",
"policy_section": "31 CFR 1020.320",
"explanation": "Transaction exceeds SAR filing threshold and involves a high-risk counterparty without proper documentation.",
"status": "pending",
"review_note": null,
"reviewed_at": null,
"created_at": "2024-02-28T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 47,
"pages": 3
}
}
Retrieve a paginated list of compliance violations with optional filtering
curl -X GET "https://api.example.com/api/violations?scan_id=abc123&severity=CRITICAL&page=1&limit=20" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"violations": [
{
"id": "viol_789xyz",
"scan_id": "abc123",
"rule_id": "SAR_THRESHOLD",
"rule_name": "Suspicious Activity Report Filing Required",
"severity": "CRITICAL",
"account": "ACC-2024-001",
"amount": 15000,
"transaction_type": "WIRE",
"evidence": {
"transaction_id": "TXN-456",
"transaction_date": "2024-01-15",
"counterparty": "High Risk Entity",
"risk_score": 85
},
"threshold": 10000,
"actual_value": 15000,
"policy_excerpt": "Financial institutions must file a SAR within 30 days of detecting suspicious activity involving $5,000 or more.",
"policy_section": "31 CFR 1020.320",
"explanation": "Transaction exceeds SAR filing threshold and involves a high-risk counterparty without proper documentation.",
"status": "pending",
"review_note": null,
"reviewed_at": null,
"created_at": "2024-02-28T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 47,
"pages": 3
}
}
List all violations detected during compliance scans. Supports filtering by scan, severity, status, and rule.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.
CRITICAL, HIGH, MEDIUMpending, approved, false_positiveCTR_MISSING, SAR_THRESHOLD)CRITICAL, HIGH, or MEDIUMWIRE, ACH, CASH)pending, approved, or false_positivecurl -X GET "https://api.example.com/api/violations?scan_id=abc123&severity=CRITICAL&page=1&limit=20" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"violations": [
{
"id": "viol_789xyz",
"scan_id": "abc123",
"rule_id": "SAR_THRESHOLD",
"rule_name": "Suspicious Activity Report Filing Required",
"severity": "CRITICAL",
"account": "ACC-2024-001",
"amount": 15000,
"transaction_type": "WIRE",
"evidence": {
"transaction_id": "TXN-456",
"transaction_date": "2024-01-15",
"counterparty": "High Risk Entity",
"risk_score": 85
},
"threshold": 10000,
"actual_value": 15000,
"policy_excerpt": "Financial institutions must file a SAR within 30 days of detecting suspicious activity involving $5,000 or more.",
"policy_section": "31 CFR 1020.320",
"explanation": "Transaction exceeds SAR filing threshold and involves a high-risk counterparty without proper documentation.",
"status": "pending",
"review_note": null,
"reviewed_at": null,
"created_at": "2024-02-28T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 47,
"pages": 3
}
}
GET /api/violations?scan_id=abc123
GET /api/violations?scan_id=abc123&severity=CRITICAL&status=pending
GET /api/violations?scan_id=abc123&page=2&limit=50