Retrieves compliance graph data for a specific resource within a custom group, showing the overall compliance percentage and breakdown of all profiles scanned
https://{serverurl}/dcapi/scap/compliance/result/resourceGraph/{resourceId}
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Computer/resource ID. Fetch from Get CG Association Details
Custom group resource ID
Collection ID
curl --request GET \
--url https://appdomains/dcapi/scap/compliance/result/resourceGraph/{resourceId} \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Scan status. SCAN_SCHEDULED, SCAN_FAILED, SCAN_SUCCEEDED, or YET_TO_SCAN
Compliance status breakdown for the resource
Total rules across all profiles for the resource
Number of scanned profiles
Number of failed rules
Overall pass percentage or NA
Detailed rule breakdown
Total passed rules
Total failed rules
Total unscored rules
Total error rules
Unauthorized error code: credentials missing, expired, or invalid
Authentication failure reason
Rate limit error code returned when the API call reached threshold
Rate limit exceeded message with retry guidance
Resource compliance graph data after successful scan
{
"scan": "SCAN_SUCCEEDED",
"status": {
"scanned": 2,
"percentage": "82",
"breakdown": {
"unscored": 35,
"passed": 400,
"failed": 45,
"error": 10
},
"attention": 45,
"totalRules": 490
}
}
Authentication credentials are missing or invalid
{
"errorMessage": "Authentication required",
"errorCode": "UNAUTHORIZED"
}
API call threshold exceeded
{
"errorMessage": "Rate limit exceeded. Retry after some time",
"errorCode": "TOO_MANY_REQUESTS"
}
![]()
Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.