Create Session changedapi/beta/sessions/create
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+40added
Lines−0removed
From line
119
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits22to this page, all time
The whole hunk
from line 119, old and new numbered
/
from line 119
119119
120120 - `"spend-limit-reads-2026-09-26"`
121121
122 - `"telemetry-destinations-2026-08-11"`
123
122124- `"anthropic-workspace-id": optional string`
123125
124126 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1271
12691271
12701272 - `description: string or null`
12711273
1274 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1275
1276 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1277
1278 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
1279
1280 An AWS IAM role principal as returned in API responses.
1281
1282 - `type: "aws_role"`
1283
1284 - `role_arn: string`
1285
1286 The IAM role's ARN.
1287
1288 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
1289
1290 The Anthropic-managed service account as returned in API responses.
1291
1292 - `type: "service_account"`
1293
12721294 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
12731295
12741296 - `type: "url"`
from line 1449
14271449
14281450 - `description: string or null`
14291451
1452 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1453
1454 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1455
14301456 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
14311457
14321458 - `type: "url"`
from line 1999
19731999
19742000 - `description: string or null`
19752001
2002 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2003
2004 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2005
19762006 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
19772007
19782008 - `model: BetaManagedAgentsModelConfig`
from line 2051
20212051
20222052 - `description: string or null`
20232053
2054 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2055
2056 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2057
20242058 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
20252059
20262060 - `model: BetaManagedAgentsModelConfig`
from line 2427
23932427 "agent": {
23942428 "id": "agent_011CZkYpogX7uDKUyvBTophP",
23952429 "description": "A general-purpose starter agent.",
2430 "execution_identity": {
2431 "type": "service_account"
2432 },
23962433 "mcp_servers": [
23972434 {
23982435 "name": "example-mcp",
from line 2450
24132450 {
24142451 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
24152452 "description": "A focused research subagent.",
2453 "execution_identity": {
2454 "type": "service_account"
2455 },
24162456 "mcp_servers": [
24172457 {
24182458 "name": "example-mcp",
No line in this hunk matches that.