API v1
Agents
Agent Conversations
Run Conversation Turn (Stream)
Run one turn and stream every event over SSE: the head's task_created (its id is the conversation id), the task's task_created, the task's chunks, tool calls, plans and cards, then one task_finished for the head carrying the answer. Pass id = conversation_id to continue a conversation.
post/v1/agents/{agent_id}/conversations/invoke/stream
Request
- Base URLhttps://api.xpander.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
Path parameters
agent_idstring required
Query parameters
versionstring nullable
Agent version to run.
sub_tasks'sync' | 'async' | 'auto'
How the agent's own sub-tasks run inside this turn (not whether this API call blocks): 'sync' runs every sub-task inline, 'async' queues every sub-task, 'auto' restores the per-sub-task decision. The mode sticks to the conversation until changed.
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 4 revisions of this API.