Get compliance statistics
Returns compliance dashboard statistics for the authenticated organization, including total changes, acknowledgment count, acknowledgment rate, and critical unreviewed count for the last 30 days.
Endpoint: GET /api/v1/compliance/stats
Availability: Live in production.
Authentication: API key in Authorization: Bearer <key> with the read scope.
Returns compliance dashboard statistics for the authenticated organization, including total changes, acknowledgment count, acknowledgment rate, and critical unreviewed count for the last 30 days. Requires a plan with the compliance dashboard.
Example request
curl -X GET "https://backworkhealth.com/api/v1/compliance/stats" \
-H "Authorization: Bearer $BACKWORK_API_KEY"Example response (200)
{
"success": true,
"data": {
"total_changes_30d": 0,
"acknowledged_count": 0,
"unreviewed_count": 0,
"acknowledgment_rate": 0,
"critical_unreviewed": 0
},
"meta": {
"request_id": "string",
"timestamp": "2026-01-15T10:30:00Z"
}
}Authorization
bearerAuth API key in format: bwk_live_xxxxx. Keys issued before the rename (vrt_live_) remain valid. bwk_test_ keys work only on the sandbox.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/compliance/stats"{ "success": true, "data": { "total_changes_30d": 0, "acknowledged_count": 0, "unreviewed_count": 0, "acknowledgment_rate": 0, "critical_unreviewed": 0 }, "meta": { "request_id": "string", "timestamp": "2019-08-24T14:15:22Z" }}Last updated on