Stream Events changedapi/beta/sessions/events/stream
Nearest release: v2.1.286, 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+193added
Lines−3removed
From line
127
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
The whole hunk
from line 127, old and new numbered
/
from line 127
127127
128128 - `"mcp-client-2026-09-15"`
129129
130 - `"ce-plugins-2026-09-01"`
131
130132- `"anthropic-workspace-id": optional string`
131133
132134 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 855
853855
854856 Unique identifier for this event.
855857
856 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 5 more`
858 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 10 more`
857859
858860 - `BetaManagedAgentsUnknownError object`
859861
from line 1087
10851087
10861088 ID of the vault containing the affected credential.
10871089
1090 - `BetaManagedAgentsRepositoryAuthenticationError object`
1091
1092 The repository host rejected the credentials, or required credentials and received none.
1093
1094 - `type: "repository_authentication_error"`
1095
1096 - `message: string`
1097
1098 Human-readable error description.
1099
1100 - `repository_url: string or null`
1101
1102 URL of the repository that could not be cloned. Null when it could not be identified.
1103
1104 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1105
1106 What the client should do next. Always `retrying`: the session keeps running without the repository.
1107
1108 - `BetaManagedAgentsRetryStatusRetrying object`
1109
1110 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.
1111
1112 - `BetaManagedAgentsRetryStatusExhausted object`
1113
1114 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1115
1116 - `BetaManagedAgentsRetryStatusTerminal object`
1117
1118 The session encountered a terminal error and will transition to `terminated` state.
1119
1120 - `BetaManagedAgentsRepositoryForbiddenError object`
1121
1122 The repository host refused access to the repository.
1123
1124 - `type: "repository_forbidden_error"`
1125
1126 - `message: string`
1127
1128 Human-readable error description.
1129
1130 - `repository_url: string or null`
1131
1132 URL of the repository that could not be cloned. Null when it could not be identified.
1133
1134 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1135
1136 What the client should do next. Always `retrying`: the session keeps running without the repository.
1137
1138 - `BetaManagedAgentsRetryStatusRetrying object`
1139
1140 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.
1141
1142 - `BetaManagedAgentsRetryStatusExhausted object`
1143
1144 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1145
1146 - `BetaManagedAgentsRetryStatusTerminal object`
1147
1148 The session encountered a terminal error and will transition to `terminated` state.
1149
1150 - `BetaManagedAgentsRepositoryNotFoundError object`
1151
1152 The repository host reported the repository as not found.
1153
1154 - `type: "repository_not_found_error"`
1155
1156 - `message: string`
1157
1158 Human-readable error description.
1159
1160 - `repository_url: string or null`
1161
1162 URL of the repository that could not be cloned. Null when it could not be identified.
1163
1164 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1165
1166 What the client should do next. Always `retrying`: the session keeps running without the repository.
1167
1168 - `BetaManagedAgentsRetryStatusRetrying object`
1169
1170 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.
1171
1172 - `BetaManagedAgentsRetryStatusExhausted object`
1173
1174 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1175
1176 - `BetaManagedAgentsRetryStatusTerminal object`
1177
1178 The session encountered a terminal error and will transition to `terminated` state.
1179
1180 - `BetaManagedAgentsRepositoryCheckoutError object`
1181
1182 The requested branch or commit does not exist in the repository.
1183
1184 - `type: "repository_checkout_error"`
1185
1186 - `message: string`
1187
1188 Human-readable error description.
1189
1190 - `repository_url: string or null`
1191
1192 URL of the repository that could not be cloned. Null when it could not be identified.
1193
1194 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1195
1196 What the client should do next. Always `retrying`: the session keeps running without the repository.
1197
1198 - `BetaManagedAgentsRetryStatusRetrying object`
1199
1200 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.
1201
1202 - `BetaManagedAgentsRetryStatusExhausted object`
1203
1204 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1205
1206 - `BetaManagedAgentsRetryStatusTerminal object`
1207
1208 The session encountered a terminal error and will transition to `terminated` state.
1209
1210 - `BetaManagedAgentsRepositoryCloneError object`
1211
1212 The repository could not be cloned.
1213
1214 - `type: "repository_clone_error"`
1215
1216 - `message: string`
1217
1218 Human-readable error description.
1219
1220 - `repository_url: string or null`
1221
1222 URL of the repository that could not be cloned. Null when it could not be identified.
1223
1224 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1225
1226 What the client should do next. Always `retrying`: the session keeps running without the repository.
1227
1228 - `BetaManagedAgentsRetryStatusRetrying object`
1229
1230 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.
1231
1232 - `BetaManagedAgentsRetryStatusExhausted object`
1233
1234 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1235
1236 - `BetaManagedAgentsRetryStatusTerminal object`
1237
1238 The session encountered a terminal error and will transition to `terminated` state.
1239
10881240 - `processed_at: string`
10891241
10901242 Timestamp when the error occurred.
from line 1291
11391291
11401292 format: date-time
11411293
1142 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
1294 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
11431295
1296 Structured information about why the session stopped. `null` when there is nothing more to report.
1297
1298 - `type: "refusal"`
1299
1300 - `category: "cyber" or "bio" or "frontier_llm" or 2 more or null`
1301
1302 The policy category that triggered the refusal, or `null` when there is no named category. New values can be added over time.
1303
1304 - `"cyber"`
1305
1306 - `"bio"`
1307
1308 - `"frontier_llm"`
1309
1310 - `"reasoning_extraction"`
1311
1312 - `"general_harms"`
1313
1314 - `explanation: string or null`
1315
1316 Human-readable explanation of the refusal, or `null` when none is available. The wording can change, so do not parse it.
1317
1318 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
1319
11441320 - `BetaManagedAgentsSessionEndTurn object`
11451321
11461322 The agent completed its turn naturally and is ready for the next user message.
from line 1345
11691345
11701346 - `type: "budget_reached"`
11711347
1348 - `BetaManagedAgentsSessionRefusal object`
1349
1350 The turn ended because the model's response was refused, for example by a safety classifier.
1351
1352 - `type: "refusal"`
1353
11721354 - `BetaManagedAgentsSessionStatusTerminatedEvent object`
11731355
11741356 Indicates the session has terminated, either due to an error or completion.
from line 1679
14971679
14981680 Public sthr_ ID of the thread that went idle.
14991681
1500 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
1682 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
15011683
1684 Structured information about why the thread stopped. `null` when there is nothing more to report.
1685
1686 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
1687
15021688 - `BetaManagedAgentsSessionEndTurn object`
15031689
15041690 The agent completed its turn naturally and is ready for the next user message.
from line 1700
15141700 - `BetaManagedAgentsSessionBudgetReached object`
15151701
15161702 The agent stopped because the session's tracked list cost reached its budget, or because its usage includes a model with no list price (which the budget cannot measure). Raise the budget to continue — or, if raising is rejected because a model has no list price, remove the budget.
1703
1704 - `BetaManagedAgentsSessionRefusal object`
1705
1706 The turn ended because the model's response was refused, for example by a safety classifier.
15171707
15181708 - `BetaManagedAgentsSessionThreadStatusTerminatedEvent object`
15191709
No line in this hunk matches that.