Get identity summary for a node
/api/v1/nodes/{id}/identities/summaryReturns aggregate identity-assignment counts for a node, gated by hierarchy.view. Computed across the node's lineage so both direct and inherited assignments are reflected: direct_count, inherited_count, status breakdown (active_count, scheduled_count, expired_count, expiring_soon_count), distinct_role_count, a sample of the five most recent identities, and can_manage_assignments (whether the caller also holds hierarchy.manage here). Returns 404 when the node is not found in this Environment.
Authentication
Authorization Option A JWT access token. Never send alongside X-API-Key: a request carrying both is refused.
X-API-Key Option B API key for management-tier access. Never send alongside an Authorization header: a request carrying both is refused.
Path Parameters
idstring Required Responses
application/json
data *NodeIdentitiesSummaryDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/nodes/value/identities/summary" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "data": { "direct_count": 0, "inherited_count": 0, "can_manage_assignments": false, "active_count": 0, "scheduled_count": 0, "expired_count": 0, "expiring_soon_count": 0, "distinct_role_count": 0, "recent_identities": [ { "id": "string", "first_name": "string", "last_name": "string", "name": "string", "avatar_url": "string" } ] } }
Tell us how we can improve this guide.