Add message to agent conversation with streaming response
Append a user message to an existing agent conversation and stream the assistant reply over SSE.
AG-UI is the sole wire protocol. The request must include chatMode: quick; see AgentMessageStreamSSEEvent for the event vocabulary.
Path parameters
Request body
Example request
{
"query": "can you elaborate on the latest headlines?",
"modelKey": "5c1832f4-fa19-4167-b913-307fad3a6551",
"modelName": "gpt-5.4-mini",
"modelFriendlyName": "GPT 5.4 mini",
"chatMode": "quick",
"timezone": "Asia/Kolkata",
"currentTime": "2026-05-19T12:58:01+05:30",
"tools": [],
"filters": {
"apps": [
"2605c882-61d4-4aa2-b480-a68c957c151d",
"ed6d6cc4-70bd-4838-9aeb-488e910c833a"
],
"kb": [
"8747da12-4724-4a95-ac92-827b88d79647"
]
},
"appliedFilters": {
"apps": [
{
"id": "2605c882-61d4-4aa2-b480-a68c957c151d",
"name": "US Headlines, abcnews",
"nodeType": "app",
"connector": "RSS"
},
{
"id": "ed6d6cc4-70bd-4838-9aeb-488e910c833a",
"name": "ABC News RSS",
"nodeType": "app",
"connector": "RSS"
}
],
"kb": [
{
"id": "8747da12-4724-4a95-ac92-827b88d79647",
"name": "Siddhant Ota's Private",
"nodeType": "recordGroup",
"connector": "KB"
}
]
}
}Response
SSE stream (text/event-stream)
Changes
Changed in 1 of the 15 revisions of this API.42115
- ▲
the request property
became requiredrequest-property-became-required
- ▲
removed the enum value
autoof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
deepof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
verificationof the request propertyrequest-property-enum-value-removed
- ●
added the new
CUSTOMenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
HEARTBEATenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
REASONING_ENDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
REASONING_MESSAGE_CONTENTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
REASONING_MESSAGE_ENDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
REASONING_MESSAGE_STARTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
REASONING_STARTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
RUN_ERRORenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
RUN_FINISHEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
RUN_STARTEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
STATE_DELTAenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
STATE_SNAPSHOTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
STEP_FINISHEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
STEP_STARTEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
TEXT_MESSAGE_CONTENTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
TEXT_MESSAGE_ENDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
TEXT_MESSAGE_STARTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_CALL_ARGSenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_CALL_ENDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_CALL_RESULTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
TOOL_CALL_STARTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
removed the
answer_chunkenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
completeenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
connectedenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
errorenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
metadataenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
restreamingenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
statusenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
tool_callenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
tool_callsenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
tool_errorenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
tool_execution_completeenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
tool_resultenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
tool_successenum value from theresponse property for the response statusresponse-property-enum-value-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲