List a user's active sessions (admin)
GET /admin/users/{ref}/sessions
Admin view of a specific user’s sessions for
the per-user admin detail page. Same row shape as the
self-service endpoint; current is omitted (admins are
viewing someone else’s sessions, not their own).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”The user’s active sessions.
object
One active session. The user-agent is best-effort
observability captured at login and can be null behind a proxy
that strips it. current is true only on the self-service
endpoint for the row that’s authenticating the request — the
UI uses it to hide its own revoke button.
object
Client IP recorded at login — PERSONAL DATA, and returned
ONLY on the admin view (GET /admin/users/{ref}/sessions,
behind users.read), where locating a suspicious session
is the point.
Never returned by GET /account/sessions (#567). That
endpoint is self-scoped, and on a shared-account install
“self” is every visitor — so the raw address is omitted
unconditionally rather than gated, per the data-
minimisation posture of ADR 0024.
Omitted from the JSON entirely, not blanked — the same convention AuditRow.ip uses (#425) — so an absent value always means “not returned to you” and never “no IP recorded”.
True only on /account/sessions for the session that authenticated the request. Omitted on the admin equivalent.
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completedResource not found
object
Human-readable error summary
Example
the request could not be completed