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.
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.
AI Usage
/ai/usage/user/{userId}
Get AI token usage for a specific user.
Response