Threads changedapi/beta/sessions/threads
Nearest release: v2.1.280, published 20 hours 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+24added
Lines−8removed
From line
131
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 131, 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 131
131131
132132- `"anthropic-workspace-id": optional string`
133133
134 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
135
136 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
137
134138### Returns
135139
136140- `data: optional array of BetaManagedAgentsSessionThread`
from line 149
145149
146150 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
147151
148 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
152 The resolved agent a `session_thread` runs.
149153
150154 - `BetaManagedAgentsSessionThreadAgent object`
151155
from line 1040
10361040
10371041- `"anthropic-workspace-id": optional string`
10381042
1043 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1044
1045 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
1046
10391047### Returns
10401048
10411049- `BetaManagedAgentsSessionThread object`
from line 1058
10501058
10511059 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
10521060
1053 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
1061 The resolved agent a `session_thread` runs.
10541062
10551063 - `BetaManagedAgentsSessionThreadAgent object`
10561064
from line 1940
19321940
19331941- `"anthropic-workspace-id": optional string`
19341942
1943 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1944
1945 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
1946
19351947### Returns
19361948
19371949- `BetaManagedAgentsSessionThread object`
from line 1958
19461958
19471959 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
19481960
1949 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
1961 The resolved agent a `session_thread` runs.
19501962
19511963 - `BetaManagedAgentsSessionThreadAgent object`
19521964
from line 2741
27292741
27302742 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
27312743
2732 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
2744 The resolved agent a `session_thread` runs.
27332745
27342746 - `BetaManagedAgentsSessionThreadAgent object`
27352747
from line 5823
58115823
58125824- `limit: optional number`
58135825
5814 Query parameter for limit
5815
58165826 format: int32
58175827
58185828- `page: optional string`
58195829
5820 Query parameter for page
5821
58225830#### Headers
58235831
58245832- `"anthropic-beta": optional array of AnthropicBeta`
from line 5931
59235931
59245932- `"anthropic-workspace-id": optional string`
59255933
5934 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
5935
5936 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
5937
59265938#### Returns
59275939
59285940- `data: optional array of BetaManagedAgentsSessionEvent`
from line 8327
83158327
83168328- `"anthropic-workspace-id": optional string`
83178329
8330 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
8331
8332 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
8333
83188334#### Returns
83198335
83208336- `BetaManagedAgentsStreamSessionThreadEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more`
from line 8569
85538569
85548570 - `id: string`
85558571
8556 Unique identifier for this event.
8557
8558 - `custom_tool_use_id: string`
8559
8560 The id of the `agent.custom_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.
8561
8562 - `content: optional array of BetaManagedAgentsTextBlock or BetaManagedAgentsImageBlock or BetaManagedAgentsDocumentBlock or BetaManagedAgentsSearchResultBlock`
8563
8564 The result content returned by the tool.
8565
8566 - `BetaManagedAgentsTextBlock object`
8567
8568 Regular text content.
8569
8570 - `BetaManagedAgentsImageBlock object`
8571
8572 Image content specified directly as base64 data or as a reference via a URL.
8573
8574 - `BetaManagedAgentsDocumentBlock object`
8575
8576 Document content, either specified directly as base64 data, as text, or as a reference via a URL.
8577
8578 - `BetaManagedAgentsSearchResultBlock object`
8579
8580 A block containing a web search result.
8581
8582 - `type: "search_result"`
8583
8584 - `citations: BetaManagedAgentsSearchRe
8572 Unique identifi
No line in this hunk matches that.