Lists the recorded daily billing sweep runs, nightly and admin-triggered, most recent first, with timings, status, counts and failed groups. Page with limit (default 50) and skip. Super admin only.
GET
/admin/billing/sweep-runs
curl \
--request GET 'http://api.example.com/admin/billing/sweep-runs' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": "65a1b2c3d4e5f6a7b8c9d0f0",
"startedAt": "2026-01-15T10:15:00.000Z",
"finishedAt": "2026-01-15T10:20:00.000Z",
"durationMs": 300000,
"status": "succeeded",
"manual": false,
"organizationId": "string",
"invoicesCreated": 3,
"totalCents": 45000,
"groupsFailed": 0,
"stuckReset": 0,
"baseFeeRowsCreated": 2,
"recurringAddonRowsCreated": 1,
"failedGroups": [
"string"
],
"error": "string"
}
],
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}