/api/v1/auditsLiveList audits
Returns a paginated-style list of residual audits for your organization, newest first. Each completed audit includes a high-level summary (merchant count, flagged items, recoverable variance). Processing audits appear without a summary until the run finishes.
Authentication: Bearer token required. Use a Supabase access token from an authenticated session during pilot access, or a dedicated API key once issued.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Max results (1 to 50, default 20). |
| org_id | uuid | No | Platform admins only. View another org (god_admin). |
Example request (curl)
curl -s "/api/v1/audits?limit=10" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Accept: application/json"Example request (JavaScript)
const res = await fetch("/api/v1/audits?limit=10", {
headers: {
Authorization: `Bearer ${accessToken}`,
Accept: "application/json",
},
});
const body = await res.json();Example response
{
"object": "list",
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"portfolio_id": "p1b2c3d4-e5f6-7890-abcd-ef1234567890",
"portfolio_name": "CardConnect Book",
"month_year": "2026-03",
"status": "complete",
"batch_job_status": "ended",
"uploaded_at": "2026-03-15T18:42:11.000Z",
"completed_at": "2026-03-15T18:47:03.000Z",
"summary": {
"total_merchants": 142,
"total_line_items": 1840,
"flagged_count": 8,
"amount_owed": 1247.5,
"total_variance": -1247.5
}
}
],
"has_more": false
}