Skip to main content

Get Issue Count

Returns the number of resources that currently have active health issues. Useful for badges and status indicators.

Request​

GET /api/v1/resource-health/issue-count

Authentication​

Requires a valid access token with org admin role.

Authorization: Bearer <access_token>

Response​

200 OK​

3

The response body is a plain integer (not wrapped in an object).

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/issue-count \
-H "Authorization: Bearer <token>"