Threads changedapi/beta/sessions/threads
Recorded here
Lines+191added
Lines−3removed
From line
705
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits31to this page, all time
The whole hunk
from line 705, 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.
from line 705
705705
706706 Two-letter ISO 3166-1 country code, uppercase.
707707
708 pattern: ^[A-Z]{2}$
709
708710 - `region: optional string or null`
709711
710712 Region or state name.
from line 981
979981
980982 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.
981983
984 pattern: ^(0|[1-9]\d*)$
985
982986 - `currency: BetaCurrency`
983987
984988 Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.
from line 1800
17961800
17971801 Two-letter ISO 3166-1 country code, uppercase.
17981802
1803 pattern: ^[A-Z]{2}$
1804
17991805 - `region: optional string or null`
18001806
18011807 Region or state name.
from line 2076
20702076
20712077 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.
20722078
2079 pattern: ^(0|[1-9]\d*)$
2080
20732081 - `currency: BetaCurrency`
20742082
20752083 Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.
from line 2886
28782886
28792887 Two-letter ISO 3166-1 country code, uppercase.
28802888
2889 pattern: ^[A-Z]{2}$
2890
28812891 - `region: optional string or null`
28822892
28832893 Region or state name.
from line 3162
31523162
31533163 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.
31543164
3165 pattern: ^(0|[1-9]\d*)$
3166
31553167 - `currency: BetaCurrency`
31563168
31573169 Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.
from line 3819
38073819
38083820 Two-letter ISO 3166-1 country code, uppercase.
38093821
3822 pattern: ^[A-Z]{2}$
3823
38103824 - `region: optional string or null`
38113825
38123826 Region or state name.
from line 4459
44454459
44464460 Two-letter ISO 3166-1 country code, uppercase.
44474461
4462 pattern: ^[A-Z]{2}$
4463
44484464 - `region: optional string or null`
44494465
44504466 Region or state name.
from line 4735
47194735
47204736 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.
47214737
4738 pattern: ^(0|[1-9]\d*)$
4739
47224740 - `currency: BetaCurrency`
47234741
47244742 Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.
from line 4851
48334851
48344852 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.
48354853
4854 pattern: ^(0|[1-9]\d*)$
4855
48364856 - `currency: BetaCurrency`
48374857
48384858 Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.
from line 5599
55795599
55805600 Unique identifier for this event.
55815601
5582 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 10 more`
5602 - `error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 12 more`
55835603
55845604 - `BetaManagedAgentsUnknownError object`
55855605
from line 5831
58115831
58125832 ID of the vault containing the affected credential.
58135833
5834 - `BetaManagedAgentsToolUseLimitReachedError object`
5835
5836 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.
5837
5838 - `type: "tool_use_limit_reached_error"`
5839
5840 - `message: string`
5841
5842 Human-readable error description.
5843
5844 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
5845
5846 What the client should do next.
5847
5848 - `BetaManagedAgentsRetryStatusRetrying object`
5849
5850 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.
5851
5852 - `BetaManagedAgentsRetryStatusExhausted object`
5853
5854 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
5855
5856 - `BetaManagedAgentsRetryStatusTerminal object`
5857
5858 The session encountered a terminal error and will transition to `terminated` state.
5859
5860 - `BetaManagedAgentsCompactionLimitReachedError object`
5861
5862 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.
5863
5864 - `type: "compaction_limit_reached_error"`
5865
5866 - `message: string`
5867
5868 Human-readable error description.
5869
5870 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
5871
5872 What the client should do next.
5873
5874 - `BetaManagedAgentsRetryStatusRetrying object`
5875
5876 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.
5877
5878 - `BetaManagedAgentsRetryStatusExhausted object`
5879
5880 This turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
5881
5882 - `BetaManagedAgentsRetryStatusTerminal object`
5883
5884 The session encountered a terminal error and will transition to `terminated` state.
5885
58145886 - `BetaManagedAgentsRepositoryAuthenticationError object`
58155887
58165888 The repository host rejected the credentials, or required credentials and received none.
from line 7175
71037175
71047176 Two-letter ISO 3166-1 country code, uppercase.
71057177
7178 pattern: ^[A-Z]{2}$
7179
71067180 - `region: optional string or null`
71077181
71087182 Region or state name.
from line 7479
74057479
74067480 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.
74077481
7482 pattern: ^(0|[1-9]\d*)$
7483
74087484 - `currency: BetaCurrency`
74097485
74107486 Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.
from line 8149
80738149
80748150 - `BetaManagedAgentsDocumentBlock object`
80758151
8076 Document content, either specified directly as base64 data, as text, or as a reference via a URL.
8077
8078 - `type: "document"`
8079
8080 - `source: BetaManagedAgentsBase64DocumentSource or BetaManagedAgentsPlainTextDocumentSource or BetaManagedAgentsURLDocumentSource or BetaManagedAgentsFileDocumentSource`
8081
8082 The source of the document data.
8083
8084 - `BetaManagedAgentsBase64DocumentSource object`
8085
8086 Base64-encoded document data.
8087
8088 - `type: "base64"`
8089
8090 - `data: string`
8091
8092 Base64-encoded document data.
8093
8094 minLength: 1
8095
8096 - `media_type: string`
8097
8098 MIME type of the document (e.g., "application/pdf").
8099
8100 minLength: 1
8101
8102 - `BetaManagedAgentsPlainTextDocumentSource object`
8103
8104 Plain text document content.
8105
8106 - `type: "text"`
8107
8108 - `data: string`
8109
8110 The plain text content.
8111
8112 minLength: 1
8113
8114 - `media_type: "text/plain"`
8115
8116 MIME type of the text content. Must be "text/plain".
8117
8118 - `BetaManagedAgentsURLDocumentSource object`
8119
8120 Document referenced by URL.
8121
8122 - `type: "url"`
8123
8124 - `url: string`
8125
8126 URL of the document to fetch.
8127
8128 minLength: 1
8129
8130 - `BetaManagedAgentsFileDocumentSource object`
8131
8132 Document referenced by file ID.
8133
8134 - `type: "file"`
8135
8136 - `file_id: string`
8137
8138 ID of a previously uploaded file.
8139
8140 minLength: 1
8141
8142 - `context: optional string or null`
8143
8144 Additional context about the document for the model.
8145
8146 - `title: optional string or null`
8147
8148 The title of the document.
8149
8150 - `BetaManagedAgentsRedactedBlock object`
8151
8152 Placeholder for content withheld by Anthropic model policy.
8153
8154 - `type: "redacted"`
8155
8156 - `processed_at: optional string or null`
8157
8158 Timestamp when the agent finished processing this message.
8159
8160 format: date-time
8161
8162 - `BetaManagedAgentsUserInterruptEvent object`
8163
8164 An interrupt event that pauses agent execution and returns control to the user.
8165
8166 - `type: "user.interrupt"`
8167
8168 - `id: string`
8169
8170 Unique identifier for this event.
8171
8172 - `processed_at: optional string or null`
8173
8174 Timestamp when the interrupt was processed.
8175
8176 format: date-time
8177
8178 - `session_thread_id: optional string or null`
8179
8180 If absent, interrupts every non-archived thread in a multiagent session (or the primary alone in a single-agent session). If present, interrupts only the named thread.
8181
8182 - `BetaManagedAgentsUserToolConfirmationEvent object`
8183
8184 A tool confirmation event that approves or denies a pending tool execution.
8185
8186 - `type: "user.tool_confirmation"`
8187
8188 - `id: string`
8189
8190 Unique identifier for this event.
8191
8192 - `result: "allow" or "deny"`
8193
8194 The confirmation result: 'allow' or 'deny'.
8195
8196 - `"allow"`
8197
8198 - `"deny"`
8199
8200 - `tool_use_id: string`
8201
8202 The id of the `agent.tool_use` or `agent
8152 Document content, either specified directly as base64 dat
No line in this hunk matches that.