Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Stream Session Thread Events changedapi/beta/sessions/threads/events/stream

Recorded here
Lines+57added
Lines−1removed
From line 875 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits29to this page, all time

The whole hunk

from line 875, old and new numbered
/
lines
from line 875
875875 
876876 Unique identifier for this event.
877877 
878 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 10 more`
878 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 12 more`
879879 
880880 - `BetaManagedAgentsUnknownError object`
881881 
from line 1107
11071107 
11081108 ID of the vault containing the affected credential.
11091109 
1110 - `BetaManagedAgentsToolUseLimitReachedError object`
1111 
1112 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.
1113 
1114 - `type: "tool_use_limit_reached_error"`
1115 
1116 - `message: string`
1117 
1118 Human-readable error description.
1119 
1120 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1121 
1122 What the client should do next.
1123 
1124 - `BetaManagedAgentsRetryStatusRetrying object`
1125 
1126 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.
1127 
1128 - `BetaManagedAgentsRetryStatusExhausted object`
1129 
1130 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1131 
1132 - `BetaManagedAgentsRetryStatusTerminal object`
1133 
1134 The session encountered a terminal error and will transition to `terminated` state.
1135 
1136 - `BetaManagedAgentsCompactionLimitReachedError object`
1137 
1138 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.
1139 
1140 - `type: "compaction_limit_reached_error"`
1141 
1142 - `message: string`
1143 
1144 Human-readable error description.
1145 
1146 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
1147 
1148 What the client should do next.
1149 
1150 - `BetaManagedAgentsRetryStatusRetrying object`
1151 
1152 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.
1153 
1154 - `BetaManagedAgentsRetryStatusExhausted object`
1155 
1156 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
1157 
1158 - `BetaManagedAgentsRetryStatusTerminal object`
1159 
1160 The session encountered a terminal error and will transition to `terminated` state.
1161 
11101162 - `BetaManagedAgentsRepositoryAuthenticationError object`
11111163 
11121164 The repository host rejected the credentials, or required credentials and received none.
from line 2451
23992451 
24002452 Two-letter ISO 3166-1 country code, uppercase.
24012453 
2454 pattern: ^[A-Z]{2}$
2455 
24022456 - `region: optional string or null`
24032457 
24042458 Region or state name.
from line 2754
27002754 - `amount: string`
27012755 
27022756 Amount in minor units of the currency, as an integer decimal string with no leading zeros: "2500" is $25.00 and "50" is fifty cents. A string rather than a number so no float rounding is ever applied.
2757 
2758 pattern: ^(0|[1-9]\d*)$
27032759 
27042760 - `currency: BetaCurrency`
27052761 
Feedback