---
title: "Get all chat threads"
method: GET
path: "/api/v5/ai-chat/threads/"
tags: ["Ai Chat Threads"]
---

# Get all chat threads

`GET /api/v5/ai-chat/threads/`

Get all threads

## Response `200`

Successful Response

- ListOfAiChatThreadsInResponse
  - `threads` AiChatThread[], required — List of chat threads
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `deletedAt` string, date-time
    - `id` integer
    - `userId` integer, required — User ID associated with the thread
    - `title` string, required — Title of the chat thread
    - `gptModel` string — GPT model used
    - `hidden` boolean — Flag to hide/show the thread

---

[API](https://skmtc.net/pavlok/apis/pavlok-api-v5.md) · [All operations](https://skmtc.net/pavlok/apis/pavlok-api-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pavlok/pavlok-api-v5/revisions/3d192098b1ac/schema)
