---
title: "List chats"
method: GET
path: "/v2/chats"
tags: ["Chats"]
deprecated: true
---

# List chats

`GET /v2/chats`

> **Deprecated.**

Lists previous chats in the account.

## Query parameters

- `limit` integer
- `page_key` string

## Headers

- `Request-Timeout` integer
- `Request-Timeout-Millis` integer

## Response `200`

List of chats.

- ListChatsResponse — Response containing a list of chat conversations.
  - `chats` Chat[] — List of chats.
    - `id` string, required — ID of the chat.
    - `first_query` string — The first query of the chat.
    - `first_answer` string — The first answer of the chat.
    - `enabled` boolean — Indicates whether this chat is enabled and can have further turns.
    - `created_at` string, date-time — Specifies when this chat was created.
  - `metadata` ListMetadata — The standard metadata in the response of a list operation.
    - `page_key` string — The page key for the next page of results. Pass it as a query parameter to request the next page.

## Other responses

- `403` — Permissions do not allow listing chats.
- `404` — Corpus not found.

---

[API](https://skmtc.net/vectara/apis/vectara-rest-api-v2.md) · [All operations](https://skmtc.net/vectara/apis/vectara-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vectara/vectara-rest-api-v2/versions/fca567a46b3a/schema)
