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}
Request
- Base URLhttps://brew.new/api
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chatIdstring required
The Brew chat id (from the chat URL / the app).
Example:Hk2mZ8t9QbY3sW1vR0pLd
Response
The chat context digest.
Changes
No recorded changes to this operation across all 1 revision of this API.