Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20260826T180819Z

239 pages moved out of 688 read.

Pages moved 239 significant first
Pages read 688 in this capture
Captured 18:08 UTC
Corpus hash c1a577247bc1 corpus-hash

What this read moved

151-175 of 239, page 7 of 10

This capture is too large to show at once. Changes 151-175 of 239 are below, significant first; the rest are on the following screens.

api/beta/organization/workspaces/update New page · 181 lines, new page

# Update Workspace ## Path parameters ## Body parameters ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

# Update Workspace

**POST** `/v1/organizations/workspaces/{workspace_id}`

Update Workspace

## Path parameters

- `workspace_id: string`

## Body parameters

- `data_residency: optional BetaDataResidencyUpdateConfig or null`

  Data residency configuration for the workspace.

  - `allowed_inference_geos: optional array of BetaAllowedInferenceGeo or "unrestricted" or null`

    Permitted inference geo values. Use 'unrestricted' to allow all geos, or a list of specific geos.

    - `Geos = array of BetaAllowedInferenceGeo`

      - `"global"`

      - `"us"`

    - `Unrestricted = "unrestricted"`

  - `default_inference_geo: optional "global" or "us" or null`

    Default inference geo applied when requests omit the parameter. Must be a member of `allowed_inference_geos` unless `allowed_inference_geos` is `"unrestricted"`.

    - `"global"`

    - `"us"`

- `display_color: optional string`

  Hex color code representing the Workspace in the Anthropic Console.

  maxLength: 7, pattern: ^#[0-9A-Fa-f]{6}$

- `external_key_id: optional string`

  ID of the customer-managed encryption key (CMEK) configuration to use for this
  Workspace. Setting this field requires CMEK to be enabled for your
  organization. When set, data stored for this Workspace is encrypted with the
  referenced key. Create key configurations with the External Keys API. This
  field is write-once: once a key is attached to a Workspace it cannot be
  detached or replaced. To rotate key material, rotate the underlying key on
  your cloud KMS; the `external_key_id` stays the same.

- `name: optional string`

  Name of the Workspace.

  maxLength: 40, minLength: 1

- `tags: optional map[string] or null`

  User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.

## Returns

- `BetaWorkspace object`

  - `id: string`

    ID of the Workspace.

  - `archived_at: string or null`

    RFC 3339 datetime string indicating when the Workspace was archived, or `null` if the Workspace is not archived.

    format: date-time

  - `compartment_id: string`

    Identifier for this Workspace's encryption compartment. When you configure a
    customer-managed encryption key (CMEK) on AWS, reference this value in your
    KMS key-policy condition so the key is scoped to this compartment. On GCP and
    Azure, Anthropic enforces the compartment binding automatically; you do not
    need to reference this value in your key configuration. See the CMEK integration guide for the
    required key configuration, including the value used during key validation.

  - `created_at: string`

    RFC 3339 datetime string indicating when the Workspace was created.

    format: date-time

  - `data_residency: BetaDataResidency`

    Data residency configuration.

    - `allowed_inference_geos: array of string or "unrestricted"`

      Permitted inference geo values. 'unrestricted' means all geos are allowed.

      - `Geos = array of string`

      - `Unrestricted = "unrestricted"`

    - `default_inference_geo: string`

      Default inference geo applied when requests omit the parameter.

    - `workspace_geo: string`

      Geographic region for workspace data storage. Immutable after creation.

  - `display_color: string`

    Hex color code representing the Workspace in the Anthropic Console.

  - `external_key_id: string or null`

    ID of the customer-managed encryption key (CMEK) configuration to use for this
    Workspace. Setting this field requires CMEK to be enabled for your
    organization. When set, data stored for this Workspace is encrypted with the
    referenced key. Create key configurations with the External Keys API. This
    field is write-once: once a key is attached to a Workspace it cannot be
    detached or replaced. To rotate key material, rotate the underlying key on
    your cloud KMS; the `external_key_id` stays the same.

  - `name: string`

    Name of the Workspace.

  - `tags: map[string]`

    User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.

  - `type: "workspace"`

    Object type.

    For Workspaces, this is always `"workspace"`.

    default: workspace

## Example

```bash
curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
    -H 'Content-Type: application/json' \
    -H 'anthropic-version: 2023-06-01' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY" \
    -d '{
          "display_color": "#6C5BB9",
          "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
          "tags": {
            "env": "prod",
            "team": "platform"
          }
        }'
```

### Response (200)

```json
{
  "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
  "archived_at": "2024-11-01T23:59:27.427722Z",
  "compartment_id": "f8a7b6c5-4d3e-4f1a-8b9c-0d1e2f3a4b5c",
  "created_at": "2024-10-30T23:58:27.427722Z",
  "data_residency": {
    "allowed_inference_geos": "unrestricted",
    "default_inference_geo": "default_inference_geo",
    "workspace_geo": "workspace_geo"
  },
  "display_color": "#6C5BB9",
  "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
  "name": "Workspace Name",
  "tags": {
    "env": "prod",
    "team": "platform"
  },
  "type": "workspace"
}
```

api/beta/sessions Changed · +288 / -22 lines

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 14
1414 
1515 - `string`
1616 
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1818 
1919 - `"message-batches-2024-09-24"`
2020 
from line 84
8484 
8585 - `"mid-conversation-tool-changes-2026-07-01"`
8686 
87 - `"compact-2026-01-12"`
88 
89 - `"computer-use-2025-11-24"`
90 
91 - `"mcp-tunnels-2026-06-22"`
92 
93 - `"structured-outputs-2025-11-13"`
94 
95 - `"task-budgets-2026-03-13"`
96 
97 - `"thinking-display-updates-2026-08-18"`
98 
99 - `"ce-user-management-2026-07-13"`
100 
87101### Body parameters
88102 
89103- `agent: string or BetaManagedAgentsAgentParams or BetaManagedAgentsAgentWithOverridesParams`
from line 2199
21852199 
21862200 - `string`
21872201 
2188 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2202 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
21892203 
21902204 - `"message-batches-2024-09-24"`
21912205 
from line 2269
22552269 
22562270 - `"mid-conversation-tool-changes-2026-07-01"`
22572271 
2272 - `"compact-2026-01-12"`
2273 
2274 - `"computer-use-2025-11-24"`
2275 
2276 - `"mcp-tunnels-2026-06-22"`
2277 
2278 - `"structured-outputs-2025-11-13"`
2279 
2280 - `"task-budgets-2026-03-13"`
2281 
2282 - `"thinking-display-updates-2026-08-18"`
2283 
2284 - `"ce-user-management-2026-07-13"`
2285 
22582286### Returns
22592287 
22602288- `data: optional array of BetaManagedAgentsSession`
from line 3352
33243352 
33253353 - `string`
33263354 
3327 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
3355 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
33283356 
33293357 - `"message-batches-2024-09-24"`
33303358 
from line 3422
33943422 
33953423 - `"mid-conversation-tool-changes-2026-07-01"`
33963424 
3425 - `"compact-2026-01-12"`
3426 
3427 - `"computer-use-2025-11-24"`
3428 
3429 - `"mcp-tunnels-2026-06-22"`
3430 
3431 - `"structured-outputs-2025-11-13"`
3432 
3433 - `"task-budgets-2026-03-13"`
3434 
3435 - `"thinking-display-updates-2026-08-18"`
3436 
3437 - `"ce-user-management-2026-07-13"`
3438 
33973439### Returns
33983440 
33993441- `BetaManagedAgentsSession object`
from line 4491
44494491 
44504492 - `string`
44514493 
4452 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
4494 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
44534495 
44544496 - `"message-batches-2024-09-24"`
44554497 
from line 4561
45194561 
45204562 - `"mid-conversation-tool-changes-2026-07-01"`
45214563 
4564 - `"compact-2026-01-12"`
4565 
4566 - `"computer-use-2025-11-24"`
4567 
4568 - `"mcp-tunnels-2026-06-22"`
4569 
4570 - `"structured-outputs-2025-11-13"`
4571 
4572 - `"task-budgets-2026-03-13"`
4573 
4574 - `"thinking-display-updates-2026-08-18"`
4575 
4576 - `"ce-user-management-2026-07-13"`
4577 
45224578### Body parameters
45234579 
45244580- `agent: optional BetaManagedAgentsSessionAgentUpdate`
from line 6074
60186074 
60196075 - `string`
60206076 
6021 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
6077 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
60226078 
60236079 - `"message-batches-2024-09-24"`
60246080 
from line 6144
60886144 
60896145 - `"mid-conversation-tool-changes-2026-07-01"`
60906146 
6147 - `"compact-2026-01-12"`
6148 
6149 - `"computer-use-2025-11-24"`
6150 
6151 - `"mcp-tunnels-2026-06-22"`
6152 
6153 - `"structured-outputs-2025-11-13"`
6154 
6155 - `"task-budgets-2026-03-13"`
6156 
6157 - `"thinking-display-updates-2026-08-18"`
6158 
6159 - `"ce-user-management-2026-07-13"`
6160 
60916161### Returns
60926162 
60936163- `BetaManagedAgentsDeletedSession object`
from line 6205
61356205 
61366206 - `string`
61376207 
6138 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
6208 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
61396209 
61406210 - `"message-batches-2024-09-24"`
61416211 
from line 6275
62056275 
62066276 - `"mid-conversation-tool-changes-2026-07-01"`
62076277 
6278 - `"compact-2026-01-12"`
6279 
6280 - `"computer-use-2025-11-24"`
6281 
6282 - `"mcp-tunnels-2026-06-22"`
6283 
6284 - `"structured-outputs-2025-11-13"`
6285 
6286 - `"task-budgets-2026-03-13"`
6287 
6288 - `"thinking-display-updates-2026-08-18"`
6289 
6290 - `"ce-user-management-2026-07-13"`
6291 
62086292### Returns
62096293 
62106294- `BetaManagedAgentsSession object`
from line 9407
93239407 
93249408 Model identifier and configuration.
93259409 
9326 - `name: string`
93279410 
9328 - `skills: array of BetaManagedAgentsAnthropicSkill or BetaManagedAgentsCustomSkill`
9329 
9330 - `BetaManagedAgentsAnthropicSkill object`
9331 
9332 A resolved Anthropic-managed skill.
9333 
9334 - `skill_id: string`
9335 
9336 - `type: "anthropic"`
9337 
9338 - `version: string`
9339 
9340 - `BetaManagedAgentsCustomSkill object`
9341 
9342 A resolved user-created custom skill.
9343 
9344 - `skill_id: string`
9345 
9346 - `type: "custom"`
9347 
9348 - `version: string`
9349 
9350 - `system: string or null`
9351 
9352 - `tools: array of BetaManagedAgentsAgentToolset20260401 or BetaManagedAgentsMCPToolset or BetaManagedAgentsCustomTool`
9353 
9354 - `BetaManagedAgentsAgentToolset20260401 object`
9355 
9356 - `configs: array of BetaManagedAgentsAgentToolConfig`
9357 
9358 - `BetaManagedAgentsBashToolConfig object`
9359 
9360 Configuration for the bash tool.
9361 
9362 - `enabled: boolean`
9363 
9364 - `name: "bash"`
9365 
9366 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
9367 
9368 Permission policy for tool execution.
9369 
9370 - `BetaManagedAgentsAlwaysAllowPolicy object`
9371 
9372 Tool calls are automatically approved without user confirmation.
9373 
9374 - `type: "always_allow"`
9375 
9376 - `BetaManagedAgentsAlwaysAskPolicy object`
9377 
9378 Tool calls require user confirmation before execution.
9379 
9380 - `type: "always_ask"`
9381 
9382 - `type: "bash"

api/beta/sessions/archive Changed · +15 / -1 lines

from line 16
1616 
1717 - `string`
1818 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020 
2121 - `"message-batches-2024-09-24"`
2222 
from line 85
8585 - `"agent-memory-2026-07-22"`
8686 
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88 
89 - `"compact-2026-01-12"`
90 
91 - `"computer-use-2025-11-24"`
92 
93 - `"mcp-tunnels-2026-06-22"`
94 
95 - `"structured-outputs-2025-11-13"`
96 
97 - `"task-budgets-2026-03-13"`
98 
99 - `"thinking-display-updates-2026-08-18"`
100 
101 - `"ce-user-management-2026-07-13"`
88102 
89103## Returns
90104 

api/beta/sessions/create Changed · +15 / -1 lines

from line 12
1212 
1313 - `string`
1414 
15 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
15 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1616 
1717 - `"message-batches-2024-09-24"`
1818 
from line 81
8181 - `"agent-memory-2026-07-22"`
8282 
8383 - `"mid-conversation-tool-changes-2026-07-01"`
84 
85 - `"compact-2026-01-12"`
86 
87 - `"computer-use-2025-11-24"`
88 
89 - `"mcp-tunnels-2026-06-22"`
90 
91 - `"structured-outputs-2025-11-13"`
92 
93 - `"task-budgets-2026-03-13"`
94 
95 - `"thinking-display-updates-2026-08-18"`
96 
97 - `"ce-user-management-2026-07-13"`
8498 
8599## Body parameters
86100 

api/beta/sessions/delete Changed · +15 / -1 lines

from line 16
1616 
1717 - `string`
1818 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020 
2121 - `"message-batches-2024-09-24"`
2222 
from line 85
8585 - `"agent-memory-2026-07-22"`
8686 
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88 
89 - `"compact-2026-01-12"`
90 
91 - `"computer-use-2025-11-24"`
92 
93 - `"mcp-tunnels-2026-06-22"`
94 
95 - `"structured-outputs-2025-11-13"`
96 
97 - `"task-budgets-2026-03-13"`
98 
99 - `"thinking-display-updates-2026-08-18"`
100 
101 - `"ce-user-management-2026-07-13"`
88102 
89103## Returns
90104 

api/beta/sessions/events Changed · +45 / -3 lines

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 66
6666 
6767 - `string`
6868 
69 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
69 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
7070 
7171 - `"message-batches-2024-09-24"`
7272 
from line 136
136136 
137137 - `"mid-conversation-tool-changes-2026-07-01"`
138138 
139 - `"compact-2026-01-12"`
140 
141 - `"computer-use-2025-11-24"`
142 
143 - `"mcp-tunnels-2026-06-22"`
144 
145 - `"structured-outputs-2025-11-13"`
146 
147 - `"task-budgets-2026-03-13"`
148 
149 - `"thinking-display-updates-2026-08-18"`
150 
151 - `"ce-user-management-2026-07-13"`
152 
139153### Returns
140154 
141155- `data: optional array of BetaManagedAgentsSessionEvent`
from line 2341
23272341 
23282342 - `string`
23292343 
2330 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2344 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
23312345 
23322346 - `"message-batches-2024-09-24"`
23332347 
from line 2411
23972411 
23982412 - `"mid-conversation-tool-changes-2026-07-01"`
23992413 
2414 - `"compact-2026-01-12"`
2415 
2416 - `"computer-use-2025-11-24"`
2417 
2418 - `"mcp-tunnels-2026-06-22"`
2419 
2420 - `"structured-outputs-2025-11-13"`
2421 
2422 - `"task-budgets-2026-03-13"`
2423 
2424 - `"thinking-display-updates-2026-08-18"`
2425 
2426 - `"ce-user-management-2026-07-13"`
2427 
24002428### Body parameters
24012429 
24022430- `events: array of BetaManagedAgentsEventParams`
from line 3306
32783306 
32793307 - `string`
32803308 
3281 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
3309 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
32823310 
32833311 - `"message-batches-2024-09-24"`
32843312 
from line 3376
33483376 
33493377 - `"mid-conversation-tool-changes-2026-07-01"`
33503378 
3379 - `"compact-2026-01-12"`
3380 
3381 - `"computer-use-2025-11-24"`
3382 
3383 - `"mcp-tunnels-2026-06-22"`
3384 
3385 - `"structured-outputs-2025-11-13"`
3386 
3387 - `"task-budgets-2026-03-13"`
3388 
3389 - `"thinking-display-updates-2026-08-18"`
3390 
3391 - `"ce-user-management-2026-07-13"`
3392 
33513393### Returns
33523394 
33533395- `BetaManagedAgentsStreamSessionEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more`
from line 9333
92919333 
92929334 - `result: string`
92939335 
9294 Evaluation verdict. 'satisfied': criteria met, session goes idle. 'needs_revision': criteria not met, another revision cycle follows. 'max_iterations_reached': evaluation budget exhausted with criteria still unmet — one final acknowledgment turn follows before the session goes idle, but no further evaluation runs. 'failed': grader determined the rubric does not apply to the deliverables. 'interrupted': user sent an interrupt while evaluation was in progress.
9295 
9296 - `type: "span.outcome_evaluation_end"`
9297 
9298 - `usage: BetaManagedAgentsSpanModelUsage`
9299 
9300 Token usage for a single model request.
9301 
9302 - `cache_creation_input_tokens: number`
9303 
9304 Tokens used to create prompt cache in this request.
9305 
9306 format: int32
9307 
9308 - `cache_read_input_tokens: number`
9309 
9310 Tokens read from prompt cache in this request.
9311 
9312 format: int32
9313 
9314 - `input_tokens: number`
9315 
9316 Input tokens consumed by this request.
9317 
9318 format: int32
9319 
9320 - `output_tokens: number`
9321 
9322 Output tokens generated by this request.
9323 
9324 form
9336 Evaluation verdict. 'satisfied': criteria met, session goes idle. 'needs_revision': criteria not met, another revision cycle follows. 'max_iterations_reached': evaluation budget exhausted with criteria still unmet — one final acknowledgment turn follows before the s

api/beta/sessions/events/list Changed · +15 / -1 lines

from line 64
6464 
6565 - `string`
6666 
67 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
67 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
6868 
6969 - `"message-batches-2024-09-24"`
7070 
from line 133
133133 - `"agent-memory-2026-07-22"`
134134 
135135 - `"mid-conversation-tool-changes-2026-07-01"`
136 
137 - `"compact-2026-01-12"`
138 
139 - `"computer-use-2025-11-24"`
140 
141 - `"mcp-tunnels-2026-06-22"`
142 
143 - `"structured-outputs-2025-11-13"`
144 
145 - `"task-budgets-2026-03-13"`
146 
147 - `"thinking-display-updates-2026-08-18"`
148 
149 - `"ce-user-management-2026-07-13"`
136150 
137151## Returns
138152 

api/beta/sessions/events/send Changed · +15 / -1 lines

from line 16
1616 
1717 - `string`
1818 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020 
2121 - `"message-batches-2024-09-24"`
2222 
from line 85
8585 - `"agent-memory-2026-07-22"`
8686 
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88 
89 - `"compact-2026-01-12"`
90 
91 - `"computer-use-2025-11-24"`
92 
93 - `"mcp-tunnels-2026-06-22"`
94 
95 - `"structured-outputs-2025-11-13"`
96 
97 - `"task-budgets-2026-03-13"`
98 
99 - `"thinking-display-updates-2026-08-18"`
100 
101 - `"ce-user-management-2026-07-13"`
88102 
89103## Body parameters
90104 

api/beta/sessions/events/stream Changed · +15 / -1 lines

from line 26
2626 
2727 - `string`
2828 
29 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
29 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3030 
3131 - `"message-batches-2024-09-24"`
3232 
from line 95
9595 - `"agent-memory-2026-07-22"`
9696 
9797 - `"mid-conversation-tool-changes-2026-07-01"`
98 
99 - `"compact-2026-01-12"`
100 
101 - `"computer-use-2025-11-24"`
102 
103 - `"mcp-tunnels-2026-06-22"`
104 
105 - `"structured-outputs-2025-11-13"`
106 
107 - `"task-budgets-2026-03-13"`
108 
109 - `"thinking-display-updates-2026-08-18"`
110 
111 - `"ce-user-management-2026-07-13"`
98112 
99113## Returns
100114 

api/beta/sessions/list Changed · +15 / -1 lines

from line 90
9090 
9191 - `string`
9292 
93 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
93 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
9494 
9595 - `"message-batches-2024-09-24"`
9696 
from line 159
159159 - `"agent-memory-2026-07-22"`
160160 
161161 - `"mid-conversation-tool-changes-2026-07-01"`
162 
163 - `"compact-2026-01-12"`
164 
165 - `"computer-use-2025-11-24"`
166 
167 - `"mcp-tunnels-2026-06-22"`
168 
169 - `"structured-outputs-2025-11-13"`
170 
171 - `"task-budgets-2026-03-13"`
172 
173 - `"thinking-display-updates-2026-08-18"`
174 
175 - `"ce-user-management-2026-07-13"`
162176 
163177## Returns
164178 

api/beta/sessions/resources Changed · +75 / -5 lines

from line 18
1818 
1919 - `string`
2020 
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222 
2323 - `"message-batches-2024-09-24"`
2424 
from line 88
8888 
8989 - `"mid-conversation-tool-changes-2026-07-01"`
9090 
91 - `"compact-2026-01-12"`
92 
93 - `"computer-use-2025-11-24"`
94 
95 - `"mcp-tunnels-2026-06-22"`
96 
97 - `"structured-outputs-2025-11-13"`
98 
99 - `"task-budgets-2026-03-13"`
100 
101 - `"thinking-display-updates-2026-08-18"`
102 
103 - `"ce-user-management-2026-07-13"`
104 
91105### Body parameters
92106 
93107- `file_id: string`
from line 200
186200 
187201 - `string`
188202 
189 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
203 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
190204 
191205 - `"message-batches-2024-09-24"`
192206 
from line 270
256270 
257271 - `"mid-conversation-tool-changes-2026-07-01"`
258272 
273 - `"compact-2026-01-12"`
274 
275 - `"computer-use-2025-11-24"`
276 
277 - `"mcp-tunnels-2026-06-22"`
278 
279 - `"structured-outputs-2025-11-13"`
280 
281 - `"task-budgets-2026-03-13"`
282 
283 - `"thinking-display-updates-2026-08-18"`
284 
285 - `"ce-user-management-2026-07-13"`
286 
259287### Returns
260288 
261289- `data: array of BetaManagedAgentsSessionResource`
from line 455
427455 
428456 - `string`
429457 
430 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
458 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
431459 
432460 - `"message-batches-2024-09-24"`
433461 
from line 525
497525 
498526 - `"mid-conversation-tool-changes-2026-07-01"`
499527 
528 - `"compact-2026-01-12"`
529 
530 - `"computer-use-2025-11-24"`
531 
532 - `"mcp-tunnels-2026-06-22"`
533 
534 - `"structured-outputs-2025-11-13"`
535 
536 - `"task-budgets-2026-03-13"`
537 
538 - `"thinking-display-updates-2026-08-18"`
539 
540 - `"ce-user-management-2026-07-13"`
541 
500542### Returns
501543 
502544- `BetaManagedAgentsGitHubRepositoryResource object`
from line 689
647689 
648690 - `string`
649691 
650 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
692 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
651693 
652694 - `"message-batches-2024-09-24"`
653695 
from line 759
717759 
718760 - `"mid-conversation-tool-changes-2026-07-01"`
719761 
762 - `"compact-2026-01-12"`
763 
764 - `"computer-use-2025-11-24"`
765 
766 - `"mcp-tunnels-2026-06-22"`
767 
768 - `"structured-outputs-2025-11-13"`
769 
770 - `"task-budgets-2026-03-13"`
771 
772 - `"thinking-display-updates-2026-08-18"`
773 
774 - `"ce-user-management-2026-07-13"`
775 
720776### Body parameters
721777 
722778- `authorization_token: string`
from line 935
879935 
880936 - `string`
881937 
882 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
938 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
883939 
884940 - `"message-batches-2024-09-24"`
885941 
from line 1004
9481004 - `"agent-memory-2026-07-22"`
9491005 
9501006 - `"mid-conversation-tool-changes-2026-07-01"`
1007 
1008 - `"compact-2026-01-12"`
1009 
1010 - `"computer-use-2025-11-24"`
1011 
1012 - `"mcp-tunnels-2026-06-22"`
1013 
1014 - `"structured-outputs-2025-11-13"`
1015 
1016 - `"task-budgets-2026-03-13"`
1017 
1018 - `"thinking-display-updates-2026-08-18"`
1019 
1020 - `"ce-user-management-2026-07-13"`
9511021 
9521022### Returns
9531023 

api/beta/sessions/resources/add Changed · +15 / -1 lines

from line 16
1616 
1717 - `string`
1818 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020 
2121 - `"message-batches-2024-09-24"`
2222 
from line 85
8585 - `"agent-memory-2026-07-22"`
8686 
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88 
89 - `"compact-2026-01-12"`
90 
91 - `"computer-use-2025-11-24"`
92 
93 - `"mcp-tunnels-2026-06-22"`
94 
95 - `"structured-outputs-2025-11-13"`
96 
97 - `"task-budgets-2026-03-13"`
98 
99 - `"thinking-display-updates-2026-08-18"`
100 
101 - `"ce-user-management-2026-07-13"`
88102 
89103## Body parameters
90104 

api/beta/sessions/resources/delete Changed · +15 / -1 lines

from line 18
1818 
1919 - `string`
2020 
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222 
2323 - `"message-batches-2024-09-24"`
2424 
from line 87
8787 - `"agent-memory-2026-07-22"`
8888 
8989 - `"mid-conversation-tool-changes-2026-07-01"`
90 
91 - `"compact-2026-01-12"`
92 
93 - `"computer-use-2025-11-24"`
94 
95 - `"mcp-tunnels-2026-06-22"`
96 
97 - `"structured-outputs-2025-11-13"`
98 
99 - `"task-budgets-2026-03-13"`
100 
101 - `"thinking-display-updates-2026-08-18"`
102 
103 - `"ce-user-management-2026-07-13"`
90104 
91105## Returns
92106 

api/beta/sessions/resources/list Changed · +15 / -1 lines

from line 28
2828 
2929 - `string`
3030 
31 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
31 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3232 
3333 - `"message-batches-2024-09-24"`
3434 
from line 97
9797 - `"agent-memory-2026-07-22"`
9898 
9999 - `"mid-conversation-tool-changes-2026-07-01"`
100 
101 - `"compact-2026-01-12"`
102 
103 - `"computer-use-2025-11-24"`
104 
105 - `"mcp-tunnels-2026-06-22"`
106 
107 - `"structured-outputs-2025-11-13"`
108 
109 - `"task-budgets-2026-03-13"`
110 
111 - `"thinking-display-updates-2026-08-18"`
112 
113 - `"ce-user-management-2026-07-13"`
100114 
101115## Returns
102116 

api/beta/sessions/resources/retrieve Changed · +15 / -1 lines

from line 18
1818 
1919 - `string`
2020 
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222 
2323 - `"message-batches-2024-09-24"`
2424 
from line 87
8787 - `"agent-memory-2026-07-22"`
8888 
8989 - `"mid-conversation-tool-changes-2026-07-01"`
90 
91 - `"compact-2026-01-12"`
92 
93 - `"computer-use-2025-11-24"`
94 
95 - `"mcp-tunnels-2026-06-22"`
96 
97 - `"structured-outputs-2025-11-13"`
98 
99 - `"task-budgets-2026-03-13"`
100 
101 - `"thinking-display-updates-2026-08-18"`
102 
103 - `"ce-user-management-2026-07-13"`
90104 
91105## Returns
92106 

api/beta/sessions/resources/update Changed · +15 / -1 lines

from line 18
1818 
1919 - `string`
2020 
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222 
2323 - `"message-batches-2024-09-24"`
2424 
from line 87
8787 - `"agent-memory-2026-07-22"`
8888 
8989 - `"mid-conversation-tool-changes-2026-07-01"`
90 
91 - `"compact-2026-01-12"`
92 
93 - `"computer-use-2025-11-24"`
94 
95 - `"mcp-tunnels-2026-06-22"`
96 
97 - `"structured-outputs-2025-11-13"`
98 
99 - `"task-budgets-2026-03-13"`
100 
101 - `"thinking-display-updates-2026-08-18"`
102 
103 - `"ce-user-management-2026-07-13"`
90104 
91105## Body parameters
92106 

api/beta/sessions/retrieve Changed · +15 / -1 lines

from line 16
1616 
1717 - `string`
1818 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020 
2121 - `"message-batches-2024-09-24"`
2222 
from line 85
8585 - `"agent-memory-2026-07-22"`
8686 
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88 
89 - `"compact-2026-01-12"`
90 
91 - `"computer-use-2025-11-24"`
92 
93 - `"mcp-tunnels-2026-06-22"`
94 
95 - `"structured-outputs-2025-11-13"`
96 
97 - `"task-budgets-2026-03-13"`
98 
99 - `"thinking-display-updates-2026-08-18"`
100 
101 - `"ce-user-management-2026-07-13"`
88102 
89103## Returns
90104 

api/beta/sessions/threads Changed · +79 / -9 lines

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 30
3030 
3131 - `string`
3232 
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3434 
3535 - `"message-batches-2024-09-24"`
3636 
from line 100
100100 
101101 - `"mid-conversation-tool-changes-2026-07-01"`
102102 
103 - `"compact-2026-01-12"`
104 
105 - `"computer-use-2025-11-24"`
106 
107 - `"mcp-tunnels-2026-06-22"`
108 
109 - `"structured-outputs-2025-11-13"`
110 
111 - `"task-budgets-2026-03-13"`
112 
113 - `"thinking-display-updates-2026-08-18"`
114 
115 - `"ce-user-management-2026-07-13"`
116 
103117### Returns
104118 
105119- `data: optional array of BetaManagedAgentsSessionThread`
from line 126
112126 
113127 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
114128 
115 A session-resolved multiagent roster entry.
129 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
116130 
117131 - `BetaManagedAgentsSessionThreadAgent object`
118132 
from line 873
859873 
860874 - `string`
861875 
862 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
876 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
863877 
864878 - `"message-batches-2024-09-24"`
865879 
from line 943
929943 
930944 - `"mid-conversation-tool-changes-2026-07-01"`
931945 
946 - `"compact-2026-01-12"`
947 
948 - `"computer-use-2025-11-24"`
949 
950 - `"mcp-tunnels-2026-06-22"`
951 
952 - `"structured-outputs-2025-11-13"`
953 
954 - `"task-budgets-2026-03-13"`
955 
956 - `"thinking-display-updates-2026-08-18"`
957 
958 - `"ce-user-management-2026-07-13"`
959 
932960### Returns
933961 
934962- `BetaManagedAgentsSessionThread object`
from line 969
941969 
942970 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
943971 
944 A session-resolved multiagent roster entry.
972 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
945973 
946974 - `BetaManagedAgentsSessionThreadAgent object`
947975 
from line 1707
16791707 
16801708 - `string`
16811709 
1682 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1710 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
16831711 
16841712 - `"message-batches-2024-09-24"`
16851713 
from line 1777
17491777 
17501778 - `"mid-conversation-tool-changes-2026-07-01"`
17511779 
1780 - `"compact-2026-01-12"`
1781 
1782 - `"computer-use-2025-11-24"`
1783 
1784 - `"mcp-tunnels-2026-06-22"`
1785 
1786 - `"structured-outputs-2025-11-13"`
1787 
1788 - `"task-budgets-2026-03-13"`
1789 
1790 - `"thinking-display-updates-2026-08-18"`
1791 
1792 - `"ce-user-management-2026-07-13"`
1793 
17521794### Returns
17531795 
17541796- `BetaManagedAgentsSessionThread object`
from line 1803
17611803 
17621804 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
17631805 
1764 A session-resolved multiagent roster entry.
1806 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
17651807 
17661808 - `BetaManagedAgentsSessionThreadAgent object`
17671809 
from line 2536
24942536 
24952537 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
24962538 
2497 A session-resolved multiagent roster entry.
2539 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
24982540 
24992541 - `BetaManagedAgentsSessionThreadAgent object`
25002542 
from line 5482
54405482 
54415483 - `string`
54425484 
5443 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
5485 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
54445486 
54455487 - `"message-batches-2024-09-24"`
54465488 
from line 5552
55105552 
55115553 - `"mid-conversation-tool-changes-2026-07-01"`
55125554 
5555 - `"compact-2026-01-12"`
5556 
5557 - `"computer-use-2025-11-24"`
5558 
5559 - `"mcp-tunnels-2026-06-22"`
5560 
5561 - `"structured-outputs-2025-11-13"`
5562 
5563 - `"task-budgets-2026-03-13"`
5564 
5565 - `"thinking-display-updates-2026-08-18"`
5566 
5567 - `"ce-user-management-2026-07-13"`
5568 
55135569#### Returns
55145570 
55155571- `data: optional array of BetaManagedAgentsSessionEvent`
from line 7758
77027758 
77037759 - `string`
77047760 
7705 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
7761 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
77067762 
77077763 - `"message-batches-2024-09-24"`
77087764 
from line 7828
77727828 
77737829 - `"mid-conversation-tool-changes-2026-07-01"`
77747830 
7831 - `"compact-2026-01-12"`
7832 
7833 - `"computer-use-2025-11-24"`
7834 
7835 - `"mcp-tunnels-2026-06-22"`
7836 
7837 - `"structured-outputs-2025-11-13"`
7838 
7839 - `"task-budgets-2026-03-13"`
7840 
7841 - `"thinking-display-updates-2026-08-18"`
7842 
7843 - `"ce-user-management-2026-07-13"`
7844 
77757845#### Returns
77767846 
77777847- `BetaManagedAgentsStreamSessionThreadEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more`
from line 9274
92049274 
92059275 - `BetaManagedAgentsSessionUpdatedEvent object`
92069276 
9207 Emitted when an UpdateSession request changed at least one field. Carries only the fields that changed; absent fields were not part of the update. The new configuration applies from the next turn.
9208 
9209 - `id: string`
9210 
9211 Unique identifier for this event.
9212 
9213 - `processed_at: string`
9214 
9215 A timestamp in RFC 3339 format
9216 
9217 format: date-time
9218 
9219 - `type: "session.updated"`
9220 
9221 - `agent: optional BetaManagedAgentsSessionAgent or null`
9222 
9223 Resolved `agent` definition for a `session`. Snapshot of the `agent` at `session` creation time.
9224 
9225 - `id: string`
9226 
9227 - `description: string or null`
9228 
9229 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
9230 
9231 - `name: string`
9232 
9233 - `type: "url"`
9234 
9235 - `url: string`
9236 
9237 - `model: BetaManagedAgentsModelConfig`
9238 
9239 Model identifier and configuration.
9240 
9241 - `id: BetaManagedAgentsModel`
9242 
9243 The model that will power your agent.
9244 
9245 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
9246 
9247 - `"claude-sonnet-5" or "claude-fable-5" or "claude-opus-5" or 10 more`
9248 
9249 The model that will power your agent.
9250 
9251 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
9252 
9253 - `"claude-sonnet-5"`
9254 
9255 High-performance model for coding and agents
9256 
9257 - `"claude-fable-5"`
9258 
9259 Next generation of intelligence for the hardest knowledge work and coding problems
9260 
9261 - `"claude-opus-5"`
9262 
9263 Powerful intelligence for long-running agents and coding
9264 
9265 - `"claude-opus-4-8"`
9266 
9267 Powerful intelligence for long-
9277 Emit

api/beta/sessions/threads/archive Changed · +16 / -2 lines

from line 18
1818 
1919 - `string`
2020 
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222 
2323 - `"message-batches-2024-09-24"`
2424 
from line 88
8888 
8989 - `"mid-conversation-tool-changes-2026-07-01"`
9090 
91 - `"compact-2026-01-12"`
92 
93 - `"computer-use-2025-11-24"`
94 
95 - `"mcp-tunnels-2026-06-22"`
96 
97 - `"structured-outputs-2025-11-13"`
98 
99 - `"task-budgets-2026-03-13"`
100 
101 - `"thinking-display-updates-2026-08-18"`
102 
103 - `"ce-user-management-2026-07-13"`
104 
91105## Returns
92106 
93107- `BetaManagedAgentsSessionThread object`
from line 114
100114 
101115 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
102116 
103 A session-resolved multiagent roster entry.
117 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
104118 
105119 - `BetaManagedAgentsSessionThreadAgent object`
106120 

api/beta/sessions/threads/events Changed · +30 / -2 lines

from line 32
3232 
3333 - `string`
3434 
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3636 
3737 - `"message-batches-2024-09-24"`
3838 
from line 102
102102 
103103 - `"mid-conversation-tool-changes-2026-07-01"`
104104 
105 - `"compact-2026-01-12"`
106 
107 - `"computer-use-2025-11-24"`
108 
109 - `"mcp-tunnels-2026-06-22"`
110 
111 - `"structured-outputs-2025-11-13"`
112 
113 - `"task-budgets-2026-03-13"`
114 
115 - `"thinking-display-updates-2026-08-18"`
116 
117 - `"ce-user-management-2026-07-13"`
118 
105119### Returns
106120 
107121- `data: optional array of BetaManagedAgentsSessionEvent`
from line 2308
22942308 
22952309 - `string`
22962310 
2297 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2311 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
22982312 
22992313 - `"message-batches-2024-09-24"`
23002314 
from line 2377
23632377 - `"agent-memory-2026-07-22"`
23642378 
23652379 - `"mid-conversation-tool-changes-2026-07-01"`
2380 
2381 - `"compact-2026-01-12"`
2382 
2383 - `"computer-use-2025-11-24"`
2384 
2385 - `"mcp-tunnels-2026-06-22"`
2386 
2387 - `"structured-outputs-2025-11-13"`
2388 
2389 - `"task-budgets-2026-03-13"`
2390 
2391 - `"thinking-display-updates-2026-08-18"`
2392 
2393 - `"ce-user-management-2026-07-13"`
23662394 
23672395### Returns
23682396 

api/beta/sessions/threads/events/list Changed · +15 / -1 lines

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 31 more`
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3434 
3535 - `"message-batches-2024-09-24"`
3636 
from line 99
9999 - `"agent-memory-2026-07-22"`
100100 
101101 - `"mid-conversation-tool-changes-2026-07-01"`
102 
103 - `"compact-2026-01-12"`
104 
105 - `"computer-use-2025-11-24"`
106 
107 - `"mcp-tunnels-2026-06-22"`
108 
109 - `"structured-outputs-2025-11-13"`
110 
111 - `"task-budgets-2026-03-13"`
112 
113 - `"thinking-display-updates-2026-08-18"`
114 
115 - `"ce-user-management-2026-07-13"`
102116 
103117## Returns
104118 

api/beta/sessions/threads/events/stream Changed · +15 / -1 lines

from line 28
2828 
2929 - `string`
3030 
31 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
31 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3232 
3333 - `"message-batches-2024-09-24"`
3434 
from line 97
9797 - `"agent-memory-2026-07-22"`
9898 
9999 - `"mid-conversation-tool-changes-2026-07-01"`
100 
101 - `"compact-2026-01-12"`
102 
103 - `"computer-use-2025-11-24"`
104 
105 - `"mcp-tunnels-2026-06-22"`
106 
107 - `"structured-outputs-2025-11-13"`
108 
109 - `"task-budgets-2026-03-13"`
110 
111 - `"thinking-display-updates-2026-08-18"`
112 
113 - `"ce-user-management-2026-07-13"`
100114 
101115## Returns
102116 

api/beta/sessions/threads/list Changed · +16 / -2 lines

from line 28
2828 
2929 - `string`
3030 
31 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
31 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3232 
3333 - `"message-batches-2024-09-24"`
3434 
from line 98
9898 
9999 - `"mid-conversation-tool-changes-2026-07-01"`
100100 
101 - `"compact-2026-01-12"`
102 
103 - `"computer-use-2025-11-24"`
104 
105 - `"mcp-tunnels-2026-06-22"`
106 
107 - `"structured-outputs-2025-11-13"`
108 
109 - `"task-budgets-2026-03-13"`
110 
111 - `"thinking-display-updates-2026-08-18"`
112 
113 - `"ce-user-management-2026-07-13"`
114 
101115## Returns
102116 
103117- `data: optional array of BetaManagedAgentsSessionThread`
from line 124
110124 
111125 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
112126 
113 A session-resolved multiagent roster entry.
127 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
114128 
115129 - `BetaManagedAgentsSessionThreadAgent object`
116130 

api/beta/sessions/threads/retrieve Changed · +16 / -2 lines

from line 18
1818 
1919 - `string`
2020 
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222 
2323 - `"message-batches-2024-09-24"`
2424 
from line 88
8888 
8989 - `"mid-conversation-tool-changes-2026-07-01"`
9090 
91 - `"compact-2026-01-12"`
92 
93 - `"computer-use-2025-11-24"`
94 
95 - `"mcp-tunnels-2026-06-22"`
96 
97 - `"structured-outputs-2025-11-13"`
98 
99 - `"task-budgets-2026-03-13"`
100 
101 - `"thinking-display-updates-2026-08-18"`
102 
103 - `"ce-user-management-2026-07-13"`
104 
91105## Returns
92106 
93107- `BetaManagedAgentsSessionThread object`
from line 114
100114 
101115 - `agent: BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
102116 
103 A session-resolved multiagent roster entry.
117 The resolved agent a session thread runs: a saved-agent snapshot, the platform advisor entry, or an inline-defined (ephemeral) agent snapshot.
104118 
105119 - `BetaManagedAgentsSessionThreadAgent object`
106120 

api/beta/sessions/update Changed · +15 / -1 lines

from line 16
1616 
1717 - `string`
1818 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020 
2121 - `"message-batches-2024-09-24"`
2222 
from line 85
8585 - `"agent-memory-2026-07-22"`
8686 
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88 
89 - `"compact-2026-01-12"`
90 
91 - `"computer-use-2025-11-24"`
92 
93 - `"mcp-tunnels-2026-06-22"`
94 
95 - `"structured-outputs-2025-11-13"`
96 
97 - `"task-budgets-2026-03-13"`
98 
99 - `"thinking-display-updates-2026-08-18"`
100 
101 - `"ce-user-management-2026-07-13"`
88102 
89103## Body parameters
90104 
Feedback