Stream Session Thread Events changedapi/beta/sessions/threads/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
129
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 129, old and new numbered
/
from line 129
129129
130130 - `"mcp-client-2026-09-15"`
131131
132 - `"ce-plugins-2026-09-01"`
133
132134- `"anthropic-workspace-id": optional string`
133135
134136 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 857
855857
856858 Unique identifier for this event.
857859
858 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 5 more`
860 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 10 more`
859861
860862 - `BetaManagedAgentsUnknownError object`
861863
from line 1089
10871089
10881090 ID of the vault containing the affected credential.
10891091
1092 - `BetaManagedAgentsRepositoryAuthenticationError object`
1093
1094 The repository host rejected the credentials, or required credentials and received none.
1095
1096 - `type: "repository_authentication_error"`
1097
1098 - `message: string`
1099
1100 Human-readable error description.
1101
1102 - `repository_url: string or null`
1103
1104 URL of the repository that could not be cloned. Null when it could not be identified.
1105
1106 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1107
1108 What the client should do next. Always `retrying`: the session keeps running without the repository.
1109
1110 - `BetaManagedAgentsRetryStatusRetrying object`
1111
1112 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.
1113
1114 - `BetaManagedAgentsRetryStatusExhausted object`
1115
1116 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1117
1118 - `BetaManagedAgentsRetryStatusTerminal object`
1119
1120 The session encountered a terminal error and will transition to `terminated` state.
1121
1122 - `BetaManagedAgentsRepositoryForbiddenError object`
1123
1124 The repository host refused access to the repository.
1125
1126 - `type: "repository_forbidden_error"`
1127
1128 - `message: string`
1129
1130 Human-readable error description.
1131
1132 - `repository_url: string or null`
1133
1134 URL of the repository that could not be cloned. Null when it could not be identified.
1135
1136 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1137
1138 What the client should do next. Always `retrying`: the session keeps running without the repository.
1139
1140 - `BetaManagedAgentsRetryStatusRetrying object`
1141
1142 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.
1143
1144 - `BetaManagedAgentsRetryStatusExhausted object`
1145
1146 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1147
1148 - `BetaManagedAgentsRetryStatusTerminal object`
1149
1150 The session encountered a terminal error and will transition to `terminated` state.
1151
1152 - `BetaManagedAgentsRepositoryNotFoundError object`
1153
1154 The repository host reported the repository as not found.
1155
1156 - `type: "repository_not_found_error"`
1157
1158 - `message: string`
1159
1160 Human-readable error description.
1161
1162 - `repository_url: string or null`
1163
1164 URL of the repository that could not be cloned. Null when it could not be identified.
1165
1166 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1167
1168 What the client should do next. Always `retrying`: the session keeps running without the repository.
1169
1170 - `BetaManagedAgentsRetryStatusRetrying object`
1171
1172 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.
1173
1174 - `BetaManagedAgentsRetryStatusExhausted object`
1175
1176 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1177
1178 - `BetaManagedAgentsRetryStatusTerminal object`
1179
1180 The session encountered a terminal error and will transition to `terminated` state.
1181
1182 - `BetaManagedAgentsRepositoryCheckoutError object`
1183
1184 The requested branch or commit does not exist in the repository.
1185
1186 - `type: "repository_checkout_error"`
1187
1188 - `message: string`
1189
1190 Human-readable error description.
1191
1192 - `repository_url: string or null`
1193
1194 URL of the repository that could not be cloned. Null when it could not be identified.
1195
1196 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1197
1198 What the client should do next. Always `retrying`: the session keeps running without the repository.
1199
1200 - `BetaManagedAgentsRetryStatusRetrying object`
1201
1202 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.
1203
1204 - `BetaManagedAgentsRetryStatusExhausted object`
1205
1206 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1207
1208 - `BetaManagedAgentsRetryStatusTerminal object`
1209
1210 The session encountered a terminal error and will transition to `terminated` state.
1211
1212 - `BetaManagedAgentsRepositoryCloneError object`
1213
1214 The repository could not be cloned.
1215
1216 - `type: "repository_clone_error"`
1217
1218 - `message: string`
1219
1220 Human-readable error description.
1221
1222 - `repository_url: string or null`
1223
1224 URL of the repository that could not be cloned. Null when it could not be identified.
1225
1226 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1227
1228 What the client should do next. Always `retrying`: the session keeps running without the repository.
1229
1230 - `BetaManagedAgentsRetryStatusRetrying object`
1231
1232 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.
1233
1234 - `BetaManagedAgentsRetryStatusExhausted object`
1235
1236 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1237
1238 - `BetaManagedAgentsRetryStatusTerminal object`
1239
1240 The session encountered a terminal error and will transition to `terminated` state.
1241
10901242 - `processed_at: string`
10911243
10921244 Timestamp when the error occurred.
from line 1293
11411293
11421294 format: date-time
11431295
1144 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
1296 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
11451297
1298 Structured information about why the session stopped. `null` when there is nothing more to report.
1299
1300 - `type: "refusal"`
1301
1302 - `category: "cyber" or "bio" or "frontier_llm" or 2 more or null`
1303
1304 The policy category that triggered the refusal, or `null` when there is no named category. New values can be added over time.
1305
1306 - `"cyber"`
1307
1308 - `"bio"`
1309
1310 - `"frontier_llm"`
1311
1312 - `"reasoning_extraction"`
1313
1314 - `"general_harms"`
1315
1316 - `explanation: string or null`
1317
1318 Human-readable explanation of the refusal, or `null` when none is available. The wording can change, so do not parse it.
1319
1320 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
1321
11461322 - `BetaManagedAgentsSessionEndTurn object`
11471323
11481324 The agent completed its turn naturally and is ready for the next user message.
from line 1347
11711347
11721348 - `type: "budget_reached"`
11731349
1350 - `BetaManagedAgentsSessionRefusal object`
1351
1352 The turn ended because the model's response was refused, for example by a safety classifier.
1353
1354 - `type: "refusal"`
1355
11741356 - `BetaManagedAgentsSessionStatusTerminatedEvent object`
11751357
11761358 Indicates the session has terminated, either due to an error or completion.
from line 1681
14991681
15001682 Public sthr_ ID of the thread that went idle.
15011683
1502 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
1684 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
15031685
1686 Structured information about why the thread stopped. `null` when there is nothing more to report.
1687
1688 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
1689
15041690 - `BetaManagedAgentsSessionEndTurn object`
15051691
15061692 The agent completed its turn naturally and is ready for the next user message.
from line 1702
15161702 - `BetaManagedAgentsSessionBudgetReached object`
15171703
15181704 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.
1705
1706 - `BetaManagedAgentsSessionRefusal object`
1707
1708 The turn ended because the model's response was refused, for example by a safety classifier.
15191709
15201710 - `BetaManagedAgentsSessionThreadStatusTerminatedEvent object`
15211711
No line in this hunk matches that.