Threads changedapi/beta/sessions/threads
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+18added
Lines−18removed
From line
3,731
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits32to this page, all time
The whole hunk
from line 3731, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 3731
37313731
37323732 - `session_thread_id: optional string or null`
37333733
3734 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.
3734 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
37353735
37363736 - `BetaManagedAgentsUserCustomToolResultEvent object`
37373737
from line 3813
38133813
38143814 - `session_thread_id: optional string or null`
38153815
3816 Routes this result to a subagent thread. Copy from the `agent.custom_tool_use` event's `session_thread_id`.
3816 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
38173817
38183818 - `BetaManagedAgentsAgentCustomToolUseEvent object`
38193819
from line 3841
38413841
38423842 - `session_thread_id: optional string or null`
38433843
3844 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.
3844 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.
38453845
38463846 - `BetaManagedAgentsAgentMessageEvent object`
38473847
from line 3983
39833983
39843984 - `session_thread_id: optional string or null`
39853985
3986 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.
3986 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.
39873987
39883988 - `BetaManagedAgentsAgentMCPToolResultEvent object`
39893989
from line 4069
40694069
40704070 - `session_thread_id: optional string or null`
40714071
4072 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.
4072 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.
40734073
40744074 - `BetaManagedAgentsAgentToolResultEvent object`
40754075
from line 4961
49614961
49624962 - `session_thread_id: optional string or null`
49634963
4964 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
4964 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
49654965
49664966 - `BetaManagedAgentsSessionThreadStatusRescheduledEvent object`
49674967
from line 6143
61436143
61446144 - `session_thread_id: optional string or null`
61456145
6146 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.
6146 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
61476147
61486148 - `BetaManagedAgentsUserCustomToolResultEvent object`
61496149
from line 6225
62256225
62266226 - `session_thread_id: optional string or null`
62276227
6228 Routes this result to a subagent thread. Copy from the `agent.custom_tool_use` event's `session_thread_id`.
6228 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
62296229
62306230 - `BetaManagedAgentsAgentCustomToolUseEvent object`
62316231
from line 6253
62536253
62546254 - `session_thread_id: optional string or null`
62556255
6256 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.
6256 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.
62576257
62586258 - `BetaManagedAgentsAgentMessageEvent object`
62596259
from line 6395
63956395
63966396 - `session_thread_id: optional string or null`
63976397
6398 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.
6398 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.
63996399
64006400 - `BetaManagedAgentsAgentMCPToolResultEvent object`
64016401
from line 6481
64816481
64826482 - `session_thread_id: optional string or null`
64836483
6484 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.
6484 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.
64856485
64866486 - `BetaManagedAgentsAgentToolResultEvent object`
64876487
from line 7373
73737373
73747374 - `session_thread_id: optional string or null`
73757375
7376 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
7376 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
73777377
73787378 - `BetaManagedAgentsSessionThreadStatusRescheduledEvent object`
73797379
from line 8533
85338533
85348534 - `session_thread_id: optional string or null`
85358535
8536 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.
8536 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
85378537
85388538 - `BetaManagedAgentsUserCustomToolResultEvent object`
85398539
from line 8577
85778577
85788578 - `enabled: boolean`
85798579
8580 Whether citations are enabled for this search result.
8581
8582 - `content: array of BetaManagedAgentsSearchResultContent`
8583
8584 Array of text content blocks from the search result.
8585
8586 - `type: "text"`
8587
8588
8580 Whether citations are enabled for this s
No line in this hunk matches that.