Skip to main content

Overview

The AI Chat API powers the conversational builder experience. It uses Server-Sent Events (SSE) for streaming responses.

Send Message

/builder/ai/chat
Send a message to the AI assistant and receive a streaming response.
Request Body
Parameters Response (SSE Stream) The response is a Server-Sent Events stream:

Stream Event Types


Get Chat History

/marketing/ai/chat/history/{sessionId}
Retrieve the chat history for a session.
Path Parameters

AI Usage

/ai/usage/user/{userId}
Get AI token usage for a specific user.
Path Parameters Response