API Reference
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.
Requires Professional plan or higher.
Authorization
bearerAuth AuthorizationBearer <token>
API keys are prefixed with bwk_live_ for production or bwk_test_ for testing.
Example: bwk_live_abc123xyz
Keys issued before the current format carry the vrt_live_/vrt_test_ prefix. Both prefixes are accepted while integrations rotate.
In: header
Response Body
application/json
application/json
curl -X GET "https://backworkhealth.com/api/v1/compliance/stats"{
"success": true,
"data": {
"total_changes_30d": 0,
"acknowledged_count": 0,
"unreviewed_count": 0,
"acknowledgment_rate": 0,
"critical_unreviewed": 0
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid query parameters",
"hint": "Check the 'code' parameter format",
"details": {}
},
"meta": {
"request_id": "req_abc123"
}
}Last updated on