---
title: "index"
method: GET
path: "/api/chats"
tags: ["Chat"]
---

# index

`GET /api/chats`

## Query parameters

- `filter[chat_interface_id]` string
- `filter[form_interface_id]` string
- `filter[has_artifacts]` string
- `filter[parent_segment_id]` integer
- `filter[project_id]` string
- `filter[service_type]` string
- `sort` string

## Response `200`

Empty chat list when no chat sessions exist

## Other responses

- `400` — GET /api/chats filters invalid parent_segment_id
- `401` — Rejected by 401

---

[API](https://skmtc.net/treasure/apis/llm-api.md) · [All operations](https://skmtc.net/treasure/apis/llm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasure/llm-api/revisions/56f275763358/schema)
