v1

latestOpenAPI 3.1.02026-07-2670105729.6 KB
Chats

Get chat context

Read a brand-scoped digest of a Brew chat for resuming the conversation in an external agent: the emails + automations it created/referenced (latest version, with preview), the trigger events it touched, and a trimmed tail of the transcript. Read-only and free. 404 CHAT_NOT_FOUND for an unknown id OR a chat owned by a different brand (the two are indistinguishable).

get/v1/chats/{chatId}

Path parameters

chatIdstring required

The Brew chat id (from the chat URL / the app).

Example:Hk2mZ8t9QbY3sW1vR0pLd

The Brew chat id (from the chat URL / the app).

Response

The chat context digest.

chatIdstring required
titlestring nullable required
modelIdstring nullable required
updatedAtstring nullable required
messageCountnumber required
triggerEventIdsstring[] required