Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Threads changedapi/beta/sessions/threads

Nearest release: v2.1.300, published 6 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+231added
Lines−0removed
From line 151 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits27to this page, all time

The whole hunk

from line 151, old and new numbered
/
lines

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 151
151151 
152152 - `"spend-limit-reads-2026-09-26"`
153153 
154 - `"telemetry-destinations-2026-08-11"`
155 
154156- `"anthropic-workspace-id": optional string`
155157 
156158 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 185
183185 
184186 - `description: string or null`
185187 
188 - `execution_identity: BetaManagedAgentsExecutionIdentity`
189 
190 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
191 
192 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
193 
194 An AWS IAM role principal as returned in API responses.
195 
196 - `type: "aws_role"`
197 
198 - `role_arn: string`
199 
200 The IAM role's ARN.
201 
202 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
203 
204 The Anthropic-managed service account as returned in API responses.
205 
206 - `type: "service_account"`
207 
186208 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
187209 
188210 - `type: "url"`
from line 819
797819 
798820 - `description: string or null`
799821 
822 - `execution_identity: BetaManagedAgentsExecutionIdentity`
823 
824 The session's execution principal.
825 
800826 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
801827 
802828 - `type: "url"`
from line 1020
9941020 "agent": {
9951021 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
9961022 "description": "A focused research subagent.",
1023 "execution_identity": {
1024 "type": "service_account"
1025 },
9971026 "mcp_servers": [
9981027 {
9991028 "name": "example-mcp",
from line 1230
12011230 
12021231 - `"spend-limit-reads-2026-09-26"`
12031232 
1233 - `"telemetry-destinations-2026-08-11"`
1234 
12041235- `"anthropic-workspace-id": optional string`
12051236 
12061237 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1264
12331264 
12341265 - `description: string or null`
12351266 
1267 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1268 
1269 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1270 
1271 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
1272 
1273 An AWS IAM role principal as returned in API responses.
1274 
1275 - `type: "aws_role"`
1276 
1277 - `role_arn: string`
1278 
1279 The IAM role's ARN.
1280 
1281 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
1282 
1283 The Anthropic-managed service account as returned in API responses.
1284 
1285 - `type: "service_account"`
1286 
12361287 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
12371288 
12381289 - `type: "url"`
from line 1898
18471898 
18481899 - `description: string or null`
18491900 
1901 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1902 
1903 The session's execution principal.
1904 
18501905 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
18511906 
18521907 - `type: "url"`
from line 2093
20382093 "agent": {
20392094 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
20402095 "description": "A focused research subagent.",
2096 "execution_identity": {
2097 "type": "service_account"
2098 },
20412099 "mcp_servers": [
20422100 {
20432101 "name": "example-mcp",
from line 2300
22422300 
22432301 - `"spend-limit-reads-2026-09-26"`
22442302 
2303 - `"telemetry-destinations-2026-08-11"`
2304 
22452305- `"anthropic-workspace-id": optional string`
22462306 
22472307 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 2334
22742334 
22752335 - `description: string or null`
22762336 
2337 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2338 
2339 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2340 
2341 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
2342 
2343 An AWS IAM role principal as returned in API responses.
2344 
2345 - `type: "aws_role"`
2346 
2347 - `role_arn: string`
2348 
2349 The IAM role's ARN.
2350 
2351 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
2352 
2353 The Anthropic-managed service account as returned in API responses.
2354 
2355 - `type: "service_account"`
2356 
22772357 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
22782358 
22792359 - `type: "url"`
from line 2968
28882968 
28892969 - `description: string or null`
28902970 
2971 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2972 
2973 The session's execution principal.
2974 
28912975 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
28922976 
28932977 - `type: "url"`
from line 3164
30803164 "agent": {
30813165 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
30823166 "description": "A focused research subagent.",
3167 "execution_identity": {
3168 "type": "service_account"
3169 },
30833170 "mcp_servers": [
30843171 {
30853172 "name": "example-mcp",
from line 3261
31743261 
31753262 - `description: string or null`
31763263 
3264 - `execution_identity: BetaManagedAgentsExecutionIdentity`
3265 
3266 The session's execution principal.
3267 
3268 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
3269 
3270 An AWS IAM role principal as returned in API responses.
3271 
3272 - `type: "aws_role"`
3273 
3274 - `role_arn: string`
3275 
3276 The IAM role's ARN.
3277 
3278 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
3279 
3280 The Anthropic-managed service account as returned in API responses.
3281 
3282 - `type: "service_account"`
3283 
31773284 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
31783285 
31793286 - `type: "url"`
from line 3901
37943901 
37953902 - `description: string or null`
37963903 
3904 - `execution_identity: BetaManagedAgentsExecutionIdentity`
3905 
3906 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
3907 
3908 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
3909 
3910 An AWS IAM role principal as returned in API responses.
3911 
3912 - `type: "aws_role"`
3913 
3914 - `role_arn: string`
3915 
3916 The IAM role's ARN.
3917 
3918 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
3919 
3920 The Anthropic-managed service account as returned in API responses.
3921 
3922 - `type: "service_account"`
3923 
37973924 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
37983925 
37993926 - `type: "url"`
from line 4535
44084535 
44094536 - `description: string or null`
44104537 
4538 - `execution_identity: BetaManagedAgentsExecutionIdentity`
4539 
4540 The session's execution principal.
4541 
44114542 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
44124543 
44134544 - `type: "url"`
from line 6519
63886519 
63896520 - `description: string or null`
63906521 
6522 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6523 
6524 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6525 
6526 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
6527 
6528 An AWS IAM role principal as returned in API responses.
6529 
6530 - `type: "aws_role"`
6531 
6532 - `role_arn: string`
6533 
6534 The IAM role's ARN.
6535 
6536 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
6537 
6538 The Anthropic-managed service account as returned in API responses.
6539 
6540 - `type: "service_account"`
6541 
63916542 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
63926543 
63936544 - `type: "url"`
from line 6697
65466697 
65476698 - `description: string or null`
65486699 
6700 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6701 
6702 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6703 
65496704 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
65506705 
65516706 - `type: "url"`
from line 7247
70927247 
70937248 - `description: string or null`
70947249 
7250 - `execution_identity: BetaManagedAgentsExecutionIdentity`
7251 
7252 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
7253 
70957254 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
70967255 
70977256 - `model: BetaManagedAgentsModelConfig`
from line 7299
71407299 
71417300 - `description: string or null`
71427301 
7302 - `execution_identity: BetaManagedAgentsExecutionIdentity`
7303 
7304 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
7305 
71437306 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
71447307 
71457308 - `model: BetaManagedAgentsModelConfig`
from line 7931
77687931 
77697932 - `"spend-limit-reads-2026-09-26"`
77707933 
7934 - `"telemetry-destinations-2026-08-11"`
7935 
77717936- `"anthropic-workspace-id": optional string`
77727937 
77737938 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 8183
80188183 
80198184 The id of the `agent.custom_tool_use` event this result corresponds to. It is also listed in the last `session.status_idle` [event's](https://platform.claude.com/docs/en/api/beta/sessions/events/list?sdk_languages=http#beta_managed_agents_session_requires_action.event_ids) `stop_reason.event_ids` field.
80208185 
8021 - `content: optional array of BetaManagedAgentsTextBlock or BetaManagedAgentsImageBlock or BetaManagedAgentsDocumentBlock or BetaManagedAgentsSearchResultBlock`
8022 
8023 The result content returned by the tool.
8024 
8025 - `BetaManagedAgentsTextBlock object`
8026 
8027 Regular text content.
8028 
8029 - `BetaManagedAgentsImageBlock object`
8030 
8031 Image content specified directly as base64 data or as a reference via a URL.
8032 
8033 - `BetaManagedAgentsDocumentBlock object`
8034 
8035 Document content, either specified directly as base64 data, as text, or as a reference via a URL.
8036 
8037 - `BetaManagedAgentsSearchResultBlock object`
8038 
8039 A block containing a web search result.
8040 
8041 - `type: "search_result"`
8042 
8043 - `citations: BetaManagedAgentsSearchResultCitations`
8044 
8045 Citation settings for this search result.
8046 
8047 - `enabled: boolean`
8048 
8049 Whether citations are enabled for this search result.
8050 
8051 - `content: array of BetaManagedAgentsSearchResultContent`
8052 
8053 Array of text content blocks from the search result.
8054 
8055 - `type: "text"`
8056 
8057 - `text: string`
8058 
8059 The text content.
8060 
8061 minLength: 1
8062 
8063 - `source: string`
8064 
8065 The URL source of the search result.
8066 
8067 minLength: 1
8068 
8069 - `title: string`
8070 
8071 The title of the search result.
8072 
8073 minLength: 1
8074 
8075 - `is_error: optional boolean or null`
8076 
8077 Whether the tool execution resulted in an error.
8078 
8079 - `processed_at: optional string or null`
8080 
8081 Timestamp when this result was processed.
8082 
8083 format: date-time
8084 
8085 - `session_thread_id: optional string or null`
8086 
8087 Set by the server to the subagent thread this result was routed to. Omitted when it was routed to the primary thread.
8088 
8089 - `BetaManagedAgentsAgentCustomToolUseEvent object`
8090 
8091 Event emitted when the agent calls a custom tool. The session goes idle until the client sends a `user.custom_tool_result` event with the result. The client can send it as soon as this event arrives, without waiting for `session.status_idle`.
8092 
8093 - `type: "agent.custom_tool_use"`
8094 
8095 - `id: string`
8096 
8097 Unique identifier for this event.
8098 
8099 - `input: map[unknown]`
8100 
8101 Input parameters for the tool call.
8102 
8103 - `name: string`
8104 
8105 Name of the custom tool being called.
8106 
8107 - `processed_at: string`
8108 
8109 Timestamp when this tool use was processed.
8110 
8111 format: date-time
8112 
8113 - `session_thread_id: optional string or null`
8114 
8115 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.
8116 
8117 - `BetaManagedAgentsAgentMessageEvent object`
8118 
8119 An agent response event in the session conversation.
8120 
8121 - `type: "agent.message"`
8122 
8123 - `id: string`
8124 
8125 Unique identifier for this event.
8126 
8127 - `content: array of BetaManagedAgentsTextBlock or BetaManagedAgentsRedactedBlock`
8128 
8129 Array of text blocks comprising the agent response.
8130 
8131 - `BetaManagedAgentsTextBlock object`
8132 
8133 Regular text content.
8134 
8135 - `BetaManagedAgentsRedactedBlock object`
8136 
8137 Placeholder for content withheld by Anthropic model policy.
8138 
8139 - `processed_at: string`
8140 
8141 Timestamp when this response was generated.
8142 
8143 format: date-time
8144 
8145 - `BetaManagedAgentsAgentThinkingEvent object`
8146 
8147 Indicates the agent is making forward progress via extended thinking. A progress signal, not a content carrier.
8148 
8149 - `type: "agent.thinking"`
8150 
8151 - `id: string`
8152 
8153 Unique identifier for this event.
8154 
8155 - `processed_at: string`
8156 
8157 Timestamp when this thinking was produced.
8158 
8159 format: date-time
8160 
8161 - `BetaManagedAgentsAgentMCPToolUseEvent object`
8162 
8163 Event emitted when the agent invokes a tool provided by an MCP server.
8164 
8165 - `type: "agent.mcp_tool_use"`
8166 
8167 - `id: string`
8168 
8169 Unique identifier for this event.
8170 
8171 - `input: map[unknown]`
8172 
8173 Input parameters for the tool call.
8174 
8175 - `mcp_server_name: string`
8176 
8177 Name of the MCP server providing the tool.
8178 
8179 - `name: string`
8180 
8181 Name of the MCP tool being used.
8182 
8183 - `processed_at: string`
8184 
8185 Timestamp when this event was processed.
8186 
8187 format: date-time
8188 
8189 - `evaluated_permission: optional BetaManagedAgentsAgentEvaluatedPermission`
8190 
8191 The evaluated permission policy for this tool invocation.
8192 
8193 - `"allow"`
8194 
8195 - `"ask"`
8196 
8197 - `"deny"`
8198 
8199 - `evaluation: optional BetaManagedAgentsAgentToolEvaluation`
8200 
8201 Which resolved permission_policy produced evaluated_permission: always_allow, always_ask, or auto (with the server's per-invocation judgement). Absent only when the server refused the call before any policy applied (for example, the named tool is not enabled in the session); such a refusal has evaluated_permission deny. An event recorded before this field existed reads as the arm its evaluated_permission implies (always_allow for allow, always_ask for ask).
8202 
8203 - `BetaManagedAgentsAgentToolEvaluationAlwaysAllow object`
8204 
8205 The resolved permission_policy was always_allow; accompanies evaluated_permission "allow".
8206 
8207 - `type: "always_allow"`
8208 
8209 - `BetaManagedAgentsAgentToolEvaluationAlwaysAsk object`
8210 
8211 The resolved permission_policy was always_ask; accompanies evaluated_permission "a
8186 - `content: optional array of BetaManagedAgentsTextBlock or BetaManagedAgentsImageBlock or BetaManagedAgentsDo
Feedback