Threads changedapi/beta/sessions/threads
Nearest release: v2.1.258, published an hour after 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+71added
Lines−13removed
From line
20
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 20, 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 20
2020
2121- `page: optional string`
2222
23 Opaque pagination cursor from a previous response's next_page. Forward-only.
23 Opaque pagination cursor from a previous response's `next_page`. Forward-only.
2424
2525### Headers
2626
from line 30
3030
3131 - `string`
3232
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
3434
3535 - `"message-batches-2024-09-24"`
3636
from line 114
114114
115115 - `"ce-user-management-2026-07-13"`
116116
117 - `"mid-conversation-output-config-2026-07-01"`
118
119 - `"thinking-binding-controls-2026-08-01"`
120
121 - `"mid-conversation-system-clear-at-2026-08-21"`
122
117123### Returns
118124
119125- `data: optional array of BetaManagedAgentsSessionThread`
from line 160
154160
155161 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
156162
157 - `"claude-sonnet-5" or "claude-fable-5" or "claude-opus-5" or 10 more`
163 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
158164
159165 The model that will power your agent.
160166
161167 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
162168
169 - `"claude-fable-5-1"`
170
171 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
172
163173 - `"claude-sonnet-5"`
164174
165175 High-performance model for coding and agents
from line 883
873883
874884 - `string`
875885
876 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
886 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
877887
878888 - `"message-batches-2024-09-24"`
879889
from line 967
957967
958968 - `"ce-user-management-2026-07-13"`
959969
970 - `"mid-conversation-output-config-2026-07-01"`
971
972 - `"thinking-binding-controls-2026-08-01"`
973
974 - `"mid-conversation-system-clear-at-2026-08-21"`
975
960976### Returns
961977
962978- `BetaManagedAgentsSessionThread object`
from line 1013
9971013
9981014 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
9991015
1000 - `"claude-sonnet-5" or "claude-fable-5" or "claude-opus-5" or 10 more`
1016 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
10011017
10021018 The model that will power your agent.
10031019
10041020 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
10051021
1022 - `"claude-fable-5-1"`
1023
1024 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
1025
10061026 - `"claude-sonnet-5"`
10071027
10081028 High-performance model for coding and agents
from line 1727
17071727
17081728 - `string`
17091729
1710 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1730 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
17111731
17121732 - `"message-batches-2024-09-24"`
17131733
from line 1811
17911811
17921812 - `"ce-user-management-2026-07-13"`
17931813
1814 - `"mid-conversation-output-config-2026-07-01"`
1815
1816 - `"thinking-binding-controls-2026-08-01"`
1817
1818 - `"mid-conversation-system-clear-at-2026-08-21"`
1819
17941820### Returns
17951821
17961822- `BetaManagedAgentsSessionThread object`
from line 1857
18311857
18321858 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
18331859
1834 - `"claude-sonnet-5" or "claude-fable-5" or "claude-opus-5" or 10 more`
1860 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
18351861
18361862 The model that will power your agent.
18371863
18381864 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
18391865
1866 - `"claude-fable-5-1"`
1867
1868 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
1869
18401870 - `"claude-sonnet-5"`
18411871
18421872 High-performance model for coding and agents
from line 2594
25642594
25652595 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
25662596
2567 - `"claude-sonnet-5" or "claude-fable-5" or "claude-opus-5" or 10 more`
2597 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
25682598
25692599 The model that will power your agent.
25702600
25712601 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
25722602
2603 - `"claude-fable-5-1"`
2604
2605 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
2606
25732607 - `"claude-sonnet-5"`
25742608
25752609 High-performance model for coding and agents
from line 4774
47404774
47414775 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
47424776
4743 - `"claude-sonnet-5" or "claude-fable-5" or "claude-opus-5" or 10 more`
4777 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
47444778
47454779 The model that will power your agent.
47464780
47474781 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
47484782
4783 - `"claude-fable-5-1"`
4784
4785 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
4786
47494787 - `"claude-sonnet-5"`
47504788
47514789 High-performance model for coding and agents
from line 5520
54825520
54835521 - `string`
54845522
5485 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
5523 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
54865524
54875525 - `"message-batches-2024-09-24"`
54885526
from line 5604
55665604
55675605 - `"ce-user-management-2026-07-13"`
55685606
5607 - `"mid-conversation-output-config-2026-07-01"`
5608
5609 - `"thinking-binding-controls-2026-08-01"`
5610
5611 - `"mid-conversation-system-clear-at-2026-08-21"`
5612
55695613#### Returns
55705614
55715615- `data: optional array of BetaManagedAgentsSessionEvent`
from line 7082
70387082
70397083 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
70407084
7041 - `"claude-sonnet-5" or "claude-fable-5" or "claude-opus-5" or 10 more`
7085 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
70427086
70437087 The model that will power your agent.
70447088
70457089 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
70467090
7091 - `"claude-fable-5-1"`
7092
7093 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
7094
70477095 - `"claude-sonnet-5"`
70487096
70497097 High-performance model for coding and agents
from line 7806
77587806
77597807 - `string`
77607808
7761 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
7809 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
77627810
77637811 - `"message-batches-2024-09-24"`
77647812
from line 7890
78427890
78437891 - `"ce-user-management-2026-07-13"`
78447892
7893 - `"mid-conversation-output-config-2026-07-01"`
7894
7895 - `"thinking-binding-controls-2026-08-01"`
7896
7897 - `"mid-conversation-system-clear-at-2026-08-21"`
7898
78457899#### Returns
78467900
78477901- `BetaManagedAgentsStreamSessionThreadEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more`
from line 9266
92129266
92139267 The id of the `agent.tool_use` event this result corresponds to, which can be found in the last `session.status_idle` [event's](https://platform.claude.com/docs/en/api/beta/sessions/events/list#beta_managed_agents_session_requires_action.event_ids) `stop_reason.event_ids` field.
92149268
9215 - `type: "user.tool_result"`
9216
9217 - `content: optional array of BetaManagedAgentsTextBlock or BetaManagedAgentsImageBlock or BetaManagedAgentsDocumentBlock or BetaManagedAgentsSearchResultBlock`
9218
9219 The result content returned by the tool.
9220
9221 - `BetaManagedAgentsTextBlock object`
9222
9223 Regular text content.
9224
9225 - `BetaManagedAgentsImageBlock object`
9226
9227 Image content specified directly as base64 data or as a reference via a URL.
9228
9229 - `BetaManagedAgentsDocumentBlock object`
9230
9231 Document content, either specified directly as base64 data, as text, or as a reference via a URL.
9232
9233 - `BetaManagedAgentsSearchResultBlock object`
9234
9235 A block containing a web search result.
9236
9237 - `is_error: optional boolean or null`
9238
9239 Whether the tool execution resulted in an error.
9240
9241 - `processed_at: optional string or null`
9242
9243 A timestamp in RFC 3339 format
9244
9245 format: date-time
9246
9247 - `session_thread_id: optional string or null`
9248
9249 Routes this result to a subagent thread. Copy from the `agent.tool_use` event's `session_thread_id`.
9250
9251 - `BetaManagedAgentsSessionThreadStatusRescheduledEvent object`
9252
9253 A session thread hit a transient error and is retrying automatically. Emitted on the thread's own stream and cross-posted to the primary stream for child threads.
9254
9255 - `id: string`
9256
9257 Unique identifier for this event.
9258
9259 - `agent_name: string`
9260
9261 Name of the agent the thread runs.
9262
9263 - `processed_at: string`
9264
9265 A timestamp in RFC 3339 format
9266
9267 format: date-time
9268
9269 - `session_thread_id: string`
9270
9271 Public sthr_ ID of the thread that is retrying.
9272
9273 - `type: "session.thread_status_rescheduled"`
9274
9275 - `BetaManagedAgentsSessionUpdatedEvent object`
9276
9277 Emit
9269 - `type:
No line in this hunk matches that.