Events changedapi/beta/sessions/threads/events
Nearest release: v2.1.272, published 5 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+12added
Lines−12removed
From line
359
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits31to this page, all time
The whole hunk
from line 359, old and new numbered
/
from line 359
359359
360360 - `session_thread_id: optional string or null`
361361
362 When set, the confirmation routes to this subagent's thread rather than the primary. Echo this from the `session_thread_id` on the `agent.tool_use` or `agent.mcp_tool_use` event that prompted the approval.
362 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
363363
364364 - `BetaManagedAgentsUserCustomToolResultEvent object`
365365
from line 441
441441
442442 - `session_thread_id: optional string or null`
443443
444 Routes this result to a subagent thread. Copy from the `agent.custom_tool_use` event's `session_thread_id`.
444 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
445445
446446 - `BetaManagedAgentsAgentCustomToolUseEvent object`
447447
from line 469
469469
470470 - `session_thread_id: optional string or null`
471471
472 When set, this event was cross-posted from a subagent's thread to surface its custom tool use on the primary thread's stream. Empty on the thread's own events. Echo this on a `user.custom_tool_result` event to route the result back.
472 When set, this event was cross-posted from a subagent's thread to surface its custom tool use on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching `user.custom_tool_result` by `custom_tool_use_id`, so clients do not send it back.
473473
474474 - `BetaManagedAgentsAgentMessageEvent object`
475475
from line 611
611611
612612 - `session_thread_id: optional string or null`
613613
614 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Echo this on a `user.tool_confirmation` event to route the approval back.
614 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching `user.tool_confirmation` by `tool_use_id`, so clients do not send it back.
615615
616616 - `BetaManagedAgentsAgentMCPToolResultEvent object`
617617
from line 697
697697
698698 - `session_thread_id: optional string or null`
699699
700 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Echo this on a `user.tool_confirmation` event to route the approval back.
700 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching `user.tool_confirmation` or `user.tool_result` by `tool_use_id`, so clients do not send it back.
701701
702702 - `BetaManagedAgentsAgentToolResultEvent object`
703703
from line 1589
15891589
15901590 - `session_thread_id: optional string or null`
15911591
1592 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
1592 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
15931593
15941594 - `BetaManagedAgentsSessionThreadStatusRescheduledEvent object`
15951595
from line 2749
27492749
27502750 - `session_thread_id: optional string or null`
27512751
2752 When set, the confirmation routes to this subagent's thread rather than the primary. Echo this from the `session_thread_id` on the `agent.tool_use` or `agent.mcp_tool_use` event that prompted the approval.
2752 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
27532753
27542754 - `BetaManagedAgentsUserCustomToolResultEvent object`
27552755
from line 2831
28312831
28322832 - `session_thread_id: optional string or null`
28332833
2834 Routes this result to a subagent thread. Copy from the `agent.custom_tool_use` event's `session_thread_id`.
2834 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
28352835
28362836 - `BetaManagedAgentsAgentCustomToolUseEvent object`
28372837
from line 2859
28592859
28602860 - `session_thread_id: optional string or null`
28612861
2862 When set, this event was cross-posted from a subagent's thread to surface its custom tool use on the primary thread's stream. Empty on the thread's own events. Echo this on a `user.custom_tool_result` event to route the result back.
2862 When set, this event was cross-posted from a subagent's thread to surface its custom tool use on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching `user.custom_tool_result` by `custom_tool_use_id`, so clients do not send it back.
28632863
28642864 - `BetaManagedAgentsAgentMessageEvent object`
28652865
from line 3001
30013001
30023002 - `session_thread_id: optional string or null`
30033003
3004 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Echo this on a `user.tool_confirmation` event to route the approval back.
3004 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching `user.tool_confirmation` by `tool_use_id`, so clients do not send it back.
30053005
30063006 - `BetaManagedAgentsAgentMCPToolResultEvent object`
30073007
from line 3087
30873087
30883088 - `session_thread_id: optional string or null`
30893089
3090 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Echo this on a `user.tool_confirmation` event to route the approval back.
3090 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching `user.tool_confirmation` or `user.tool_result` by `tool_use_id`, so clients do not send it back.
30913091
30923092 - `BetaManagedAgentsAgentToolResultEvent object`
30933093
from line 3979
39793979
39803980 - `session_thread_id: optional string or null`
39813981
3982 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
3982 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
39833983
39843984 - `BetaManagedAgentsSessionThreadStatusRescheduledEvent object`
39853985
No line in this hunk matches that.