---
title: "Get Recent Chats"
method: GET
path: "/api/chat"
---

# Get Recent Chats

`GET /api/chat`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/chat`
- Auth: none declared

Get paginated list of chats for the authenticated user's team.

## Query parameters

- `page` integer: Page number (1-based)
- `count` integer: Number of items per page
- `limit` integer, nullable: Deprecated alias for count
- `my_chats` boolean: Filter to only show chats initiated by the current user

## Response `200`

Successful Response

- ChatListResponse: Response model for chat list with pagination.
  - `chats` ChatListItem[], required
    - `id` string, required
    - `created_at` string, nullable, required
    - `title` string, required
    - `preview` string, nullable, required
    - `initiated_by_email` string, nullable, required
  - `total_count` integer, required
  - `page` integer, required
  - `count` integer, required
  - `has_more` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
