---
title: "Summarize a chat"
method: GET
path: "/chats/{chat_id}/summary"
tags: ["Chat"]
---

# Summarize a chat

`GET /chats/{chat_id}/summary`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/chats/{chat_id}/summary`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/chats/:chat_id/summary/get.ts> (a function with typed inputs; its response is checked against the schema)

Generate a short LLM summary of the chat's recent conversation.

## Path parameters

- `chat_id` integer, required

## Query parameters

- `cookie_name` string, nullable

## Response `200`

Successful Response

- string

## Other responses

- `401`: Missing or invalid authentication.
- `403`: No access to the chat, or usage budget exceeded.
- `404`: Chat or owning user does not exist.
- `422`: Validation Error

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
