Events changedapi/beta/sessions/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+35added
Lines−35removed
From line
393
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits30to this page, all time
The whole hunk
from line 393, 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 393
393393
394394 - `session_thread_id: optional string or null`
395395
396 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.
396 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
397397
398398 - `BetaManagedAgentsUserCustomToolResultEvent object`
399399
from line 475
475475
476476 - `session_thread_id: optional string or null`
477477
478 Routes this result to a subagent thread. Copy from the `agent.custom_tool_use` event's `session_thread_id`.
478 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
479479
480480 - `BetaManagedAgentsAgentCustomToolUseEvent object`
481481
from line 503
503503
504504 - `session_thread_id: optional string or null`
505505
506 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.
506 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.
507507
508508 - `BetaManagedAgentsAgentMessageEvent object`
509509
from line 645
645645
646646 - `session_thread_id: optional string or null`
647647
648 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.
648 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.
649649
650650 - `BetaManagedAgentsAgentMCPToolResultEvent object`
651651
from line 731
731731
732732 - `session_thread_id: optional string or null`
733733
734 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.
734 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.
735735
736736 - `BetaManagedAgentsAgentToolResultEvent object`
737737
from line 1623
16231623
16241624 - `session_thread_id: optional string or null`
16251625
1626 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
1626 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
16271627
16281628 - `BetaManagedAgentsSessionThreadStatusRescheduledEvent object`
16291629
from line 3150
31503150
31513151 - `session_thread_id: optional string or null`
31523152
3153 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.
3153 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
31543154
31553155 - `BetaManagedAgentsUserCustomToolResultEvent object`
31563156
from line 3232
32323232
32333233 - `session_thread_id: optional string or null`
32343234
3235 Routes this result to a subagent thread. Copy from the `agent.custom_tool_use` event's `session_thread_id`.
3235 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
32363236
32373237 - `BetaManagedAgentsUserDefineOutcomeEvent object`
32383238
from line 3334
33343334
33353335 - `session_thread_id: optional string or null`
33363336
3337 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
3337 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
33383338
33393339 - `BetaManagedAgentsSystemMessageEvent object`
33403340
from line 3757
37573757
37583758 - `session_thread_id: optional string or null`
37593759
3760 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.
3760 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
37613761
37623762 - `BetaManagedAgentsUserCustomToolResultEvent object`
37633763
from line 3839
38393839
38403840 - `session_thread_id: optional string or null`
38413841
3842 Routes this result to a subagent thread. Copy from the `agent.custom_tool_use` event's `session_thread_id`.
3842 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
38433843
38443844 - `BetaManagedAgentsAgentCustomToolUseEvent object`
38453845
from line 3867
38673867
38683868 - `session_thread_id: optional string or null`
38693869
3870 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.
3870 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.
38713871
38723872 - `BetaManagedAgentsAgentMessageEvent object`
38733873
from line 4009
40094009
40104010 - `session_thread_id: optional string or null`
40114011
4012 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.
4012 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.
40134013
40144014 - `BetaManagedAgentsAgentMCPToolResultEvent object`
40154015
from line 4095
40954095
40964096 - `session_thread_id: optional string or null`
40974097
4098 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.
4098 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.
40994099
41004100 - `BetaManagedAgentsAgentToolResultEvent object`
41014101
from line 4987
49874987
49884988 - `session_thread_id: optional string or null`
49894989
4990 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
4990 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
49914991
49924992 - `BetaManagedAgentsSessionThreadStatusRescheduledEvent object`
49934993
from line 5940
59405940
59415941 - `session_thread_id: optional string or null`
59425942
5943 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.
5943 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.
59445944
59455945### Beta Managed Agents Agent MCP Tool Result Event
59465946
from line 6248
62486248
62496249 - `session_thread_id: optional string or null`
62506250
6251 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.
6251 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.
62526252
62536253### Beta Managed Agents Agent Message Event
62546254
from line 7096
70967096
70977097 - `session_thread_id: optional string or null`
70987098
7099 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.
7099 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.
71007100
71017101### Beta Managed Agents Base64 Document Source
71027102
from line 8286
82868286
82878287 - `session_thread_id: optional string or null`
82888288
8289 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.
8289 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to the primary thread.
82908290
82918291 - `BetaManagedAgentsUserCustomToolResultEvent object`
82928292
from line 8368
83688368
83698369 - `session_thread_id: optional string or null`
83708370
8371 Routes this result to a subagent thread. Copy from the `agent.custom_tool_use` event's `session_thread_id`.
8371 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
83728372
83738373 - `BetaManagedAgentsUserDefineOutcomeEvent object`
83748374
from line 8470
84708470
84718471 - `session_thread_id: optional string or null`
84728472
8473 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
8473 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
84748474
84758475 - `BetaManagedAgentsSystemMessageEvent object`
84768476
from line 9012
90129012
90139013 - `session_thread_id: optional string or null`
90149014
9015 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.
9016
9017 - `BetaManagedAgentsUserCustomToolResultEvent object`
9018
9019 Event sent by the client providing the result of a custom tool execution.
9020
9021 - `type: "user.custom_tool_result"`
9022
9023 - `id: string`
9024
9025 Unique identifier for this event.
9026
9027
9015 Set by the server to the subagent thread this confirmation was routed to. Omitted when it was routed to th
No line in this hunk matches that.