Agents
Create agent conversation with streaming response
Start a new conversation with the specified agent and stream the AI response as Server-Sent Events (SSE). The first user message is saved and forwarded to the upstream agent backend; subsequent tokens, tool calls, and lifecycle events are emitted on the open SSE connection.
post/agents/{agentKey}/conversations/stream
Path parameters
agentKeystring required
Stable key identifying the agent that owns this conversation.
Request body
Example request
{
"query": "what are some latest tech news?",
"modelKey": "5c1832f4-fa19-4167-b913-307fad3a6551",
"modelName": "gpt-5.4-mini",
"modelFriendlyName": "GPT 5.4 mini",
"chatMode": "auto",
"timezone": "Asia/Kolkata",
"currentTime": "2026-05-19T12:58:01+05:30",
"tools": [],
"filters": {
"apps": [
"2605c882-61d4-4aa2-b480-a68c957c151d",
"ed6d6cc4-70bd-4838-9aeb-488e910c833a",
"aeab9ddc-fb9b-47c8-ad98-bd4744e19555"
],
"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"
},
{
"id": "aeab9ddc-fb9b-47c8-ad98-bd4744e19555",
"name": "Hacker 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)