---
title: "List sessions"
method: GET
path: "/auth/sessions"
tags: ["Sessions"]
---

# List sessions

`GET /auth/sessions`

List all sessions for the current user.

## Query parameters

- `user_id` string, required — The ID of the user, or the special value `me` for the currently authenticated user

## Response `200`

Successful response

- object
  - `items` object[], required
    - `id` string, required
    - `user_id` string, required
    - `created_at` number, required
    - `is_impersonation` boolean, required
    - `last_used_at` number
    - `is_current_session` boolean
    - `last_used_at_end_user_ip_info` object
      - `ip` string, required
      - `countryCode` string
      - `regionCode` string
      - `cityName` string
      - `latitude` number
      - `longitude` number
      - `tzIdentifier` string
  - `pagination` object
    - `next_cursor` string — The cursor to fetch the next page of results. null if there is no next page.

---

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