---
title: "List webchat sessions"
method: GET
path: "/api/v1/chat/sessions"
tags: ["Chat"]
---

# List webchat sessions

`GET /api/v1/chat/sessions`

**Required scope:** `chat`

## Query parameters

- `page` integer
- `page_size` integer
- `username` string

## Response `200`

Standard AstrBot success response

- SuccessEnvelope
  - `status` 'ok', required
  - `message` string
  - `data` unknown, required

## Changes

- **2026-06-14** `6b73b947caab` — 1 breaking, 5 warning, 11 info
  - the `data` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - deleted the `query` request parameter `platform_id`
  - removed the optional property `data/page` from the response with the `200` status
  - removed the optional property `data/page_size` from the response with the `200` status
  - …13 more
- **2026-03-09** `3d43cee2622a` — 7 breaking, 11 info
  - the `query` request parameter `username` became required
  - for the `query` request parameter `page_size`, the max was decreased from `200.00` to `100.00`
  - the response property `message` became nullable for the status `200`
  - the response property `data` became optional for the status `200`
  - …14 more

[Change history](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/changes/api/v1/chat/sessions/get.md)

---

[API](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/revisions/9f8da1b16ca0/schema)
