Stream Events changedapi/beta/sessions/events/stream
Nearest release: v2.1.283, published 3 hours after 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+73added
Lines−75removed
From line
175
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 175, old and new numbered
/
from line 175
175175
176176 - `source: BetaManagedAgentsBase64ImageSource or BetaManagedAgentsURLImageSource or BetaManagedAgentsFileImageSource`
177177
178 Union type for image source variants.
178 The source of the image data.
179179
180180 - `BetaManagedAgentsBase64ImageSource object`
181181
from line 227
227227
228228 - `source: BetaManagedAgentsBase64DocumentSource or BetaManagedAgentsPlainTextDocumentSource or BetaManagedAgentsURLDocumentSource or BetaManagedAgentsFileDocumentSource`
229229
230 Union type for document source variants.
230 The source of the document data.
231231
232232 - `BetaManagedAgentsBase64DocumentSource object`
233233
from line 303
303303
304304 - `processed_at: optional string or null`
305305
306 A timestamp in RFC 3339 format
306 Timestamp when the agent finished processing this message.
307307
308308 format: date-time
309309
from line 319
319319
320320 - `processed_at: optional string or null`
321321
322 A timestamp in RFC 3339 format
322 Timestamp when the interrupt was processed.
323323
324324 format: date-time
325325
from line 339
339339
340340 - `result: "allow" or "deny"`
341341
342 UserToolConfirmationResult enum
342 The confirmation result: 'allow' or 'deny'.
343343
344344 - `"allow"`
345345
from line 357
357357
358358 - `processed_at: optional string or null`
359359
360 A timestamp in RFC 3339 format
360 Timestamp when the confirmation was processed.
361361
362362 format: date-time
363363
from line 403
403403
404404 - `citations: BetaManagedAgentsSearchResultCitations`
405405
406 Citation settings for a search result.
406 Citation settings for this search result.
407407
408408 - `enabled: boolean`
409409
from line 439
439439
440440 - `processed_at: optional string or null`
441441
442 A timestamp in RFC 3339 format
442 Timestamp when this result was processed.
443443
444444 format: date-time
445445
from line 467
467467
468468 - `processed_at: string`
469469
470 A timestamp in RFC 3339 format
470 Timestamp when this tool use was processed.
471471
472472 format: date-time
473473
from line 499
499499
500500 - `processed_at: string`
501501
502 A timestamp in RFC 3339 format
502 Timestamp when this response was generated.
503503
504504 format: date-time
505505
from line 515
515515
516516 - `processed_at: string`
517517
518 A timestamp in RFC 3339 format
518 Timestamp when this thinking was produced.
519519
520520 format: date-time
521521
from line 543
543543
544544 - `processed_at: string`
545545
546 A timestamp in RFC 3339 format
546 Timestamp when this event was processed.
547547
548548 format: date-time
549549
550550 - `evaluated_permission: optional BetaManagedAgentsAgentEvaluatedPermission`
551551
552 AgentEvaluatedPermission enum
552 The evaluated permission policy for this tool invocation.
553553
554554 - `"allow"`
555555
from line 559
559559
560560 - `evaluation: optional BetaManagedAgentsAgentToolEvaluation`
561561
562 Names the resolved permission_policy that produced evaluated_permission, and under auto carries the judgement. Open union: clients must tolerate unknown variants.
562 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).
563563
564564 - `BetaManagedAgentsAgentToolEvaluationAlwaysAllow object`
565565
from line 581
581581
582582 - `evaluated_permission: BetaManagedAgentsAgentAutoEvaluatedPermission`
583583
584 The server's per-invocation judgement under the auto permission policy. Its type always equals the event's top-level evaluated_permission. Open union: clients must tolerate unknown variants.
584 The server's judgement for this invocation.
585585
586586 - `BetaManagedAgentsAgentAutoEvaluatedPermissionAllow object`
587587
from line 633
633633
634634 - `processed_at: string`
635635
636 A timestamp in RFC 3339 format
636 Timestamp when this event was processed.
637637
638638 format: date-time
639639
from line 681
681681
682682 - `processed_at: string`
683683
684 A timestamp in RFC 3339 format
684 Timestamp when this event was processed.
685685
686686 format: date-time
687687
688688 - `evaluated_permission: optional BetaManagedAgentsAgentEvaluatedPermission`
689689
690 AgentEvaluatedPermission enum
690 The evaluated permission policy for this tool invocation.
691691
692692 - `evaluation: optional BetaManagedAgentsAgentToolEvaluation`
693693
694 Names the resolved permission_policy that produced evaluated_permission, and under auto carries the judgement. Open union: clients must tolerate unknown variants.
694 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).
695695
696696 - `session_thread_id: optional string or null`
697697
from line 709
709709
710710 - `processed_at: string`
711711
712 A timestamp in RFC 3339 format
712 Timestamp when this event was processed.
713713
714714 format: date-time
715715
from line 777
777777
778778 - `processed_at: string`
779779
780 A timestamp in RFC 3339 format
780 Timestamp when the message was received.
781781
782782 format: date-time
783783
from line 817
817817
818818 - `processed_at: string`
819819
820 A timestamp in RFC 3339 format
820 Timestamp when the message was sent.
821821
822822 format: date-time
823823
from line 841
841841
842842 - `processed_at: string`
843843
844 A timestamp in RFC 3339 format
844 Timestamp when compaction was processed.
845845
846846 format: date-time
847847
from line 869
869869
870870 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
871871
872 What the client should do next in response to this error.
872 What the client should do next.
873873
874874 - `BetaManagedAgentsRetryStatusRetrying object`
875875
from line 901
901901
902902 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
903903
904 What the client should do next in response to this error.
904 What the client should do next.
905905
906906 - `BetaManagedAgentsRetryStatusRetrying object`
907907
from line 927
927927
928928 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
929929
930 What the client should do next in response to this error.
930 What the client should do next.
931931
932932 - `BetaManagedAgentsRetryStatusRetrying object`
933933
from line 953
953953
954954 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
955955
956 What the client should do next in response to this error.
956 What the client should do next.
957957
958958 - `BetaManagedAgentsRetryStatusRetrying object`
959959
from line 983
983983
984984 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
985985
986 What the client should do next in response to this error.
986 What the client should do next.
987987
988988 - `BetaManagedAgentsRetryStatusRetrying object`
989989
from line 1013
10131013
10141014 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
10151015
1016 What the client should do next in response to this error.
1016 What the client should do next.
10171017
10181018 - `BetaManagedAgentsRetryStatusRetrying object`
10191019
from line 1039
10391039
10401040 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
10411041
1042 What the client should do next in response to this error.
1042 What the client should do next.
10431043
10441044 - `BetaManagedAgentsRetryStatusRetrying object`
10451045
from line 1069
10691069
10701070 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
10711071
1072 What the client should do next in response to this error.
1072 What the client should do next.
10731073
10741074 - `BetaManagedAgentsRetryStatusRetrying object`
10751075
from line 1089
10891089
10901090 - `processed_at: string`
10911091
1092 A timestamp in RFC 3339 format
1092 Timestamp when the error occurred.
10931093
10941094 format: date-time
10951095
from line 1105
11051105
11061106 - `processed_at: string`
11071107
1108 A timestamp in RFC 3339 format
1108 Timestamp of status change.
11091109
11101110 format: date-time
11111111
from line 1121
11211121
11221122 - `processed_at: string`
11231123
1124 A timestamp in RFC 3339 format
1124 Timestamp of status change.
11251125
11261126 format: date-time
11271127
from line 1137
11371137
11381138 - `processed_at: string`
11391139
1140 A timestamp in RFC 3339 format
1140 Timestamp of status change.
11411141
11421142 format: date-time
11431143
from line 1183
11831183
11841184 - `processed_at: string`
11851185
1186 A timestamp in RFC 3339 format
1186 Timestamp of status change.
11871187
11881188 format: date-time
11891189
from line 1203
12031203
12041204 - `processed_at: string`
12051205
1206 A timestamp in RFC 3339 format
1206 Timestamp when the thread was created.
12071207
12081208 format: date-time
12091209
from line 1233
12331233
12341234 - `processed_at: string`
12351235
1236 A timestamp in RFC 3339 format
1236 Timestamp when outcome evaluation started.
12371237
12381238 format: date-time
12391239
from line 1267
12671267
12681268 - `processed_at: string`
12691269
1270 A timestamp in RFC 3339 format
1270 Timestamp when outcome evaluation ended.
12711271
12721272 format: date-time
12731273
from line 1277
12771277
12781278 - `usage: BetaManagedAgentsSpanModelUsage`
12791279
1280 Token usage for a single model request.
1280 Aggregate token usage for this evaluation cycle. Sums across all grader model requests within the cycle.
12811281
12821282 - `cache_creation_input_tokens: number`
12831283
from line 1305
13051305
13061306 - `speed: optional "standard" or "fast" or null`
13071307
1308 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time.
1308 Inference speed tier this request actually ran at. Mirrors `usage.speed` on /v1/messages. Only present when the fast-mode beta is active.
13091309
13101310 - `"standard"`
13111311
from line 1323
13231323
13241324 - `processed_at: string`
13251325
1326 A timestamp in RFC 3339 format
1326 Timestamp when the model request started.
13271327
13281328 format: date-time
13291329
from line 1347
13471347
13481348 - `model_usage: BetaManagedAgentsSpanModelUsage`
13491349
1350 Token usage for a single model request.
1350 Token usage for this model request.
13511351
13521352 - `processed_at: string`
13531353
1354 A timestamp in RFC 3339 format
1354 Timestamp when the model request completed.
13551355
13561356 format: date-time
13571357
from line 1377
13771377
13781378 - `processed_at: string`
13791379
1380 A timestamp in RFC 3339 format
1380 Timestamp when this heartbeat was emitted.
13811381
13821382 format: date-time
13831383
from line 1407
14071407
14081408 - `processed_at: string`
14091409
1410 A timestamp in RFC 3339 format
1410 Timestamp when the outcome was accepted.
14111411
14121412 format: date-time
14131413
14141414 - `rubric: BetaManagedAgentsFileRubric or BetaManagedAgentsTextRubric`
14151415
1416 Rubric for grading the quality of an outcome.
1416 How to grade the outcome. File rubrics are currently resolved to their text content; clients should handle both variants.
14171417
14181418 - `BetaManagedAgentsFileRubric object`
14191419
from line 1447
14471447
14481448 - `processed_at: string`
14491449
1450 A timestamp in RFC 3339 format
1450 Timestamp when the session was deleted.
14511451
14521452 format: date-time
14531453
from line 1467
14671467
14681468 - `processed_at: string`
14691469
1470 A timestamp in RFC 3339 format
1470 Timestamp of the status transition.
14711471
14721472 format: date-time
14731473
from line 1491
14911491
14921492 - `processed_at: string`
14931493
1494 A timestamp in RFC 3339 format
1494 Timestamp of the status transition.
14951495
14961496 format: date-time
14971497
from line 1533
15331533
15341534 - `processed_at: string`
15351535
1536 A timestamp in RFC 3339 format
1536 Timestamp of the status transition.
15371537
15381538 format: date-time
15391539
from line 1581
15811581
15821582 - `processed_at: optional string or null`
15831583
1584 A timestamp in RFC 3339 format
1584 Timestamp when this result was processed.
15851585
15861586 format: date-time
15871587
from line 1605
16051605
16061606 - `processed_at: string`
16071607
1608 A timestamp in RFC 3339 format
1608 Timestamp of the status transition.
16091609
16101610 format: date-time
16111611
from line 1625
16251625
16261626 - `processed_at: string`
16271627
1628 A timestamp in RFC 3339 format
1628 Timestamp when the update was applied.
16291629
16301630 format: date-time
16311631
16321632 - `agent: optional BetaManagedAgentsSessionAgent or null`
16331633
1634 Resolved `agent` definition for a `session`. Snapshot of the `agent` at `session` creation time.
1634 The session's effective agent configuration after the update. Present only when the update changed `agent` (tools or mcp_servers); when present it is the full materialised snapshot, not a diff.
16351635
16361636 - `type: "agent"`
16371637
from line 1657
16571657
16581658 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
16591659
1660 - `string`
1661
16601662 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
16611663
16621664 The model that will power your agent.
from line 1725
17231725
17241726 High-performance model for agents and coding
17251727
1726 - `string`
1727
17281728 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
17291729
1730 How hard Claude works on each turn. Sets `output_config.effort` on every Messages call the session makes.
1730 How hard Claude works on each inference call. One of `low`, `medium`, `high`, `xhigh`, `max`. Always present; resolved to the per-model default at save time when not supplied.
17311731
17321732 - `BetaManagedAgentsEffortLow object`
17331733
from line 1765
17651765
17661766 - `speed: optional "standard" or "fast"`
17671767
1768 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time.
1768 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.
17691769
17701770 - `"standard"`
17711771
from line 1773
17731773
17741774 - `multiagent: BetaManagedAgentsSessionMultiagentCoordinator or null`
17751775
1776 Resolved coordinator topology with full agent definitions for each roster member.
1776 Resolved multiagent orchestration configuration. Null when the agent is single-threaded.
17771777
17781778 - `type: "coordinator"`
17791779
from line 2229
22292229
22302230 - `budget: optional BetaManagedAgentsBudgetLimit or null`
22312231
2232 A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches `max_list_cost`.
2232 The session's budget after the update: the new budget when set or replaced, or null when the update removed it. Present only when the update changed the budget.
22332233
22342234 - `type: "limit"`
22352235
22362236 - `max_list_cost: BetaMonetaryAmount`
22372237
2238 A monetary amount in a specific currency.
2238 Maximum list cost the session may accrue. List price is used regardless of any negotiated discount, so the cap fires at or before the actual charge.
22392239
22402240 - `amount: string`
22412241
from line 2293
22932293
22942294 - `content: BetaManagedAgentsTextBlock`
22952295
2296 Regular text content.
2296 A partial element of the content array at index, typed like the element itself — the same shape the buffered agent.message carries in content.
22972297
22982298 - `index: optional number`
22992299
23002300 Which entry in the previewed event's content array this fragment lands in. Insert content as that entry when the index is new; append to the existing entry otherwise.
23012301
2302 format: uint32
2303
23042302 - `event_id: string`
23052303
23062304 The id of the event being previewed. Matches event.id on the corresponding event_start and the buffered event that reconciles the preview.
from line 2327
23292327
23302328 - `processed_at: optional string or null`
23312329
2332 A timestamp in RFC 3339 format
2330 Timestamp when this system message was processed.
23332331
23342332 format: date-time
23352333
from line 2343
23452343
23462344 - `processed_at: string`
23472345
2348 A timestamp in RFC 3339 format
2346 Timestamp when the snapshot was taken.
23492347
23502348 format: date-time
23512349
23522350 - `usage: BetaManagedAgentsSessionUsageSnapshot`
23532351
2354 Point-in-time snapshot of a session's cumulative usage.
2352 The session's cumulative usage at the snapshot time.
23552353
23562354 - `active_seconds: optional number`
23572355
from line 2359
23612359
23622360 - `cache_creation: optional BetaManagedAgentsCacheCreationUsage`
23632361
2364 Prompt-cache creation token usage broken down by cache lifetime.
2362 Tokens used to create prompt cache entries, broken down by cache TTL.
23652363
23662364 - `ephemeral_1h_input_tokens: optional number`
23672365
from line 2387
23892387
23902388 - `list_cost: optional BetaMonetaryAmount`
23912389
2392 A monetary amount in a specific currency.
2390 Cumulative list cost of the session across all turns, priced at public list rates.
23932391
23942392 - `output_tokens: optional number`
23952393
from line 2397
23992397
24002398 - `server_tool_use: optional BetaManagedAgentsServerToolUsage`
24012399
2402 Cumulative count of server-executed tool invocations, broken down by tool.
2400 Cumulative server-executed tool usage across all turns.
24032401
24042402 - `web_fetch_requests: optional number`
24052403
from line 2413
24152413
24162414 - `budget: optional BetaManagedAgentsBudgetLimit or null`
24172415
2418 A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches `max_list_cost`.
2416 The session's configured budget at the snapshot time, or null when the session has no budget.
24192417
24202418## Example
24212419
No line in this hunk matches that.