Admin Sessions

Get session inventory stats

Returns aggregate counters across all live sessions (total, by transport, anonymous count, Azure exchange-cache count). Result is cached per-process for ~30 seconds; the cache_age_seconds field communicates freshness so a polling dashboard can render it.

get/admin/sessions/stats

Request

Response

Successful operation

totalinteger required

Total number of live sessions.

by_transportobject required

Counters partitioned by transport (keycloak, anonymous, spoof, unknown).

anonymous_countinteger required

Number of guest / anonymous sessions.

azure_cache_countinteger required

Number of distinct Azure tokens currently cached for federation exchange. Approximate; not a user count.

computed_atstring date-time required

When the cached stats were computed.

cache_age_secondsinteger required

Wall-clock age of the cached stats, in seconds. Useful for rendering freshness in a polling UI.

session_default_ttlstring required

Configured default TTL for session keys (Go duration string, e.g. 168h0m0s).

Changes

No recorded changes to this operation across all 1 revision of this API.