---
title: "List user sessions"
method: GET
path: "/api/auth/admin/users/{user_id}/sessions"
tags: ["Admin User State"]
---

# List user sessions

`GET /api/auth/admin/users/{user_id}/sessions`

Lists all sessions for a user.

## Path parameters

- `user_id` string, required

## Response `200`

OK

- AdminUserSession[], nullable
  - `session` Session, required
    - `created_at` string, date-time, required
    - `expires_at` string, date-time, required
    - `id` string, required
    - `ip_address` string, nullable
    - `token` string, required
    - `updated_at` string, date-time, required
    - `user_agent` string, nullable
    - `user_id` string, required
  - `state` AdminSessionState
    - `created_at` string, date-time, required
    - `impersonation_expires_at` string, date-time, nullable
    - `impersonation_reason` string, nullable
    - `impersonator_session_id` string, nullable
    - `impersonator_user_id` string, nullable
    - `revoked_at` string, date-time, nullable
    - `revoked_by_user_id` string, nullable
    - `revoked_reason` string, nullable
    - `session_id` string, required
    - `updated_at` string, date-time, required

## Changes

- **2026-07-08** `61a78375af21` — 6 info
  - the response property `items/session/created_at` became required for the status `200`
  - the response property `items/session/expires_at` became required for the status `200`
  - the response property `items/session/id` became required for the status `200`
  - the response property `items/session/token` became required for the status `200`
  - …2 more
- **2026-07-08** `2ff1d8d3f239` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/authula/apis/authula-api/changes/api/auth/admin/users/:user_id/sessions/get.md)

---

[API](https://skmtc.dev/authula/apis/authula-api.md) · [All operations](https://skmtc.dev/authula/apis/authula-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/authula/authula-api/revisions/61a78375af21/schema)
