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

# List Sessions

`GET /api/v2/sessions`

If authenticated as an admin, returns all the account's sessions. If authenticated as an agent or end user, returns only the sessions of the user making the request.

#### Pagination

- Cursor pagination (recommended)
- Offset pagination

See [Pagination](/api-reference/introduction/pagination/).

#### Allowed For

* Admins, Agents, End users

## Response `200`

Success response

- SessionsResponse
  - `sessions` SessionObject[]
    - `authenticated_at` string, nullable — When the session was created
    - `id` integer, required — Automatically assigned when the session is created
    - `last_seen_at` string, nullable — The last approximate time this session was seen. This does not update on every request.
    - `url` string, nullable — The API URL of this session
    - `user_id` integer, nullable — The id of the user

---

[API](https://skmtc.dev/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.dev/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botbrains-io/support-api/revisions/0dc435e9b0fd/schema)
