pub fn api_sessions(
_caller: Actor,
pool: &State<DbPool>,
) -> Result<Json<Vec<SessionDto>>, Status>Expand description
The active sessions (agent twin of the /admin/sessions screen): who is currently signed in.
Token-gated (the active-identity list is sensitive). 503 if the pool is exhausted.