Stream Session Thread Events changedapi/beta/sessions/threads/events/stream
Nearest release: v2.1.330, published under an hour 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+27added
Lines−25removed
From line
131
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits34to this page, all time
The whole hunk
from line 131, old and new numbered
/
from line 131
131131
132132 - `"experimental-claude-tag-2026-10-21"`
133133
134 - `"ce-claude-code-managed-settings-2026-10-06"`
135
134136 - `"user-profiles-billing-2026-10-01"`
135137
136138 - `"message-batches-2024-09-24"`
from line 901
899901
900902 Unique identifier for this event.
901903
902 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 12 more`
904 - `error: BetaManagedAgentsUnknownErrorObject or BetaManagedAgentsModelOverloadedErrorObject or BetaManagedAgentsModelRateLimitedErrorObject or 12 more`
903905
904 - `BetaManagedAgentsUnknownError object`
906 - `BetaManagedAgentsUnknownErrorObject object`
905907
906908 An unknown or unexpected error occurred during session execution. A fallback variant; clients that don't recognize a new error code can match on `retry_status` and `message` alone.
907909
from line 935
933935
934936 - `type: "terminal"`
935937
936 - `BetaManagedAgentsModelOverloadedError object`
938 - `BetaManagedAgentsModelOverloadedErrorObject object`
937939
938940 The model is currently overloaded. Emitted after automatic retries are exhausted.
939941
from line 961
959961
960962 The session encountered a terminal error and will transition to `terminated` state.
961963
962 - `BetaManagedAgentsModelRateLimitedError object`
964 - `BetaManagedAgentsModelRateLimitedErrorObject object`
963965
964966 The model request was rate-limited.
965967
from line 987
985987
986988 The session encountered a terminal error and will transition to `terminated` state.
987989
988 - `BetaManagedAgentsModelRequestFailedError object`
990 - `BetaManagedAgentsModelRequestFailedErrorObject object`
989991
990992 A model request failed for a reason other than overload or rate-limiting.
991993
from line 1013
10111013
10121014 The session encountered a terminal error and will transition to `terminated` state.
10131015
1014 - `BetaManagedAgentsMCPConnectionFailedError object`
1016 - `BetaManagedAgentsMCPConnectionFailedErrorObject object`
10151017
10161018 Failed to connect to an MCP server.
10171019
from line 1043
10411043
10421044 The session encountered a terminal error and will transition to `terminated` state.
10431045
1044 - `BetaManagedAgentsMCPAuthenticationFailedError object`
1046 - `BetaManagedAgentsMCPAuthenticationFailedErrorObject object`
10451047
10461048 Authentication to an MCP server failed.
10471049
from line 1073
10711073
10721074 The session encountered a terminal error and will transition to `terminated` state.
10731075
1074 - `BetaManagedAgentsBillingError object`
1076 - `BetaManagedAgentsBillingErrorObject object`
10751077
10761078 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.
10771079
from line 1099
10971099
10981100 The session encountered a terminal error and will transition to `terminated` state.
10991101
1100 - `BetaManagedAgentsCredentialHostUnreachableError object`
1102 - `BetaManagedAgentsCredentialHostUnreachableErrorObject object`
11011103
11021104 An `environment_variable` credential's `auth.networking.allowed_hosts` includes a host the environment's network policy does not permit.
11031105
from line 1133
11311133
11321134 ID of the vault containing the affected credential.
11331135
1134 - `BetaManagedAgentsToolUseLimitReachedError object`
1136 - `BetaManagedAgentsToolUseLimitReachedErrorObject object`
11351137
11361138 The turn stopped because the agent loop reached its limit on tool-use rounds (one model response that calls tools, plus running those tools, is one round), not because a request failed. The thread goes idle with `stop_reason: retries_exhausted` (a child thread then terminates); the next `user.message` starts a new turn.
11371139
from line 1159
11571159
11581160 The session encountered a terminal error and will transition to `terminated` state.
11591161
1160 - `BetaManagedAgentsCompactionLimitReachedError object`
1162 - `BetaManagedAgentsCompactionLimitReachedErrorObject object`
11611163
11621164 The turn stopped because the context was compacted the maximum number of times in a row without the model producing a message or a tool call, not because a request failed. The thread goes idle with `stop_reason: retries_exhausted` (a child thread then terminates); the next `user.message` starts a new turn.
11631165
from line 1185
11831185
11841186 The session encountered a terminal error and will transition to `terminated` state.
11851187
1186 - `BetaManagedAgentsRepositoryAuthenticationError object`
1188 - `BetaManagedAgentsRepositoryAuthenticationErrorObject object`
11871189
11881190 The repository host rejected the credentials, or required credentials and received none.
11891191
from line 1215
12131215
12141216 The session encountered a terminal error and will transition to `terminated` state.
12151217
1216 - `BetaManagedAgentsRepositoryForbiddenError object`
1218 - `BetaManagedAgentsRepositoryForbiddenErrorObject object`
12171219
12181220 The repository host refused access to the repository.
12191221
from line 1245
12431245
12441246 The session encountered a terminal error and will transition to `terminated` state.
12451247
1246 - `BetaManagedAgentsRepositoryNotFoundError object`
1248 - `BetaManagedAgentsRepositoryNotFoundErrorObject object`
12471249
12481250 The repository host reported the repository as not found.
12491251
from line 1275
12731275
12741276 The session encountered a terminal error and will transition to `terminated` state.
12751277
1276 - `BetaManagedAgentsRepositoryCheckoutError object`
1278 - `BetaManagedAgentsRepositoryCheckoutErrorObject object`
12771279
12781280 The requested branch or commit does not exist in the repository.
12791281
from line 1305
13031305
13041306 The session encountered a terminal error and will transition to `terminated` state.
13051307
1306 - `BetaManagedAgentsRepositoryCloneError object`
1308 - `BetaManagedAgentsRepositoryCloneErrorObject object`
13071309
13081310 The repository could not be cloned.
13091311
from line 3031
30293031
30303032 - `type: "completed"`
30313033
3032 - `BetaManagedAgentsWorkflowRunResultError object`
3034 - `BetaManagedAgentsWorkflowRunResultErrorObject object`
30333035
30343036 The run failed or reached its time limit.
30353037
30363038 - `type: "error"`
30373039
3038 - `error: BetaManagedAgentsWorkflowRunError`
3040 - `error: BetaManagedAgentsWorkflowRunErrorObject`
30393041
30403042 Why the run did not finish.
30413043
3042 - `BetaManagedAgentsTimeoutWorkflowRunError object`
3044 - `BetaManagedAgentsTimeoutWorkflowRunErrorObject object`
30433045
30443046 The run reached its time limit.
30453047
from line 3051
30493051
30503052 Short explanation written by the server. It never contains content from the run or its agents.
30513053
3052 - `BetaManagedAgentsProgramWorkflowRunError object`
3054 - `BetaManagedAgentsProgramWorkflowRunErrorObject object`
30533055
30543056 The plan, a program that the agent wrote, failed, or the server refused it.
30553057
from line 3061
30593061
30603062 Short explanation written by the server. It never contains content from the run or its agents.
30613063
3062 - `BetaManagedAgentsUnknownWorkflowRunError object`
3064 - `BetaManagedAgentsUnknownWorkflowRunErrorObject object`
30633065
30643066 A failure that has no type of its own.
30653067
from line 3071
30693071
30703072 Short explanation written by the server. It never contains content from the run or its agents.
30713073
3072 - `BetaManagedAgentsThreadLimitWorkflowRunError object`
3074 - `BetaManagedAgentsThreadLimitWorkflowRunErrorObject object`
30733075
30743076 The run exceeded the limit on the number of threads that a run can create.
30753077
from line 3081
30793081
30803082 Short explanation written by the server. It never contains content from the run or its agents.
30813083
3082 - `BetaManagedAgentsMaxWorkflowRunsWorkflowRunError object`
3084 - `BetaManagedAgentsMaxWorkflowRunsWorkflowRunErrorObject object`
30833085
30843086 No run was created, because the session was at its limit of open workflow runs, which are runs that have not ended. Only `workflow_run.error` carries this type.
30853087
from line 3203
32013203
32023204 Unique identifier for this event.
32033205
3204 - `error: BetaManagedAgentsWorkflowRunError`
3206 - `error: BetaManagedAgentsWorkflowRunErrorObject`
32053207
32063208 Why the run did not finish, or was not created.
32073209
No line in this hunk matches that.