---
title: "List recent copilot chats for the session coach"
method: GET
path: "/api/copilot/chats"
tags: ["Copilot"]
---

# List recent copilot chats for the session coach

`GET /api/copilot/chats`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/copilot/chats`
- Auth: API key in cookie `luca.session_token`

Ask Luca chats for the signed-in coach, newest first, with an optional search over titles. Archived chats are left out.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Query parameters

- `q` string

## Headers

- `idempotency-key` string, uuid: The first-message creation identity. Reusing it recovers the same owned chat; GET performs a read-only lookup of that identity.
- `Luca-API-Version` '1'

## Response `200`

ok

- CopilotChatListResponse
  - `chats` object[], required
    - `id` string, uuid, required
    - `title` string, required
    - `scopeType` 'global' | 'lead' | 'campaign' | 'analytics', required
    - `scopeId` string, required
    - `doId` string, required
    - `lastActiveAt` string, required
    - `createdAt` string, required

## Other responses

- `401`: unauthorized
- `429`: rate limited
- `500`: internal error
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
