Bots

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

get/bots/chats/{chat_id}

Request

  • Base URL
    https://api.krea.ai
  • Auth
    HTTP bearer

Path parameters

chat_id, string uuid required

Query parameters

limit, integer
before, integer

The before value of the previous page, for older messages.

Response

The chat.

object required
chat_id, string required
title, string required
kind, 'dm' | 'group' required
lead_bot_id, string nullable required
bots, object[] required
people, object[] required
messages, object[] required

Oldest first.

before, integer nullable required

Pass as before for older messages. Null at the start of the chat.

cursor, string required
url, string required

Changes