Get pending approvals count
Retrieve the count of policy approval requests pending for a user. Optimized for badge displays and quick checks.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
userId | UUID | Yes | User identifier |
Use Cases
- Display approval count badge in UI
- Show "N approvals pending" without loading full list
- Quick check if user has pending items
Required Permission
policies:read
Get pending approvals count
Retrieve the count of policy approval requests pending for a user. Optimized for badge displays and quick checks.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
userId | UUID | Yes | User identifier |
Use Cases
- Display approval count badge in UI
- Show "N approvals pending" without loading full list
- Quick check if user has pending items
Required Permission
policies:read