Events changedapi/beta/sessions/events
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+134added
Lines−0removed
From line
253
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits25to this page, all time
The whole hunk
from line 253, 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 253
253253
254254 - `"spend-limit-reads-2026-09-26"`
255255
256 - `"telemetry-destinations-2026-08-11"`
257
256258- `"anthropic-workspace-id": optional string`
257259
258260 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1957
19551957
19561958 - `description: string or null`
19571959
1960 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1961
1962 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1963
1964 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
1965
1966 An AWS IAM role principal as returned in API responses.
1967
1968 - `type: "aws_role"`
1969
1970 - `role_arn: string`
1971
1972 The IAM role's ARN.
1973
1974 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
1975
1976 The Anthropic-managed service account as returned in API responses.
1977
1978 - `type: "service_account"`
1979
19581980 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
19591981
19601982 - `type: "url"`
from line 2135
21132135
21142136 - `description: string or null`
21152137
2138 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2139
2140 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2141
21162142 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
21172143
21182144 - `type: "url"`
from line 2685
26592685
26602686 - `description: string or null`
26612687
2688 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2689
2690 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2691
26622692 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
26632693
26642694 - `model: BetaManagedAgentsModelConfig`
from line 2737
27072737
27082738 - `description: string or null`
27092739
2740 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2741
2742 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2743
27102744 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
27112745
27122746 - `model: BetaManagedAgentsModelConfig`
from line 3352
33183352
33193353 - `"spend-limit-reads-2026-09-26"`
33203354
3355 - `"telemetry-destinations-2026-08-11"`
3356
33213357- `"anthropic-workspace-id": optional string`
33223358
33233359 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4343
43074343
43084344 - `"spend-limit-reads-2026-09-26"`
43094345
4346 - `"telemetry-destinations-2026-08-11"`
4347
43104348- `"anthropic-workspace-id": optional string`
43114349
43124350 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 6047
60096047
60106048 - `description: string or null`
60116049
6050 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6051
6052 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6053
6054 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
6055
6056 An AWS IAM role principal as returned in API responses.
6057
6058 - `type: "aws_role"`
6059
6060 - `role_arn: string`
6061
6062 The IAM role's ARN.
6063
6064 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
6065
6066 The Anthropic-managed service account as returned in API responses.
6067
6068 - `type: "service_account"`
6069
60126070 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
60136071
60146072 - `type: "url"`
from line 6225
61676225
61686226 - `description: string or null`
61696227
6228 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6229
6230 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6231
61706232 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
61716233
61726234 - `type: "url"`
from line 6775
67136775
67146776 - `description: string or null`
67156777
6778 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6779
6780 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6781
67166782 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
67176783
67186784 - `model: BetaManagedAgentsModelConfig`
from line 6827
67616827
67626828 - `description: string or null`
67636829
6830 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6831
6832 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6833
67646834 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
67656835
67666836 - `model: BetaManagedAgentsModelConfig`
from line 8592
85228592
85238593 The server judged the invocation safe to execute without client approval.
85248594
8525 - `type: "allow"`
8526
8527 - `BetaManagedAgentsAgentAutoEvaluatedPermissionAsk object`
8528
8529 The server reached no judgement; the invocation is held for client approval.
8530
8531 - `type: "ask"`
8532
8533 - `reason_code: string`
8534
8535 The judgement's grounds in registry-bound terms, for client branching and audit rather than end-user display. Open registry; currently "indeterminate" (no judgement was reached). Clients must tolerate values outside this set.
8536
8537 maxLength: 64
8538
8539 - `BetaManagedAgentsAgentAutoEvaluatedPermissionDeny object`
8540
8541 The server judged the invocation high-risk; it does not execute and a synthetic error tool result is appended.
8542
8543 - `type: "deny"`
8544
8545 - `reason_code: string`
8546
8547 The judgement's grounds in registry-bound terms. Open registry; currently "high_risk" (judged high-risk; the call does not run). Clients must tolerate values outside this set.
8548
8549 maxLength: 64
8550
8551 - `session_thread_id: optional string or null`
8552
8553 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.
8554
8555### Beta Managed Agents Base64 Document Source
8556
8557- `BetaManagedAgentsBase64DocumentSource object`
8558
8559 Base64-encoded document data.
8560
8561 - `type: "base64"`
8562
8563 - `data: string`
8564
8565 Base64-encoded document data.
8566
8567 minLength: 1
8568
8569 - `media_type: string`
8570
8571 MIME type of the document (e.g., "application/pdf").
8572
8573 minLength: 1
8574
8575### Beta Managed Agents Base64 Image Source
8576
8577- `BetaManagedAgentsBase64ImageSource object`
8578
8579 Base64-encoded image data.
8580
8581 - `type: "base64"`
8582
8583 - `data: string`
8584
8585 Base64-encoded image data.
8586
8587 minLength: 1
8588
8589 - `media_type: string`
8590
8591 MIME type of the image (e.g., "image/png", "image/jpeg", "image/gif", "image/webp").
8592
8593 minLength: 1
8594
8595### Beta Managed Agents Billing Error
8596
8597- `BetaManagedAgentsBillingError object`
8598
8599 The caller's organization or workspace cannot make model requests — out of credits or spend limit reached. Retrying with the same credentials will not succeed; the caller must resolve the billing state.
8600
8601 - `type: "billing_error"`
8602
8603 - `message: string`
8604
8605 Human-readable error description.
8606
8607 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
8608
8609 What the client should do next.
8610
8611 - `BetaManagedAgentsRetryStatusRetrying object`
8612
8613 The server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
8614
8615 - `type: "retrying"`
8616
8617 - `BetaManagedAgentsRetryStatusExhausted object`
8618
8619 This turn is dead; queued inputs are flushed and the session ret
8595 - `type
No line in this hunk matches that.