Threads changedapi/beta/sessions/threads
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+583added
Lines−11removed
From line
130
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 130, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 130
130130 - `"inline-tools-2026-09-15"`
131131
132132 - `"mcp-client-2026-09-15"`
133
134 - `"ce-plugins-2026-09-01"`
133135
134136- `"anthropic-workspace-id": optional string`
135137
from line 1046
10441046
10451047 - `"mcp-client-2026-09-15"`
10461048
1049 - `"ce-plugins-2026-09-01"`
1050
10471051- `"anthropic-workspace-id": optional string`
10481052
10491053 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1952
19481952
19491953 - `"mcp-client-2026-09-15"`
19501954
1955 - `"ce-plugins-2026-09-01"`
1956
19511957- `"anthropic-workspace-id": optional string`
19521958
19531959 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3457
34513457
34523458- `BetaManagedAgentsSessionThreadStatus = "running" or "idle" or "rescheduling" or "terminated"`
34533459
3454 SessionThreadStatus enum
3455
34563460 - `"running"`
34573461
34583462 - `"idle"`
from line 4259
42554259
42564260 Unique identifier for this event.
42574261
4258 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 5 more`
4262 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 10 more`
42594263
42604264 - `BetaManagedAgentsUnknownError object`
42614265
from line 4491
44874491
44884492 ID of the vault containing the affected credential.
44894493
4494 - `BetaManagedAgentsRepositoryAuthenticationError object`
4495
4496 The repository host rejected the credentials, or required credentials and received none.
4497
4498 - `type: "repository_authentication_error"`
4499
4500 - `message: string`
4501
4502 Human-readable error description.
4503
4504 - `repository_url: string or null`
4505
4506 URL of the repository that could not be cloned. Null when it could not be identified.
4507
4508 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
4509
4510 What the client should do next. Always `retrying`: the session keeps running without the repository.
4511
4512 - `BetaManagedAgentsRetryStatusRetrying object`
4513
4514 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.
4515
4516 - `BetaManagedAgentsRetryStatusExhausted object`
4517
4518 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
4519
4520 - `BetaManagedAgentsRetryStatusTerminal object`
4521
4522 The session encountered a terminal error and will transition to `terminated` state.
4523
4524 - `BetaManagedAgentsRepositoryForbiddenError object`
4525
4526 The repository host refused access to the repository.
4527
4528 - `type: "repository_forbidden_error"`
4529
4530 - `message: string`
4531
4532 Human-readable error description.
4533
4534 - `repository_url: string or null`
4535
4536 URL of the repository that could not be cloned. Null when it could not be identified.
4537
4538 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
4539
4540 What the client should do next. Always `retrying`: the session keeps running without the repository.
4541
4542 - `BetaManagedAgentsRetryStatusRetrying object`
4543
4544 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.
4545
4546 - `BetaManagedAgentsRetryStatusExhausted object`
4547
4548 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
4549
4550 - `BetaManagedAgentsRetryStatusTerminal object`
4551
4552 The session encountered a terminal error and will transition to `terminated` state.
4553
4554 - `BetaManagedAgentsRepositoryNotFoundError object`
4555
4556 The repository host reported the repository as not found.
4557
4558 - `type: "repository_not_found_error"`
4559
4560 - `message: string`
4561
4562 Human-readable error description.
4563
4564 - `repository_url: string or null`
4565
4566 URL of the repository that could not be cloned. Null when it could not be identified.
4567
4568 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
4569
4570 What the client should do next. Always `retrying`: the session keeps running without the repository.
4571
4572 - `BetaManagedAgentsRetryStatusRetrying object`
4573
4574 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.
4575
4576 - `BetaManagedAgentsRetryStatusExhausted object`
4577
4578 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
4579
4580 - `BetaManagedAgentsRetryStatusTerminal object`
4581
4582 The session encountered a terminal error and will transition to `terminated` state.
4583
4584 - `BetaManagedAgentsRepositoryCheckoutError object`
4585
4586 The requested branch or commit does not exist in the repository.
4587
4588 - `type: "repository_checkout_error"`
4589
4590 - `message: string`
4591
4592 Human-readable error description.
4593
4594 - `repository_url: string or null`
4595
4596 URL of the repository that could not be cloned. Null when it could not be identified.
4597
4598 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
4599
4600 What the client should do next. Always `retrying`: the session keeps running without the repository.
4601
4602 - `BetaManagedAgentsRetryStatusRetrying object`
4603
4604 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.
4605
4606 - `BetaManagedAgentsRetryStatusExhausted object`
4607
4608 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
4609
4610 - `BetaManagedAgentsRetryStatusTerminal object`
4611
4612 The session encountered a terminal error and will transition to `terminated` state.
4613
4614 - `BetaManagedAgentsRepositoryCloneError object`
4615
4616 The repository could not be cloned.
4617
4618 - `type: "repository_clone_error"`
4619
4620 - `message: string`
4621
4622 Human-readable error description.
4623
4624 - `repository_url: string or null`
4625
4626 URL of the repository that could not be cloned. Null when it could not be identified.
4627
4628 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
4629
4630 What the client should do next. Always `retrying`: the session keeps running without the repository.
4631
4632 - `BetaManagedAgentsRetryStatusRetrying object`
4633
4634 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.
4635
4636 - `BetaManagedAgentsRetryStatusExhausted object`
4637
4638 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
4639
4640 - `BetaManagedAgentsRetryStatusTerminal object`
4641
4642 The session encountered a terminal error and will transition to `terminated` state.
4643
44904644 - `processed_at: string`
44914645
44924646 Timestamp when the error occurred.
from line 4695
45414695
45424696 format: date-time
45434697
4544 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
4698 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
4699
4700 Structured information about why the session stopped. `null` when there is nothing more to report.
4701
4702 - `type: "refusal"`
4703
4704 - `category: "cyber" or "bio" or "frontier_llm" or 2 more or null`
4705
4706 The policy category that triggered the refusal, or `null` when there is no named category. New values can be added over time.
4707
4708 - `"cyber"`
4709
4710 - `"bio"`
4711
4712 - `"frontier_llm"`
4713
4714 - `"reasoning_extraction"`
4715
4716 - `"general_harms"`
4717
4718 - `explanation: string or null`
4719
4720 Human-readable explanation of the refusal, or `null` when none is available. The wording can change, so do not parse it.
4721
4722 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
45454723
45464724 - `BetaManagedAgentsSessionEndTurn object`
45474725
from line 4749
45714749
45724750 - `type: "budget_reached"`
45734751
4752 - `BetaManagedAgentsSessionRefusal object`
4753
4754 The turn ended because the model's response was refused, for example by a safety classifier.
4755
4756 - `type: "refusal"`
4757
45744758 - `BetaManagedAgentsSessionStatusTerminatedEvent object`
45754759
45764760 Indicates the session has terminated, either due to an error or completion.
from line 5083
48995083
49005084 Public sthr_ ID of the thread that went idle.
49015085
4902 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
5086 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
5087
5088 Structured information about why the thread stopped. `null` when there is nothing more to report.
5089
5090 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
49035091
49045092 - `BetaManagedAgentsSessionEndTurn object`
49055093
from line 5105
49175105
49185106 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.
49195107
5108 - `BetaManagedAgentsSessionRefusal object`
5109
5110 The turn ended because the model's response was refused, for example by a safety classifier.
5111
49205112 - `BetaManagedAgentsSessionThreadStatusTerminatedEvent object`
49215113
49225114 A session thread has terminated and will accept no further input. Emitted on the thread's own stream and cross-posted to the primary stream for child threads.
from line 6131
59396131
59406132 - `"mcp-client-2026-09-15"`
59416133
6134 - `"ce-plugins-2026-09-01"`
6135
59426136- `"anthropic-workspace-id": optional string`
59436137
59446138 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 6859
66656859
66666860 Unique identifier for this event.
66676861
6668 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 5 more`
6862 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 10 more`
66696863
66706864 - `BetaManagedAgentsUnknownError object`
66716865
from line 7091
68977091
68987092 ID of the vault containing the affected credential.
68997093
7094 - `BetaManagedAgentsRepositoryAuthenticationError object`
7095
7096 The repository host rejected the credentials, or required credentials and received none.
7097
7098 - `type: "repository_authentication_error"`
7099
7100 - `message: string`
7101
7102 Human-readable error description.
7103
7104 - `repository_url: string or null`
7105
7106 URL of the repository that could not be cloned. Null when it could not be identified.
7107
7108 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
7109
7110 What the client should do next. Always `retrying`: the session keeps running without the repository.
7111
7112 - `BetaManagedAgentsRetryStatusRetrying object`
7113
7114 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.
7115
7116 - `BetaManagedAgentsRetryStatusExhausted object`
7117
7118 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
7119
7120 - `BetaManagedAgentsRetryStatusTerminal object`
7121
7122 The session encountered a terminal error and will transition to `terminated` state.
7123
7124 - `BetaManagedAgentsRepositoryForbiddenError object`
7125
7126 The repository host refused access to the repository.
7127
7128 - `type: "repository_forbidden_error"`
7129
7130 - `message: string`
7131
7132 Human-readable error description.
7133
7134 - `repository_url: string or null`
7135
7136 URL of the repository that could not be cloned. Null when it could not be identified.
7137
7138 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
7139
7140 What the client should do next. Always `retrying`: the session keeps running without the repository.
7141
7142 - `BetaManagedAgentsRetryStatusRetrying object`
7143
7144 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.
7145
7146 - `BetaManagedAgentsRetryStatusExhausted object`
7147
7148 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
7149
7150 - `BetaManagedAgentsRetryStatusTerminal object`
7151
7152 The session encountered a terminal error and will transition to `terminated` state.
7153
7154 - `BetaManagedAgentsRepositoryNotFoundError object`
7155
7156 The repository host reported the repository as not found.
7157
7158 - `type: "repository_not_found_error"`
7159
7160 - `message: string`
7161
7162 Human-readable error description.
7163
7164 - `repository_url: string or null`
7165
7166 URL of the repository that could not be cloned. Null when it could not be identified.
7167
7168 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
7169
7170 What the client should do next. Always `retrying`: the session keeps running without the repository.
7171
7172 - `BetaManagedAgentsRetryStatusRetrying object`
7173
7174 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.
7175
7176 - `BetaManagedAgentsRetryStatusExhausted object`
7177
7178 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
7179
7180 - `BetaManagedAgentsRetryStatusTerminal object`
7181
7182 The session encountered a terminal error and will transition to `terminated` state.
7183
7184 - `BetaManagedAgentsRepositoryCheckoutError object`
7185
7186 The requested branch or commit does not exist in the repository.
7187
7188 - `type: "repository_checkout_error"`
7189
7190 - `message: string`
7191
7192 Human-readable error description.
7193
7194 - `repository_url: string or null`
7195
7196 URL of the repository that could not be cloned. Null when it could not be identified.
7197
7198 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
7199
7200 What the client should do next. Always `retrying`: the session keeps running without the repository.
7201
7202 - `BetaManagedAgentsRetryStatusRetrying object`
7203
7204 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.
7205
7206 - `BetaManagedAgentsRetryStatusExhausted object`
7207
7208 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
7209
7210 - `BetaManagedAgentsRetryStatusTerminal object`
7211
7212 The session encountered a terminal error and will transition to `terminated` state.
7213
7214 - `BetaManagedAgentsRepositoryCloneError object`
7215
7216 The repository could not be cloned.
7217
7218 - `type: "repository_clone_error"`
7219
7220 - `message: string`
7221
7222 Human-readable error description.
7223
7224 - `repository_url: string or null`
7225
7226 URL of the repository that could not be cloned. Null when it could not be identified.
7227
7228 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
7229
7230 What the client should do next. Always `retrying`: the session keeps running without the repository.
7231
7232 - `BetaManagedAgentsRetryStatusRetrying object`
7233
7234 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.
7235
7236 - `BetaManagedAgentsRetryStatusExhausted object`
7237
7238 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
7239
7240 - `BetaManagedAgentsRetryStatusTerminal object`
7241
7242 The session encountered a terminal error and will transition to `terminated` state.
7243
69007244 - `processed_at: string`
69017245
69027246 Timestamp when the error occurred.
from line 7295
69517295
69527296 format: date-time
69537297
6954 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
7298 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
7299
7300 Structured information about why the session stopped. `null` when there is nothing more to report.
7301
7302 - `type: "refusal"`
7303
7304 - `category: "cyber" or "bio" or "frontier_llm" or 2 more or null`
7305
7306 The policy category that triggered the refusal, or `null` when there is no named category. New values can be added over time.
7307
7308 - `"cyber"`
7309
7310 - `"bio"`
7311
7312 - `"frontier_llm"`
7313
7314 - `"reasoning_extraction"`
7315
7316 - `"general_harms"`
7317
7318 - `explanation: string or null`
7319
7320 Human-readable explanation of the refusal, or `null` when none is available. The wording can change, so do not parse it.
7321
7322 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
69557323
69567324 - `BetaManagedAgentsSessionEndTurn object`
69577325
from line 7349
69817349
69827350 - `type: "budget_reached"`
69837351
7352 - `BetaManagedAgentsSessionRefusal object`
7353
7354 The turn ended because the model's response was refused, for example by a safety classifier.
7355
7356 - `type: "refusal"`
7357
69847358 - `BetaManagedAgentsSessionStatusTerminatedEvent object`
69857359
69867360 Indicates the session has terminated, either due to an error or completion.
from line 7683
73097683
73107684 Public sthr_ ID of the thread that went idle.
73117685
7312 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
7686 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
7687
7688 Structured information about why the thread stopped. `null` when there is nothing more to report.
7689
7690 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
73137691
73147692 - `BetaManagedAgentsSessionEndTurn object`
73157693
from line 7704
73267704 - `BetaManagedAgentsSessionBudgetReached object`
73277705
73287706 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.
7707
7708 - `BetaManagedAgentsSessionRefusal object`
7709
7710 The turn ended because the model's response was refused, for example by a safety classifier.
73297711
73307712 - `BetaManagedAgentsSessionThreadStatusTerminatedEvent object`
73317713
from line 8715
83338715
83348716 - `"mcp-client-2026-09-15"`
83358717
8718 - `"ce-plugins-2026-09-01"`
8719
83368720- `"anthropic-workspace-id": optional string`
83378721
83388722 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 9443
90599443
90609444 Unique identifier for this event.
90619445
9062 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 5 more`
9446 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 10 more`
90639447
90649448 - `BetaManagedAgentsUnknownError object`
90659449
from line 9675
92919675
92929676 ID of the vault containing the affected credential.
92939677
9678 - `BetaManagedAgentsRepositoryAuthenticationError object`
9679
9680 The repository host rejected the credentials, or required credentials and received none.
9681
9682 - `type: "repository_authentication_error"`
9683
9684 - `message: string`
9685
9686 Human-readable error description.
9687
9688 - `repository_url: string or null`
9689
9690 URL of the repository that could not be cloned. Null when it could not be identified.
9691
9692 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
9693
9694 What the client should do next. Always `retrying`: the session keeps running without the repository.
9695
9696 - `BetaManagedAgentsRetryStatusRetrying object`
9697
9698 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.
9699
9700 - `BetaManagedAgentsRetryStatusExhausted object`
9701
9702 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
9703
9704 - `BetaManagedAgentsRetryStatusTerminal object`
9705
9706 The session encountered a terminal error and will transition to `terminated` state.
9707
9708 - `BetaManagedAgentsRepositoryForbiddenError object`
9709
9710 The repository host refused access to the repository.
9711
9712 - `type: "repository_forbidden_error"`
9713
9714 - `message: string`
9715
9716 Human-readable error description.
9717
9718 - `repository_url: string or null`
9719
9720 URL of the repository that could not be cloned. Null when it could not be identified.
9721
9722 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
9723
9724 What the client should do next. Always `retrying`: the session keeps running without the repository.
9725
9726 - `BetaManagedAgentsRetryStatusRetrying object`
9727
9728 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.
9729
9730 - `BetaManagedAgentsRetryStatusExhausted object`
9731
9732 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
9733
9734 - `BetaManagedAgentsRetryStatusTerminal object`
9735
9736 The session encountered a terminal error and will transition to `terminated` state.
9737
9738 - `BetaManagedAgentsRepositoryNotFoundError object`
9739
9740 The repository host reported the repository as not found.
9741
9742 - `type: "repository_not_found_error"`
9743
9744 - `message: string`
9745
9746 Human-readable error description.
9747
9748 - `repository_url: string or null`
9749
9750 URL of the repository that could not be cloned. Null when it could not be identified.
9751
9752 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
9753
9754 What the client should do next. Always `retrying`: the session keeps running without the repository.
9755
9756 - `BetaManagedAgentsRetryStatusRetrying object`
9757
9758 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.
9759
9760 - `BetaManagedAgentsRetryStatusExhausted object`
9761
9762 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
9763
9764 - `BetaManagedAgentsRetryStatusTerminal object`
9765
9766 The session encountered a terminal error and will transition to `terminated` state.
9767
9768 - `BetaManagedAgentsRepositoryCheckoutError object`
9769
9770 The requested branch or commit does not exist in the repository.
9771
9772 - `type: "repository_checkout_error"`
9773
9774 - `message: string`
9775
9776 Human-readable error description.
9777
9778 - `repository_url: string or null`
9779
9780 URL of the repository that could not be cloned. Null when it could not be identified.
9781
9782 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
9783
9784 What the client should do next. Always `retrying`: the session keeps running without the repository.
9785
9786 - `BetaManagedAgentsRetryStatusRetrying object`
9787
9788 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.
9789
9790 - `BetaManagedAgentsRetryStatusExhausted object`
9791
9792 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
9793
9794 - `BetaManagedAgentsRetryStatusTerminal object`
9795
9796 The session encountered a terminal error and will transition to `terminated` state.
9797
9798 - `BetaManagedAgentsRepositoryCloneError object`
9799
9800 The repository could not be cloned.
9801
9802 - `type: "repository_clone_error"`
9803
9804 - `message: string`
9805
9806 Human-readable error description.
9807
9808 - `repository_url: string or null`
9809
9810 URL of the repository that could not be cloned. Null when it could not be identified.
9811
9812 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
9813
9814 What the client should do next. Always `retrying`: the session keeps running without the repository.
9815
9816 - `BetaManagedAgentsRetryStatusRetrying object`
9817
9818 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.
9819
9820 - `BetaManagedAgentsRetryStatusExhausted object`
9821
9822 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
9823
9824 - `BetaManagedAgentsRetryStatusTerminal object`
9825
9826 The session encountered a terminal error and will transition to `terminated` state.
9827
92949828 - `processed_at: string`
92959829
92969830 Timestamp when the error occurred.
from line 9879
93459879
93469880 format: date-time
93479881
9348 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
9882 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
9883
9884 Structured information about why the session stopped. `null` when there is nothing more to report.
9885
9886 - `type: "refusal"`
9887
9888 - `category: "cyber" or "bio" or "frontier_llm" or 2 more or null`
9889
9890 The policy category that triggered the refusal, or `null` when there is no named category. New values can be added over time.
9891
9892 - `"cyber"`
9893
9894 - `"bio"`
9895
9896 - `"frontier_llm"`
9897
9898 - `"reasoning_extraction"`
9899
9900 - `"general_harms"`
9901
9902 - `explanation: string or null`
9903
9904 Human-readable explanation of the refusal, or `null` when none is available. The wording can change, so do not parse it.
9905
9906 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
93499907
93509908 - `BetaManagedAgentsSessionEndTurn object`
93519909
from line 9933
93759933
93769934 - `type: "budget_reached"`
93779935
9936 - `BetaManagedAgentsSessionRefusal object`
9937
9938 The turn ended because the model's response was refused, for example by a safety classifier.
9939
9940 - `type: "refusal"`
9941
93789942 - `BetaManagedAgentsSessionStatusTerminatedEvent object`
93799943
93809944 Indicates the session has terminated, either due to an error or completion.
from line 10267
970310267
970410268 Public sthr_ ID of the thread that went idle.
970510269
9706 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReached`
10270 - `stop_details: BetaManagedAgentsSessionRefusalStopDetails or null`
10271
10272 Structured information about why the thread stopped. `null` when there is nothing more to report.
10273
10274 - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more`
970710275
970810276 - `BetaManagedAgentsSessionEndTurn object`
970910277
from line 10288
972010288 - `BetaManagedAgentsSessionBudgetReached object`
972110289
972210290 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.
10291
10292 - `BetaManagedAgentsSessionRefusal object`
10293
10294 The turn ended because the model's response was refused, for example by a safety classifier.
972310295
972410296 - `BetaManagedAgentsSessionThreadStatusTerminatedEvent object`
972510297
972610298
No line in this hunk matches that.