Skip to content

AIChatServerMessage

AI chat server message

Property Type Description
agent? string Currently-active specialist agent name, on agent_transition events.
agent_thought? AIAgentThought Agent thought payload, present on agent_thought events (supervisor mode).
agent_transition? AIAgentTransition Agent transition payload, present on agent_transition events (supervisor mode).
chatbot? string -
code? string -
conversation_id? string -
daily_quota? AIDailyQuotaSnapshot Per-user daily quota snapshot at turn end (Ask 2). Omitted when no limits configured.
data? Record<string, unknown>[] -
delta? string -
error? string -
matched_intent_rules? AIMatchedIntentRule[] Intent rules that fired for this turn (Ask 5). Empty when none match.
message? string -
message_id? string -
page_context? string Echo of the client’s page_context, on agent_transition events.
query? string -
row_count? number -
step? string -
summary? string -
type "error" | "cancelled" | "tool_result" | "chat_started" | "progress" | "content" | "query_result" | "agent_transition" | "agent_thought" | "done" -
usage? AIUsageStats -