---
title: "Get a chat"
method: GET
path: "/api/public/organizations/{orgId}/chats/{chatId}"
tags: ["Chats"]
---

# Get a chat

`GET /api/public/organizations/{orgId}/chats/{chatId}`

## Request

- Base URL: `https://charts.basedash.com`
- URL: `https://charts.basedash.com/api/public/organizations/{orgId}/chats/{chatId}`
- Auth: HTTP bearer

Retrieves a single chat, including its name and whether the assistant is currently responding.

## Path parameters

- `orgId` string, required: Organization ID
- `chatId` string, required: Chat ID

## Response `200`

Chat retrieved successfully

- PublicChatResponse
  - `data` PublicChat, required
    - `id` string, required: Chat ID
    - `organizationId` string, required: Organization ID
    - `name` string, required: Chat name, generated automatically from the first message
    - `status` 'generating' | 'finished', required: `generating` while the assistant is responding, `finished` otherwise
    - `source` 'api', required: Chat creation source
    - `memberId` string, nullable, required: Creating member ID
    - `createdAt` string, date-time, required: Creation timestamp
    - `updatedAt` string, date-time, required: Last update timestamp

## Other responses

- `401`: Unauthorized - Missing or invalid API key
- `404`: Not found - Chat not found or no member access
- `429`: Rate limit exceeded - Too many requests
- `500`: Internal server error

---

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