---
title: "List Private Chats"
method: GET
path: "/worker/{worker_id}/private-chats"
tags: ["workers"]
---

# List Private Chats

`GET /worker/{worker_id}/private-chats`

The caller's open private chats on this worker, newest first.

Includes the original chat the parent-scoped routes address. Each chat is read and
written through its own ``worker_id`` via ``/worker/{worker_id}/events`` and
``/worker/{worker_id}/messages``. The owner comes from the session, so this cannot
list anyone else's chats.

## Path parameters

- `worker_id` string, required

## Query parameters

- `limit` integer
- `before_created_at` string, date-time, nullable
- `before_id` string, nullable

## Response `200`

Successful Response

- ListPrivateChatsResponse — One page of the caller's open private chats on a worker, newest first.
  - `chats` PrivateChatListItem[], required
    - `worker_id` string, required
    - `title` string, nullable, required
    - `created_at` string, date-time, required
  - `next_cursor` PrivateChatCursor, required — Keyset position on ``(created_at, id)``; echo it back as ``before_*``.
    - `created_at` string, date-time, required
    - `id` string, required

## Other responses

- `422` — Validation Error

## Changes

> 64 revisions in range; 9 not diffed.

- **2026-10-02** `53b6ebae31bc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/traversal/apis/fastapi/changes/worker/:worker_id/private-chats/get.md)

---

[API](https://skmtc.dev/traversal/apis/fastapi.md) · [All operations](https://skmtc.dev/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/traversal/apis/fastapi/revisions/609da234e5da?raw)
