VerityVerity
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.

GET
/compliance/stats

Authorization

bearerAuth
AuthorizationBearer <token>

API keys are prefixed with vrt_live_ for production or vrt_test_ for testing. Example: vrt_live_abc123xyz

In: header

Response Body

application/json

application/json

curl -X GET "https://verity.backworkai.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