---
title: "Get Bot Chat"
method: GET
path: "/bots/chats/{chat_id}"
tags: ["Bots"]
---

# Get Bot Chat

`GET /bots/chats/{chat_id}`

## Request

- Base URL: `https://api.krea.ai`
- URL: `https://api.krea.ai/bots/chats/{chat_id}`
- Auth: HTTP bearer

Read a chat the caller belongs to with a page of its messages, newest page first. Use `before` to page back.

## Path parameters

- `chat_id` string, uuid, required

## Query parameters

- `limit` integer
- `before` integer: The `before` value of the previous page, for older messages.

## Response `200`

The chat.

- object
  - `chat_id` string, required
  - `title` string, required
  - `kind` 'dm' | 'group', required
  - `lead_bot_id` string, nullable, required
  - `bots` object[], required
    - `id` string, required
    - `name` string, required
    - `role` string, required: What it does, in a few words.
    - `description` string, required
    - `color` string, required: Its body color as a hex string.
    - `owner` object, required
      - `id` string, required
      - `name` string, required
    - `is_owner` boolean, required
    - `shared` boolean, required: Shared with everyone in the workspace.
    - `status` 'idle' | 'working', required
  - `people` object[], required
    - `id` string, required
    - `name` string, required
  - `messages` object[], required: Oldest first.
    - `id` integer, required: Its position in the chat. Later messages are higher.
    - `created_at` string, required
    - `author` object, required
      - `kind` 'person' | 'bot' | 'system', required
      - `id` string
      - `name` string
    - `via` string: Where a message not written in Krea came from, such as `API`.
    - `text` string, required
    - `attachments` object[], required
      - `url` string, required: Absolute. Krea files come as a signed link.
      - `uri` string
      - `name` string
      - `mime_type` string
      - `width` number
      - `height` number
  - `before` integer, nullable, required: Pass as `before` for older messages. Null at the start of the chat.
  - `cursor` string, required
  - `url` string, required

## Other responses

- `400`: Invalid JSON body, or a request the chat refuses.
- `401`: Authentication required.
- `403`: Bots is not included in the workspace plan, not open to this account, or the caller may not make this change to the chat.
- `404`: Bot, chat, question or attachment not found or not accessible.
- `409`: The chat changed under the request.
- `422`: Invalid input.
- `429`: Too many requests.

## Changes

- **2026-12-03** `ae8c061af7e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/krea/apis/krea-api/changes/bots/chats/:chat_id/get.md)

---

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