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
| Status | Description |
|---|---|
| 401 | Missing or invalid access token |
| 403 | User is not an org admin |
Example
curl -s https://app.entryguard.io/api/v1/resource-health/issue-count \
-H "Authorization: Bearer <token>"