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

# List Sessions

`GET /api/chat/sessions`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/chat/sessions`
- Auth: HTTP bearer

List all chat sessions for the authenticated user, newest first.
Includes last message preview and message count to avoid N+1 queries.

## Response `200`

Successful Response

- AppApiChatSessionResponse[]
  - `id` string, required
  - `title` string, required
  - `created_at` string, required
  - `updated_at` string, required
  - `last_message_preview` string, nullable
  - `message_count` integer

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
