compliance_decisions_list
Every warn/block a compliance gate produced for this workspace, plus one allow row per sent message (proof the check ran). Use it to answer "why wasn't this lead emailed?": filter by lead or campaign. Each row carries explanation ({why, fix}) for its reason code. Newest first.
Method: GET /api/v1/workspaces/{workspace_sqid}/compliance-decisions/
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compliance_decisions_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | No | Gate name (country, suppression, …). | |
| lead | No | Lead sqid. | |
| limit | No | Number of results to return per page. | |
| since | No | ISO date or datetime; rows at or after it. | |
| stage | No | generate, approve, send, preflight, activate… | |
| offset | No | The initial index from which to return the results. | |
| result | No | allow, warn or block. | |
| message | No | Message sqid. | |
| campaign | No | Campaign sqid. | |
| reason_code | No | Reason code, e.g. consent_required. |