client_session_stats
Retrieves active-session counts per client, busiest first, for Keycloak. Provides a complete, unbounded rollup to analyze client usage patterns.
Instructions
[READ] Active-session counts per client, busiest first (Keycloak).
KEYCLOAK ONLY. authentik has no per-client session rollup, so on an authentik target this returns {"error": "Resource 'client_session_stats' is not mapped for platform 'authentik'..."}. A platform-capability answer, not a fault — do not retry.
Args: target: IdP target name from config; omit for the default.
Returns {"clients": [...], "returned": N, "truncated": false} — the rollup is unbounded, so this listing is always complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |