Unfortunately, Keycloak doesn’t provide a direct endpoint to list scopes assigned to a specific role. However, you can use the GET /admin/realms/{realm}/roles-by-id/{role-id} endpoint to fetch details about a role. If the role is composite, the response will include all associated roles and permissions (scopes). Alternatively, you can use GET /admin/realms/{realm}/clients/{client-id}/scope-mappings to retrieve all scope mappings for a client and cross-reference them with your role.