Skip to main content

Get Health Summary

Returns a list of resources with active health issues. Each issue includes the resource details, the latest failure event type, error message, and timestamp.

Request

GET /api/v1/resource-health/summary

Authentication

Requires a valid access token with org admin role.

Authorization: Bearer <access_token>

Response

200 OK

{
"issues": [
{
"resourceId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"resourceName": "prod-api-sg",
"provider": "AWS",
"resourceType": "security_group",
"lastEventType": "VERIFY_FAILED",
"message": "User is not authorized to perform: ec2:DescribeSecurityGroups",
"since": "2026-03-22T10:30:00Z"
}
],
"totalIssues": 1
}

Response Fields

FieldTypeDescription
issuesarrayList of resources with active issues
issues[].resourceIdstring (UUID)Resource ID
issues[].resourceNamestringResource display name
issues[].providerstringCloud provider (AWS, AZURE, APISIX, VERCEL, GCP, AGENT, DEMO)
issues[].resourceTypestringResource type (e.g., security_group, nsg, waf_policy)
issues[].lastEventTypestringMost recent failure event type (VERIFY_FAILED or RECONCILE_FAILED)
issues[].messagestringError message from the last failure
issues[].sincestring (ISO 8601)When the issue was first detected
totalIssuesintegerTotal count of resources with issues

Error Responses

StatusDescription
401Missing or invalid access token
403User is not an org admin

Example

curl -s https://app.entryguard.io/api/v1/resource-health/summary \
-H "Authorization: Bearer <token>"