---
title: "Get Chat Info"
method: GET
path: "/admin/chat/{chat_id}"
tags: ["accepts-api-key"]
---

# Get Chat Info

`GET /admin/chat/{chat_id}`

## Request

- Base URL: `https://api.tellers.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tellers.ai/admin/chat/{chat_id}`
- Auth: none declared

Report a chat's stored state, its OpenAI response ids and conversation id.

Admin only, and deliberately unfiltered by chat membership: it exists to
debug a chat reported by a user, so it reads the row directly instead of
going through the permission-checked chat routes. It returns metadata and
the OpenAI identifiers, never the message contents.

## Path parameters

- `chat_id` string, uuid, required

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Response `200`

Successful Response

- ChatInfoResponse
  - `id` string, uuid, required
  - `name` string, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `start_running_at` string, date-time, nullable: Set while a turn is running; a stale value means the turn died without clearing it
  - `openai_conversation_id` string, nullable: OpenAI conversation the chat is continued under. Null for chats that predate conversations or never reached the model.
  - `llm_model` string, nullable
  - `total_tokens` number, required: Tellers tokens charged to the chat so far
  - `max_tokens` integer, nullable
  - `max_tokens_per_tour` integer, nullable
  - `is_public_read` boolean, required
  - `assistant_id` string, uuid, nullable
  - `custom_agent_id` string, uuid, nullable
  - `message_count` integer, required: Number of rows in the chat's message history
  - `members` ChatMemberEntry[], required: Users who can reach the chat, with their best right: the owner as ADMIN, people it is shared with, and members of groups it is shared with
    - `email` string, required: Email of a user who can reach the chat
    - `right` string, required: Right the chat's group grants them: ADMIN, WRITE or READ
  - `response_ids` ChatResponseIdEntry[], required: Distinct OpenAI response ids on the chat's messages, oldest first. Messages stored before the id was recorded carry none and are not reported here.
    - `response_id` string, required: OpenAI response id recorded on the chat's messages
    - `first_seen_at` string, date-time, nullable: Creation time of the oldest message carrying this id
    - `last_seen_at` string, date-time, nullable: Creation time of the newest message carrying this id
    - `message_count` integer, required: Number of chat messages stored under this response id

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tellers/apis/tellers-api.md) - [All operations](https://skmtc.dev/tellers/apis/tellers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tellers/apis/tellers-api/revisions/fdaa0fa44a26?raw)
