Stream Session Thread Events
Path parameters
Path parameter session_id
Path parameter thread_id
Query parameters
When set, this connection also receives streaming deltas (event_start, event_delta) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal span.model_request_end closes the preview. Accepts one or more event types to preview and may be repeated: agent.message streams content_delta fragments; agent.thinking is start-only — a signal that the agent has begun extended thinking, concluded by the agent.thinking event itself. Only previews of the requested event types are sent.
Headers
Response
Successful response (OK)
Example response
{
"type": "user.message",
"id": "sevt_011CZkZGOp0iBcp4kaQSihUmy",
"content": [
{
"type": "text",
"text": "Where is my order #1234?"
}
],
"processed_at": "2026-03-15T10:00:00Z"
}Changes
Changed in 16 of the 68 revisions of this API.7367
- ○
added
subschema #2to the//////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////////////////////////response propertyanyOflist for the response statusresponse-property-any-of-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added to the
///////////////////////////////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
////////////////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
removed the required property
////////////////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/////////////////from the response with the statusresponse-required-property-removed
- ○
added discriminator to
///////////////////////////////response property for the response statusresponse-property-discriminator-added
- ○
added discriminator to
////////////////response property for the response statusresponse-property-discriminator-added
- ▲
- ▲
response property
oneOf[BetaManagedAgentsAgentCustomToolUseEvent]/session_thread_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentMcpToolResultEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/contextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentMcpToolResultEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentMcpToolResultEvent]/is_errorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentMcpToolUseEvent]/session_thread_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentThreadMessageReceivedEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/contextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentThreadMessageReceivedEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentThreadMessageReceivedEvent]/from_agent_namelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentThreadMessageSentEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/contextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentThreadMessageSentEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentThreadMessageSentEvent]/to_agent_namelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentToolResultEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/contextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentToolResultEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentToolResultEvent]/is_errorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsAgentToolUseEvent]/session_thread_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsSessionUpdatedEvent]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsSpanModelRequestEndEvent]/is_errorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserCustomToolResultEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/contextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserCustomToolResultEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserCustomToolResultEvent]/is_errorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserCustomToolResultEvent]/session_thread_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserDefineOutcomeEvent]/max_iterationslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserInterruptEvent]/session_thread_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserMessageEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/contextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserMessageEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserToolConfirmationEvent]/deny_messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserToolConfirmationEvent]/session_thread_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserToolResultEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/contextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserToolResultEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserToolResultEvent]/is_errorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
oneOf[BetaManagedAgentsUserToolResultEvent]/session_thread_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
////response property's maxLength was unset from10000for the response statusresponse-property-max-length-unset
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
/////////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
/////////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the////response propertyanyOflist for the response statusresponse-property-any-of-added
- ▲
- ▲
added to the response body
oneOflist for the response statusresponse-body-one-of-added
- ▲
added to the
/////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
/////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
/////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
///////////////////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
/////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
the
///////////////////response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ▲
removed the required property
//////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////from the response with the statusresponse-required-property-removed
- ○
added
session.usagemapping keys to the response discriminator for the response statusresponse-body-discriminator-mapping-added
- ○
added the optional property
//////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
added discriminator to
/////response property for the response statusresponse-property-discriminator-added
- ○
added discriminator to
///////////////////response property for the response statusresponse-property-discriminator-added
- ○
added
budget_reacheddiscriminator mapping keys to the////response property for the response statusresponse-property-discriminator-mapping-added
- ○
added
budget_reacheddiscriminator mapping keys to the////response property for the response statusresponse-property-discriminator-mapping-added
- ○
added
redacteddiscriminator mapping keys to the/////response property for the response statusresponse-property-discriminator-mapping-added
- ○
added
redacteddiscriminator mapping keys to the/////response property for the response statusresponse-property-discriminator-mapping-added
- ○
added
redacteddiscriminator mapping keys to the/////response property for the response statusresponse-property-discriminator-mapping-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
subschema #4subschema #5subschema #6subschema #7subschema #11subschema #12to the//////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #4subschema #5subschema #6subschema #7subschema #11subschema #12to the/////////////////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #4subschema #5subschema #6subschema #10subschema #11from the//////////response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
removed
subschema #4subschema #5subschema #6subschema #10subschema #11from the/////////////////////response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
- ○
added the new optional
queryrequest parameterevent_deltas[]new-optional-request-parameter
- ○
added the optional property
//////////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////////////////////to the response with the statusresponse-optional-property-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added to the response body
oneOflist for the response statusresponse-body-one-of-added
- ○
added
event_startevent_deltamapping keys to the response discriminator for the response statusresponse-body-discriminator-mapping-added
This revision also has 20 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
subschema #2to the//////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////////////////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
- ▲
added to the response body
oneOflist for the response statusresponse-body-one-of-added
- ▲
added to the
////response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added
system.messagemapping keys to the response discriminator for the response statusresponse-body-discriminator-mapping-added
- ○
added
credential_host_unreachable_errordiscriminator mapping keys to the////response property for the response statusresponse-property-discriminator-mapping-added
- ▲
- ○
added
subschema #2to the//////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////////////////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○