Stream agent execution in real-time
Stream an existing agent execution in real-time via SSE, providing live message chunks, tool calls, and status updates until completion.
Path parameters
The key or ID of the agent to invoke
The key or ID of the agent to invoke
Request body
Example request
{
"identity": {
"id": "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"display_name": "Jane Doe",
"email": "jane.doe@example.com",
"metadata": [
{
"department": "Engineering",
"role": "Senior Developer"
}
],
"logo_url": "https://example.com/avatars/jane-doe.jpg",
"tags": [
"hr",
"engineering"
]
},
"contact": {
"id": "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"display_name": "Jane Doe",
"email": "jane.doe@example.com",
"metadata": [
{
"department": "Engineering",
"role": "Senior Developer"
}
],
"logo_url": "https://example.com/avatars/jane-doe.jpg",
"tags": [
"hr",
"engineering"
]
},
"thread": {
"id": "thread_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"tags": [
"customer-support",
"priority-high"
]
}
}Response
Server-Sent Event stream successfully established. Returns real-time events including agent messages, tool calls, status updates, and completion signals. The stream ends with a [DONE] sentinel value.
Changes
Changed in 12 of the 256 revisions of this API.1419
- ○
the
timeoutresponse's property default value120was removed for the status200response-property-default-value-removed
- ○
the
timeoutresponse's property default value120was removed for the status200response-property-default-value-removed
- ○
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationfrom the response with the200statusresponse-optional-property-removed
This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationfrom the response with the200statusresponse-optional-property-removed
This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationfrom the response with the200statusresponse-optional-property-removed
This revision also has 43 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationfrom the response with the200statusresponse-optional-property-removed
This revision also has 38 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/chat_exposedto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #2: Agent Started Event]/data/settings/tools/items/configurationto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/oneOf[subschema #6: Action Review Requested Event]/data/tool/configurationto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 256 revisions, 71 have no diff computed.