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

One read of Claude Developer Platformapi-20261014T203720Z

294 pages moved out of 778 read.

Pages moved 294 significant first
Pages read 778 in this capture
Captured 20:37 UTC
Corpus hash 4df5ec3cdb5f index-hash

What this read moved

26-50 of 294, page 2 of 12

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

api/beta/organization/mcp_tunnels Changed · +18 / -0 lines

from line 158
158158 
159159 - `"spend-limit-reads-2026-09-26"`
160160 
161 - `"telemetry-destinations-2026-08-11"`
162 
161163### Returns
162164 
163165- `data: array of BetaOrganizationTunnel`
from line 364
362364 
363365 - `"spend-limit-reads-2026-09-26"`
364366 
367 - `"telemetry-destinations-2026-08-11"`
368 
365369### Returns
366370 
367371- `BetaOrganizationTunnel object`
from line 566
562566 
563567 - `"spend-limit-reads-2026-09-26"`
564568 
569 - `"telemetry-destinations-2026-08-11"`
570 
565571### Returns
566572 
567573- `BetaOrganizationTunnel object`
from line 769
763769 
764770 - `"spend-limit-reads-2026-09-26"`
765771 
772 - `"telemetry-destinations-2026-08-11"`
773 
766774### Returns
767775 
768776- `BetaOrganizationTunnelToken object`
from line 944
936944 
937945 - `"spend-limit-reads-2026-09-26"`
938946 
947 - `"telemetry-destinations-2026-08-11"`
948 
939949### Body parameters
940950 
941951- `reason: optional string or null`
from line 1193
11831193 
11841194 - `"spend-limit-reads-2026-09-26"`
11851195 
1196 - `"telemetry-destinations-2026-08-11"`
1197 
11861198#### Body parameters
11871199 
11881200- `ca_certificate_pem: string`
from line 1425
14131425 
14141426 - `"spend-limit-reads-2026-09-26"`
14151427 
1428 - `"telemetry-destinations-2026-08-11"`
1429 
14161430#### Returns
14171431 
14181432- `data: array of BetaOrganizationTunnelCertificate`
from line 1635
16211635 
16221636 - `"spend-limit-reads-2026-09-26"`
16231637 
1638 - `"telemetry-destinations-2026-08-11"`
1639 
16241640#### Returns
16251641 
16261642- `BetaOrganizationTunnelCertificate object`
from line 1839
18231839 - `"ce-plugins-2026-09-01"`
18241840 
18251841 - `"spend-limit-reads-2026-09-26"`
1842 
1843 - `"telemetry-destinations-2026-08-11"`
18261844 
18271845#### Returns
18281846 

api/beta/organization/mcp_tunnels/tunnel_certificates Changed · +8 / -0 lines

from line 140
140140 
141141 - `"spend-limit-reads-2026-09-26"`
142142 
143 - `"telemetry-destinations-2026-08-11"`
144 
143145### Body parameters
144146 
145147- `ca_certificate_pem: string`
from line 372
370372 
371373 - `"spend-limit-reads-2026-09-26"`
372374 
375 - `"telemetry-destinations-2026-08-11"`
376 
373377### Returns
374378 
375379- `data: array of BetaOrganizationTunnelCertificate`
from line 582
578582 
579583 - `"spend-limit-reads-2026-09-26"`
580584 
585 - `"telemetry-destinations-2026-08-11"`
586 
581587### Returns
582588 
583589- `BetaOrganizationTunnelCertificate object`
from line 786
780786 - `"ce-plugins-2026-09-01"`
781787 
782788 - `"spend-limit-reads-2026-09-26"`
789 
790 - `"telemetry-destinations-2026-08-11"`
783791 
784792### Returns
785793 

api/beta/organization/plugin_marketplaces Changed · +10 / -0 lines

from line 171
171171 
172172 - `"spend-limit-reads-2026-09-26"`
173173 
174 - `"telemetry-destinations-2026-08-11"`
175 
174176### Returns
175177 
176178- `data: array of BetaPluginMarketplace`
from line 440
438440 
439441 - `"spend-limit-reads-2026-09-26"`
440442 
443 - `"telemetry-destinations-2026-08-11"`
444 
441445### Returns
442446 
443447- `BetaPluginMarketplace object`
from line 699
695699 
696700 - `"spend-limit-reads-2026-09-26"`
697701 
702 - `"telemetry-destinations-2026-08-11"`
703 
698704### Body parameters
699705 
700706- `default_installation_preference: "auto_install" or "available" or "not_available" or "required"`
from line 980
974980 
975981 - `"spend-limit-reads-2026-09-26"`
976982 
983 - `"telemetry-destinations-2026-08-11"`
984 
977985### Body parameters
978986 
979987- `repository_url: string`
from line 1247
12391247 - `"ce-plugins-2026-09-01"`
12401248 
12411249 - `"spend-limit-reads-2026-09-26"`
1250 
1251 - `"telemetry-destinations-2026-08-11"`
12421252 
12431253### Body parameters (form-data)
12441254 

api/beta/organization/plugins Changed · +26 / -0 lines

from line 149
149149 
150150 - `"spend-limit-reads-2026-09-26"`
151151 
152 - `"telemetry-destinations-2026-08-11"`
153 
152154### Body parameters (form-data)
153155 
154156- `files: array of string`
from line 548
546548 
547549 - `"spend-limit-reads-2026-09-26"`
548550 
551 - `"telemetry-destinations-2026-08-11"`
552 
549553### Returns
550554 
551555- `BetaPlugin object`
from line 943
939943 
940944 - `"spend-limit-reads-2026-09-26"`
941945 
946 - `"telemetry-destinations-2026-08-11"`
947 
942948### Body parameters
943949 
944950- `served_version_id: string`
from line 1388
13821388 
13831389 - `"spend-limit-reads-2026-09-26"`
13841390 
1391 - `"telemetry-destinations-2026-08-11"`
1392 
13851393### Returns
13861394 
13871395- `data: array of BetaPlugin`
from line 1783
17751783 
17761784 - `"spend-limit-reads-2026-09-26"`
17771785 
1786 - `"telemetry-destinations-2026-08-11"`
1787 
17781788### Returns
17791789 
17801790- `BetaDeletedPlugin object`
from line 2329
23192329 
23202330 - `"spend-limit-reads-2026-09-26"`
23212331 
2332 - `"telemetry-destinations-2026-08-11"`
2333 
23222334#### Body parameters (form-data)
23232335 
23242336- `files: array of string`
from line 2674
26622674 
26632675 - `"spend-limit-reads-2026-09-26"`
26642676 
2677 - `"telemetry-destinations-2026-08-11"`
2678 
26652679#### Returns
26662680 
26672681- `data: array of BetaPluginVersion`
from line 3001
29873001 
29883002 - `"spend-limit-reads-2026-09-26"`
29893003 
3004 - `"telemetry-destinations-2026-08-11"`
3005 
29903006#### Returns
29913007 
29923008- `BetaPluginVersion object`
from line 3335
33193335 
33203336 - `"spend-limit-reads-2026-09-26"`
33213337 
3338 - `"telemetry-destinations-2026-08-11"`
3339 
33223340#### Example
33233341 
33243342```bash
from line 3505
34873505 
34883506 - `"spend-limit-reads-2026-09-26"`
34893507 
3508 - `"telemetry-destinations-2026-08-11"`
3509 
34903510#### Returns
34913511 
34923512- `data: array of BetaPluginInstallationSetting`
from line 3754
37343754 
37353755 - `"spend-limit-reads-2026-09-26"`
37363756 
3757 - `"telemetry-destinations-2026-08-11"`
3758 
37373759#### Body parameters
37383760 
37393761- `installation_preference: "auto_install" or "available" or "not_available" or "required"`
from line 4020
39984020 
39994021 - `"spend-limit-reads-2026-09-26"`
40004022 
4023 - `"telemetry-destinations-2026-08-11"`
4024 
40014025#### Returns
40024026 
40034027- `BetaDeletedPluginInstallationSetting object`
from line 4259
42354259 - `"ce-plugins-2026-09-01"`
42364260 
42374261 - `"spend-limit-reads-2026-09-26"`
4262 
4263 - `"telemetry-destinations-2026-08-11"`
42384264 
42394265#### Returns
42404266 

api/beta/organization/plugins/installation_settings Changed · +6 / -0 lines

from line 162
162162 
163163 - `"spend-limit-reads-2026-09-26"`
164164 
165 - `"telemetry-destinations-2026-08-11"`
166 
165167### Returns
166168 
167169- `data: array of BetaPluginInstallationSetting`
from line 411
409411 
410412 - `"spend-limit-reads-2026-09-26"`
411413 
414 - `"telemetry-destinations-2026-08-11"`
415 
412416### Body parameters
413417 
414418- `installation_preference: "auto_install" or "available" or "not_available" or "required"`
from line 676
672676 - `"ce-plugins-2026-09-01"`
673677 
674678 - `"spend-limit-reads-2026-09-26"`
679 
680 - `"telemetry-destinations-2026-08-11"`
675681 
676682### Returns
677683 

api/beta/organization/plugins/versions Changed · +8 / -0 lines

from line 148
148148 
149149 - `"spend-limit-reads-2026-09-26"`
150150 
151 - `"telemetry-destinations-2026-08-11"`
152 
151153### Body parameters (form-data)
152154 
153155- `files: array of string`
from line 493
491493 
492494 - `"spend-limit-reads-2026-09-26"`
493495 
496 - `"telemetry-destinations-2026-08-11"`
497 
494498### Returns
495499 
496500- `data: array of BetaPluginVersion`
from line 820
816820 
817821 - `"spend-limit-reads-2026-09-26"`
818822 
823 - `"telemetry-destinations-2026-08-11"`
824 
819825### Returns
820826 
821827- `BetaPluginVersion object`
from line 1153
11471153 - `"ce-plugins-2026-09-01"`
11481154 
11491155 - `"spend-limit-reads-2026-09-26"`
1156 
1157 - `"telemetry-destinations-2026-08-11"`
11501158 
11511159### Example
11521160 

api/beta/organization/service_accounts Changed · +16 / -0 lines

from line 135
135135 
136136 - `"spend-limit-reads-2026-09-26"`
137137 
138 - `"telemetry-destinations-2026-08-11"`
139 
138140### Body parameters
139141 
140142- `name: string`
from line 396
394396 
395397 - `"spend-limit-reads-2026-09-26"`
396398 
399 - `"telemetry-destinations-2026-08-11"`
400 
397401### Returns
398402 
399403- `data: array of BetaServiceAccount`
from line 619
615619 
616620 - `"spend-limit-reads-2026-09-26"`
617621 
622 - `"telemetry-destinations-2026-08-11"`
623 
618624### Returns
619625 
620626- `BetaServiceAccount object`
from line 843
837843 
838844 - `"spend-limit-reads-2026-09-26"`
839845 
846 - `"telemetry-destinations-2026-08-11"`
847 
840848### Body parameters
841849 
842850- `description: optional string or null`
from line 1085
10771085 
10781086 - `"spend-limit-reads-2026-09-26"`
10791087 
1088 - `"telemetry-destinations-2026-08-11"`
1089 
10801090### Returns
10811091 
10821092- `BetaServiceAccount object`
from line 1417
14071417 
14081418 - `"spend-limit-reads-2026-09-26"`
14091419 
1420 - `"telemetry-destinations-2026-08-11"`
1421 
14101422#### Body parameters
14111423 
14121424- `workspace_id: string`
from line 1655
16431655 
16441656 - `"spend-limit-reads-2026-09-26"`
16451657 
1658 - `"telemetry-destinations-2026-08-11"`
1659 
16461660#### Returns
16471661 
16481662- `data: array of BetaServiceAccountWorkspaceMember`
from line 1864
18501864 - `"ce-plugins-2026-09-01"`
18511865 
18521866 - `"spend-limit-reads-2026-09-26"`
1867 
1868 - `"telemetry-destinations-2026-08-11"`
18531869 
18541870#### Returns
18551871 

api/beta/organization/service_accounts/workspaces Changed · +6 / -0 lines

from line 140
140140 
141141 - `"spend-limit-reads-2026-09-26"`
142142 
143 - `"telemetry-destinations-2026-08-11"`
144 
143145### Body parameters
144146 
145147- `workspace_id: string`
from line 378
376378 
377379 - `"spend-limit-reads-2026-09-26"`
378380 
381 - `"telemetry-destinations-2026-08-11"`
382 
379383### Returns
380384 
381385- `data: array of BetaServiceAccountWorkspaceMember`
from line 587
583587 - `"ce-plugins-2026-09-01"`
584588 
585589 - `"spend-limit-reads-2026-09-26"`
590 
591 - `"telemetry-destinations-2026-08-11"`
586592 
587593### Returns
588594 

api/beta/organization/telemetry_destinations New page · 3242 lines, new page

# Telemetry Destinations ## Create a Telemetry Destination ### Headers ### Body parameters ### Returns ### Example #### Response (200) ## List Telemetry Destinations ### Query parameters ### Headers ### Returns ### Example #### Response (200) ## Retrieve a Telemetry Destination ### Path parameters ### Headers ### Returns ### Example #### Response (200) ## Update a Telemetry Destination ### Path parameters ### Headers ### Body parameters ### Returns ### Example #### Response (200) ## Delete a Telemetry Destination ### Path parameters ### Headers ### Returns ### Example #### Response (200) ## Test a Telemetry Destination ### Path parameters ### Headers ### Returns ### Example #### Response (200) ## Domain types ### Beta Deleted Telemetry Destination ### Beta Telemetry Destination ### Beta Telemetry Destination Content Mode ### Beta Telemetry Destination Delivery Health ### Beta Telemetry Destination Disabled Reason ### Beta Telemetry Destination Disabled Reason Caller ### Beta Telemetry Destination Disabled Reason Invalid Address ### Beta Telemetry Destination Disabled Reason Redirect ### Beta Telemetry Destination Disabled Reason Sustained Failure ### Beta Telemetry Destination State ### Beta Telemetry Destination State Disabled ### Beta Telemetry Destination State Disabled Params ### Beta Telemetry Destination State Enabled ### Beta Telemetry Destination State Enabled Params ### Beta Telemetry Destination State Params ### Beta Telemetry Destination Test Failure ### Beta Telemetry Destination Test Response ### Beta Telemetry Destination Test Result ### Beta Telemetry Destination Test Success ### Beta Telemetry Destination Traces ### Beta Telemetry Destination Traces Params ### Beta Telemetry Destination Workspaces ### Beta Telemetry Destination Workspaces All ### Beta Telemetry Destination Workspaces All Params ### Beta Telemetry Destination Workspaces Exclude ### Beta Telemetry Destination Workspaces Exclude Params ### Beta Telemetry Destination Workspaces Include ### Beta Telemetry Destination Workspaces Include Params ### Beta Telemetry Destination Workspaces Params ## Telemetry Destinations › Workspaces ### List Telemetry Destination Workspaces #### Path parameters #### Query parameters #### Headers #### Returns #### Example ##### Response (200) ### Add a Telemetry Destination Workspace #### Path parameters #### Headers #### Returns #### Example ##### Response (200) ### Remove a Telemetry Destination Workspace #### Path parameters #### Headers #### Returns #### Example ##### Response (200)

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

---
title: Telemetry Destinations
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations
---

# Telemetry Destinations

## Create a Telemetry Destination

**POST** `/v1/organizations/telemetry_destinations`

Register an OpenTelemetry destination for the organization.

The destination starts in state `enabled`. An organization can have at most 10 destinations, including disabled ones.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#add-a-destination) to learn more about adding a destination.

### Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

### Body parameters

- `endpoint_url: string`

  The base URL of your collector's OTLP/HTTP endpoint, for example `https://gateway.example.com`.

  The URL must use `https` and a hostname, not an IP address. The port, if given, must be 443. The URL must not contain a query string, a fragment, or a username and password. At most 2,048 characters.

  A path prefix, such as `/otlp`, is allowed. Don't include the per-signal path (`/v1/traces`), because the API appends it on delivery. If your collector takes traces on another path, also set `traces.endpoint_url`.

  minLength: 1, maxLength: 2048

- `workspaces: BetaTelemetryDestinationWorkspacesParams`

  Which of the organization's workspaces the destination covers.

  - `BetaTelemetryDestinationWorkspacesAllParams object`

    Cover every workspace of the organization. Doesn't take `workspace_ids`.

    An update that sets `all` empties the destination's workspace list.

    - `type: "all"`

  - `BetaTelemetryDestinationWorkspacesIncludeParams object`

    Cover only the workspaces on the list.

    - `type: "include"`

    - `workspace_ids: optional array of string`

      The IDs of the workspaces on the destination's list (`wrkspc_...`). At most 100 per request.

      On create, these workspaces become the destination's list. If you leave `workspace_ids` out, the list starts empty. If the API refuses one of the IDs, it doesn't create the destination.

      On update, `workspace_ids` replaces the whole list. A workspace that stays on the list keeps its entry and its `created_at`. An empty array empties the list. If you leave `workspace_ids` out and the type stays the same, the list doesn't change. If you leave it out and the type changes, the new list starts empty. After a change to `include` without `workspace_ids`, the destination doesn't cover any workspace until one is added. After a change to `exclude` without `workspace_ids`, it covers every workspace.

      An ID sent more than once is added once. An archived workspace can't be added to a list. An update can keep an archived workspace that is already on the list.

  - `BetaTelemetryDestinationWorkspacesExcludeParams object`

    Cover every workspace of the organization except the workspaces on the list.

    - `type: "exclude"`

    - `workspace_ids: optional array of string`

      The IDs of the workspaces on the destination's list (`wrkspc_...`). At most 100 per request.

      On create, these workspaces become the destination's list. If you leave `workspace_ids` out, the list starts empty. If the API refuses one of the IDs, it doesn't create the destination.

      On update, `workspace_ids` replaces the whole list. A workspace that stays on the list keeps its entry and its `created_at`. An empty array empties the list. If you leave `workspace_ids` out and the type stays the same, the list doesn't change. If you leave it out and the type changes, the new list starts empty. After a change to `include` without `workspace_ids`, the destination doesn't cover any workspace until one is added. After a change to `exclude` without `workspace_ids`, it covers every workspace.

      An ID sent more than once is added once. An archived workspace can't be added to a list. An update can keep an archived workspace that is already on the list.

- `display_name: optional string or null`

  Human-readable name for the destination. Optional. 1 to 255 characters.

- `headers: optional map[string]`

  Request headers that the API sends with every delivery, typically your collector's authentication header (for example `authorization`).

  The API stores the values encrypted and never returns them. Reads show only `header_names`.

  At most 20 headers. Names are at most 128 characters. Two names can't differ only in case. Values are printable ASCII, at most 4,096 characters, and can't begin or end with a space. Names and values together are at most 16,384 bytes.

  Reserved names are rejected, for example `host`, `cookie`, `user-agent`, and names that start with `content-`, `proxy-`, `x-forwarded-`, or `anthropic-`. For this check, `_` in a name counts as `-`.

- `traces: optional BetaTelemetryDestinationTracesParams`

  The settings for the traces that the destination receives. If you leave it out, every setting takes its default.

  - `content_mode: optional BetaTelemetryDestinationContentMode or null`

    What the exported spans contain. Defaults to `metadata_only` on create.

    On update, `null` sets `metadata_only`.

    - `"metadata_only"`

      The spans contain identifiers, timing, status, token counts, and similar metadata. They don't contain prompt text, completion text, or tool inputs and outputs.

    - `"content"`

      The spans contain the same metadata as `metadata_only`, plus message and tool content.

      An organization with a data-handling restriction, such as under HIPAA, can't choose this mode. The API exports only metadata for such an organization, even to a destination that already has `content`.

  - `enabled: optional boolean`

    Whether the destination receives traces. Defaults to true on create. It cannot be null.

  - `endpoint_url: optional string or null`

    The full URL of your collector's traces endpoint, for a collector that takes traces on a path other than `/v1/traces`. The API posts traces to it exactly as given and appends nothing.

    The same rules as for `endpoint_url` apply, except that any path is allowed. It must have the same scheme, host, and port as `endpoint_url`. At most 2,048 characters.

    On create, `null` is the same as leaving it out. On update, `null` removes it. The API then posts traces to `endpoint_url` with `/v1/traces` appended. A change of this URL alone keeps the registered headers.

    maxLength: 2048

  - `max_content_bytes: optional number or null`

    The most bytes of content that one exported span can contain, from 1 up to the API's maximum. `null` sets no bound, so only the API's maximum applies.

    On create, leaving it out is the same as `null`. The error for a value above the maximum states the maximum.

    format: int32

### Returns

- `BetaTelemetryDestination object`

  An OpenTelemetry destination: an OTLP/HTTP endpoint, the request headers sent with every delivery to it, what the exported spans contain, and which workspaces it covers. A destination belongs to an organization. A workspace's spans go to every enabled destination that covers it.

  - `type: "telemetry_destination"`

  - `id: string`

    The unique ID of the destination (`tdst_...`).

  - `created_at: string`

    Time the destination was created.

    format: date-time

  - `delivery_health: BetaTelemetryDestinationDeliveryHealth`

    The most recent delivery results for this destination.

    - `last_error: string or null`

      A message that describes the most recent failed delivery to the destination, or `null` if no delivery has failed yet.

      Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid address` both for a hostname that doesn't exist and for an address that isn't publicly routable. It never contains the endpoint's response body, a header value, a network address, or TLS details.

      `last_error` and `last_error_at` always change together. A later successful delivery doesn't clear them. If `last_success_at` is later than `last_error_at`, a delivery has succeeded since this failure.

      See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#delivery-errors) to learn the likely cause of each error.

    - `last_error_at: string or null`

      Time of the failure that `last_error` describes. Changes together with `last_error`. Null until a delivery first fails.

      format: date-time

    - `last_success_at: string or null`

      Time of the most recent successful delivery to the destination, or `null` if no delivery has succeeded yet.

      format: date-time

  - `display_name: string or null`

    Human-readable name for the destination. Null when none was set.

  - `endpoint_url: string`

    The base URL of the destination's OTLP/HTTP endpoint, exactly as registered.

    The API appends the per-signal path, such as `/v1/traces`, on delivery, unless `traces.endpoint_url` is set.

  - `header_names: array of string`

    Names of the registered request headers. Header values are write-only and are never returned.

  - `state: BetaTelemetryDestinationState`

Cut at 300 lines. The page has the rest.

api/beta/organization/telemetry_destinations/create New page · 457 lines, new page

# Create a Telemetry Destination ## Headers ## Body parameters ## Returns ## Example ### Response (200)

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

---
title: Create a Telemetry Destination
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/create
---

# Create a Telemetry Destination

**POST** `/v1/organizations/telemetry_destinations`

Register an OpenTelemetry destination for the organization.

The destination starts in state `enabled`. An organization can have at most 10 destinations, including disabled ones.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#add-a-destination) to learn more about adding a destination.

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Body parameters

- `endpoint_url: string`

  The base URL of your collector's OTLP/HTTP endpoint, for example `https://gateway.example.com`.

  The URL must use `https` and a hostname, not an IP address. The port, if given, must be 443. The URL must not contain a query string, a fragment, or a username and password. At most 2,048 characters.

  A path prefix, such as `/otlp`, is allowed. Don't include the per-signal path (`/v1/traces`), because the API appends it on delivery. If your collector takes traces on another path, also set `traces.endpoint_url`.

  minLength: 1, maxLength: 2048

- `workspaces: BetaTelemetryDestinationWorkspacesParams`

  Which of the organization's workspaces the destination covers.

  - `BetaTelemetryDestinationWorkspacesAllParams object`

    Cover every workspace of the organization. Doesn't take `workspace_ids`.

    An update that sets `all` empties the destination's workspace list.

    - `type: "all"`

  - `BetaTelemetryDestinationWorkspacesIncludeParams object`

    Cover only the workspaces on the list.

    - `type: "include"`

    - `workspace_ids: optional array of string`

      The IDs of the workspaces on the destination's list (`wrkspc_...`). At most 100 per request.

      On create, these workspaces become the destination's list. If you leave `workspace_ids` out, the list starts empty. If the API refuses one of the IDs, it doesn't create the destination.

      On update, `workspace_ids` replaces the whole list. A workspace that stays on the list keeps its entry and its `created_at`. An empty array empties the list. If you leave `workspace_ids` out and the type stays the same, the list doesn't change. If you leave it out and the type changes, the new list starts empty. After a change to `include` without `workspace_ids`, the destination doesn't cover any workspace until one is added. After a change to `exclude` without `workspace_ids`, it covers every workspace.

      An ID sent more than once is added once. An archived workspace can't be added to a list. An update can keep an archived workspace that is already on the list.

  - `BetaTelemetryDestinationWorkspacesExcludeParams object`

    Cover every workspace of the organization except the workspaces on the list.

    - `type: "exclude"`

    - `workspace_ids: optional array of string`

      The IDs of the workspaces on the destination's list (`wrkspc_...`). At most 100 per request.

      On create, these workspaces become the destination's list. If you leave `workspace_ids` out, the list starts empty. If the API refuses one of the IDs, it doesn't create the destination.

      On update, `workspace_ids` replaces the whole list. A workspace that stays on the list keeps its entry and its `created_at`. An empty array empties the list. If you leave `workspace_ids` out and the type stays the same, the list doesn't change. If you leave it out and the type changes, the new list starts empty. After a change to `include` without `workspace_ids`, the destination doesn't cover any workspace until one is added. After a change to `exclude` without `workspace_ids`, it covers every workspace.

      An ID sent more than once is added once. An archived workspace can't be added to a list. An update can keep an archived workspace that is already on the list.

- `display_name: optional string or null`

  Human-readable name for the destination. Optional. 1 to 255 characters.

- `headers: optional map[string]`

  Request headers that the API sends with every delivery, typically your collector's authentication header (for example `authorization`).

  The API stores the values encrypted and never returns them. Reads show only `header_names`.

  At most 20 headers. Names are at most 128 characters. Two names can't differ only in case. Values are printable ASCII, at most 4,096 characters, and can't begin or end with a space. Names and values together are at most 16,384 bytes.

  Reserved names are rejected, for example `host`, `cookie`, `user-agent`, and names that start with `content-`, `proxy-`, `x-forwarded-`, or `anthropic-`. For this check, `_` in a name counts as `-`.

- `traces: optional BetaTelemetryDestinationTracesParams`

  The settings for the traces that the destination receives. If you leave it out, every setting takes its default.

  - `content_mode: optional BetaTelemetryDestinationContentMode or null`

    What the exported spans contain. Defaults to `metadata_only` on create.

    On update, `null` sets `metadata_only`.

    - `"metadata_only"`

      The spans contain identifiers, timing, status, token counts, and similar metadata. They don't contain prompt text, completion text, or tool inputs and outputs.

    - `"content"`

      The spans contain the same metadata as `metadata_only`, plus message and tool content.

      An organization with a data-handling restriction, such as under HIPAA, can't choose this mode. The API exports only metadata for such an organization, even to a destination that already has `content`.

  - `enabled: optional boolean`

    Whether the destination receives traces. Defaults to true on create. It cannot be null.

  - `endpoint_url: optional string or null`

    The full URL of your collector's traces endpoint, for a collector that takes traces on a path other than `/v1/traces`. The API posts traces to it exactly as given and appends nothing.

    The same rules as for `endpoint_url` apply, except that any path is allowed. It must have the same scheme, host, and port as `endpoint_url`. At most 2,048 characters.

    On create, `null` is the same as leaving it out. On update, `null` removes it. The API then posts traces to `endpoint_url` with `/v1/traces` appended. A change of this URL alone keeps the registered headers.

    maxLength: 2048

  - `max_content_bytes: optional number or null`

    The most bytes of content that one exported span can contain, from 1 up to the API's maximum. `null` sets no bound, so only the API's maximum applies.

    On create, leaving it out is the same as `null`. The error for a value above the maximum states the maximum.

    format: int32

## Returns

- `BetaTelemetryDestination object`

  An OpenTelemetry destination: an OTLP/HTTP endpoint, the request headers sent with every delivery to it, what the exported spans contain, and which workspaces it covers. A destination belongs to an organization. A workspace's spans go to every enabled destination that covers it.

  - `type: "telemetry_destination"`

  - `id: string`

    The unique ID of the destination (`tdst_...`).

  - `created_at: string`

    Time the destination was created.

    format: date-time

  - `delivery_health: BetaTelemetryDestinationDeliveryHealth`

    The most recent delivery results for this destination.

    - `last_error: string or null`

      A message that describes the most recent failed delivery to the destination, or `null` if no delivery has failed yet.

      Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid address` both for a hostname that doesn't exist and for an address that isn't publicly routable. It never contains the endpoint's response body, a header value, a network address, or TLS details.

      `last_error` and `last_error_at` always change together. A later successful delivery doesn't clear them. If `last_success_at` is later than `last_error_at`, a delivery has succeeded since this failure.

      See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#delivery-errors) to learn the likely cause of each error.

    - `last_error_at: string or null`

      Time of the failure that `last_error` describes. Changes together with `last_error`. Null until a delivery first fails.

      format: date-time

    - `last_success_at: string or null`

      Time of the most recent successful delivery to the destination, or `null` if no delivery has succeeded yet.

      format: date-time

  - `display_name: string or null`

    Human-readable name for the destination. Null when none was set.

  - `endpoint_url: string`

    The base URL of the destination's OTLP/HTTP endpoint, exactly as registered.

    The API appends the per-signal path, such as `/v1/traces`, on delivery, unless `traces.endpoint_url` is set.

  - `header_names: array of string`

    Names of the registered request headers. Header values are write-only and are never returned.

  - `state: BetaTelemetryDestinationState`

    Whether the destination receives deliveries.

Cut at 300 lines. The page has the rest.

api/beta/organization/telemetry_destinations/delete New page · 163 lines, new page

# Delete a Telemetry Destination ## Path parameters ## Headers ## Returns ## Example ### Response (200)

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

---
title: Delete a Telemetry Destination
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/delete
---

# Delete a Telemetry Destination

**DELETE** `/v1/organizations/telemetry_destinations/{destination_id}`

Delete a destination and its workspace list.

The API stops sending spans to the destination. The spans of the workspaces it covered still go to the other destinations that cover them. A deleted destination can't be read, listed, or restored.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#delivery-and-health) to learn more about managing a destination.

## Path parameters

- `destination_id: string`

  ID of the destination (`tdst_...`).

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Returns

- `BetaDeletedTelemetryDestination object`

  Confirmation that a destination was deleted.

  - `type: "telemetry_destination_deleted"`

  - `id: string`

    ID of the deleted destination (`tdst_...`).

## Example

```bash
curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID \
    -X DELETE \
    -H 'anthropic-version: 2023-06-01' \
    -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "id": "id",
  "type": "telemetry_destination_deleted"
}
```

api/beta/organization/telemetry_destinations/list New page · 363 lines, new page

# List Telemetry Destinations ## Query parameters ## Headers ## Returns ## Example ### Response (200)

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

---
title: List Telemetry Destinations
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/list
---

# List Telemetry Destinations

**GET** `/v1/organizations/telemetry_destinations`

List the organization's destinations, newest first, optionally only those that cover given workspaces.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#set-up-api-tracing) to learn more about destinations.

## Query parameters

- `limit: optional number`

  Number of destinations to return per page, between 1 and 1,000. Defaults to 20.

  format: int32

- `page: optional string`

  Opaque cursor from a previous response's `next_page`. Leave it out to get the first page.

- `workspace_ids: optional array of string`

  Return only the destinations that cover at least one of these workspaces (`wrkspc_...`).

  Send at most 100 IDs, as `workspace_ids[]`. A destination covers a workspace when its `workspaces.type` is `all`, when its `include` list has the workspace, or when its `exclude` list doesn't have it. Destinations in either state can match. An ID that isn't the ID of one of the organization's workspaces doesn't match any destination, not even one whose type is `all`.

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Returns

- `data: array of BetaTelemetryDestination`

  Destinations on this page, newest first.

  - `type: "telemetry_destination"`

  - `id: string`

    The unique ID of the destination (`tdst_...`).

  - `created_at: string`

    Time the destination was created.

    format: date-time

  - `delivery_health: BetaTelemetryDestinationDeliveryHealth`

    The most recent delivery results for this destination.

    - `last_error: string or null`

      A message that describes the most recent failed delivery to the destination, or `null` if no delivery has failed yet.

      Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid address` both for a hostname that doesn't exist and for an address that isn't publicly routable. It never contains the endpoint's response body, a header value, a network address, or TLS details.

      `last_error` and `last_error_at` always change together. A later successful delivery doesn't clear them. If `last_success_at` is later than `last_error_at`, a delivery has succeeded since this failure.

      See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#delivery-errors) to learn the likely cause of each error.

    - `last_error_at: string or null`

      Time of the failure that `last_error` describes. Changes together with `last_error`. Null until a delivery first fails.

      format: date-time

    - `last_success_at: string or null`

      Time of the most recent successful delivery to the destination, or `null` if no delivery has succeeded yet.

      format: date-time

  - `display_name: string or null`

    Human-readable name for the destination. Null when none was set.

  - `endpoint_url: string`

    The base URL of the destination's OTLP/HTTP endpoint, exactly as registered.

    The API appends the per-signal path, such as `/v1/traces`, on delivery, unless `traces.endpoint_url` is set.

  - `header_names: array of string`

    Names of the registered request headers. Header values are write-only and are never returned.

  - `state: BetaTelemetryDestinationState`

    Whether the destination receives deliveries.

    - `BetaTelemetryDestinationStateEnabled object`

      The telemetry destination receives the spans of the workspaces that it covers.

      - `type: "enabled"`

    - `BetaTelemetryDestinationStateDisabled object`

      The API doesn't deliver anything to the telemetry destination.

      Spans produced while it is disabled aren't delivered later.

      - `type: "disabled"`

      - `reason: BetaTelemetryDestinationDisabledReason`

        Whether a caller or the API disabled the destination and, when the API did, why. Read-only.

        - `BetaTelemetryDestinationDisabledReasonCaller object`

          A caller disabled the destination with an update that set `state` to `disabled`.

          - `type: "caller"`

        - `BetaTelemetryDestinationDisabledReasonSustainedFailure object`

          The API disabled the destination because deliveries to it failed, with no successful delivery in between, for longer than a threshold that Anthropic configures and that is not part of this contract. The reason is `invalid_address` instead when the most recent failed delivery failed with an invalid address.

          - `type: "sustained_failure"`

        - `BetaTelemetryDestinationDisabledReasonInvalidAddress object`

          The API disabled the destination because deliveries to it failed for longer than the same threshold as for `sustained_failure`, and the most recent failed delivery failed with an invalid address: the DNS answer says that the endpoint's hostname doesn't exist or doesn't have an address, or the address that the API would connect to isn't publicly routable or is reserved, for example a loopback, link-local, private-network, or cloud-metadata address. The API doesn't connect to such an address, and retries the delivery a bounded number of times as it does after a timeout. A timeout or a server failure of the DNS lookup is a temporary DNS failure instead, not an invalid address.

          - `type: "invalid_address"`

        - `BetaTelemetryDestinationDisabledReasonRedirect object`

          The API disabled the destination because the endpoint answered a delivery with a 3xx status. Redirects are never followed, and one such answer disables the destination at once.

          - `type: "redirect"`

  - `traces: BetaTelemetryDestinationTraces`

    The destination's settings for the traces it receives.

    - `content_mode: BetaTelemetryDestinationContentMode`

      What the exported spans contain.

      - `"metadata_only"`

        The spans contain identifiers, timing, status, token counts, and similar metadata. They don't contain prompt text, completion text, or tool inputs and outputs.

      - `"content"`

        The spans contain the same metadata as `metadata_only`, plus message and tool content.

        An organization with a data-handling restriction, such as under HIPAA, can't choose this mode. The API exports only metadata for such an organization, even to a destination that already has `content`.

    - `enabled: boolean`

      Whether the destination receives traces. A destination whose `enabled` is false keeps its other settings.

    - `endpoint_url: string or null`

      The full URL that the API posts traces to, exactly as registered, or `null` if the destination doesn't have one.

      When it is `null`, the API posts traces to `endpoint_url` with `/v1/traces` appended.

    - `max_content_bytes: number or null`

      The most bytes of content that one exported span can contain, or `null` if only the API's maximum applies.

      Content means model prompts and responses, and tool inputs and outputs. The API shortens longer content to this size before it delivers the span. A destination whose `content_mode` is `metadata_only` keeps this value. It applies once `content_mode` is `content`.

      format: int32

  - `updated_at: string`

    Time of the last change to the destination's configuration or state. Changes to `delivery_health` don't change it.

    An update that sets a header value always changes it, even when the value is the same as before. Adding or removing a single workspace on the destination's list doesn't change it. An update that changes the list does.

    format: date-time

  - `workspaces: BetaTelemetryDestinationWorkspaces`

    Which of the organization's workspaces the destination covers.

    - `BetaTelemetryDestinationWorkspacesAll object`

      The destination covers every workspace of the organization, including the default workspace, archived workspaces, and workspaces created later. It doesn't have a list.

      - `type: "all"`

Cut at 300 lines. The page has the rest.

api/beta/organization/telemetry_destinations/retrieve New page · 342 lines, new page

# Retrieve a Telemetry Destination ## Path parameters ## Headers ## Returns ## Example ### Response (200)

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

---
title: Retrieve a Telemetry Destination
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/retrieve
---

# Retrieve a Telemetry Destination

**GET** `/v1/organizations/telemetry_destinations/{destination_id}`

Read a destination's configuration, state, and most recent delivery results.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#delivery-and-health) to learn how the API delivers spans and when it disables a destination.

## Path parameters

- `destination_id: string`

  ID of the destination (`tdst_...`).

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Returns

- `BetaTelemetryDestination object`

  An OpenTelemetry destination: an OTLP/HTTP endpoint, the request headers sent with every delivery to it, what the exported spans contain, and which workspaces it covers. A destination belongs to an organization. A workspace's spans go to every enabled destination that covers it.

  - `type: "telemetry_destination"`

  - `id: string`

    The unique ID of the destination (`tdst_...`).

  - `created_at: string`

    Time the destination was created.

    format: date-time

  - `delivery_health: BetaTelemetryDestinationDeliveryHealth`

    The most recent delivery results for this destination.

    - `last_error: string or null`

      A message that describes the most recent failed delivery to the destination, or `null` if no delivery has failed yet.

      Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid address` both for a hostname that doesn't exist and for an address that isn't publicly routable. It never contains the endpoint's response body, a header value, a network address, or TLS details.

      `last_error` and `last_error_at` always change together. A later successful delivery doesn't clear them. If `last_success_at` is later than `last_error_at`, a delivery has succeeded since this failure.

      See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#delivery-errors) to learn the likely cause of each error.

    - `last_error_at: string or null`

      Time of the failure that `last_error` describes. Changes together with `last_error`. Null until a delivery first fails.

      format: date-time

    - `last_success_at: string or null`

      Time of the most recent successful delivery to the destination, or `null` if no delivery has succeeded yet.

      format: date-time

  - `display_name: string or null`

    Human-readable name for the destination. Null when none was set.

  - `endpoint_url: string`

    The base URL of the destination's OTLP/HTTP endpoint, exactly as registered.

    The API appends the per-signal path, such as `/v1/traces`, on delivery, unless `traces.endpoint_url` is set.

  - `header_names: array of string`

    Names of the registered request headers. Header values are write-only and are never returned.

  - `state: BetaTelemetryDestinationState`

    Whether the destination receives deliveries.

    - `BetaTelemetryDestinationStateEnabled object`

      The telemetry destination receives the spans of the workspaces that it covers.

      - `type: "enabled"`

    - `BetaTelemetryDestinationStateDisabled object`

      The API doesn't deliver anything to the telemetry destination.

      Spans produced while it is disabled aren't delivered later.

      - `type: "disabled"`

      - `reason: BetaTelemetryDestinationDisabledReason`

        Whether a caller or the API disabled the destination and, when the API did, why. Read-only.

        - `BetaTelemetryDestinationDisabledReasonCaller object`

          A caller disabled the destination with an update that set `state` to `disabled`.

          - `type: "caller"`

        - `BetaTelemetryDestinationDisabledReasonSustainedFailure object`

          The API disabled the destination because deliveries to it failed, with no successful delivery in between, for longer than a threshold that Anthropic configures and that is not part of this contract. The reason is `invalid_address` instead when the most recent failed delivery failed with an invalid address.

          - `type: "sustained_failure"`

        - `BetaTelemetryDestinationDisabledReasonInvalidAddress object`

          The API disabled the destination because deliveries to it failed for longer than the same threshold as for `sustained_failure`, and the most recent failed delivery failed with an invalid address: the DNS answer says that the endpoint's hostname doesn't exist or doesn't have an address, or the address that the API would connect to isn't publicly routable or is reserved, for example a loopback, link-local, private-network, or cloud-metadata address. The API doesn't connect to such an address, and retries the delivery a bounded number of times as it does after a timeout. A timeout or a server failure of the DNS lookup is a temporary DNS failure instead, not an invalid address.

          - `type: "invalid_address"`

        - `BetaTelemetryDestinationDisabledReasonRedirect object`

          The API disabled the destination because the endpoint answered a delivery with a 3xx status. Redirects are never followed, and one such answer disables the destination at once.

          - `type: "redirect"`

  - `traces: BetaTelemetryDestinationTraces`

    The destination's settings for the traces it receives.

    - `content_mode: BetaTelemetryDestinationContentMode`

      What the exported spans contain.

      - `"metadata_only"`

        The spans contain identifiers, timing, status, token counts, and similar metadata. They don't contain prompt text, completion text, or tool inputs and outputs.

      - `"content"`

        The spans contain the same metadata as `metadata_only`, plus message and tool content.

        An organization with a data-handling restriction, such as under HIPAA, can't choose this mode. The API exports only metadata for such an organization, even to a destination that already has `content`.

    - `enabled: boolean`

      Whether the destination receives traces. A destination whose `enabled` is false keeps its other settings.

    - `endpoint_url: string or null`

      The full URL that the API posts traces to, exactly as registered, or `null` if the destination doesn't have one.

      When it is `null`, the API posts traces to `endpoint_url` with `/v1/traces` appended.

    - `max_content_bytes: number or null`

      The most bytes of content that one exported span can contain, or `null` if only the API's maximum applies.

      Content means model prompts and responses, and tool inputs and outputs. The API shortens longer content to this size before it delivers the span. A destination whose `content_mode` is `metadata_only` keeps this value. It applies once `content_mode` is `content`.

      format: int32

  - `updated_at: string`

    Time of the last change to the destination's configuration or state. Changes to `delivery_health` don't change it.

    An update that sets a header value always changes it, even when the value is the same as before. Adding or removing a single workspace on the destination's list doesn't change it. An update that changes the list does.

    format: date-time

  - `workspaces: BetaTelemetryDestinationWorkspaces`

    Which of the organization's workspaces the destination covers.

    - `BetaTelemetryDestinationWorkspacesAll object`

      The destination covers every workspace of the organization, including the default workspace, archived workspaces, and workspaces created later. It doesn't have a list.

      - `type: "all"`

    - `BetaTelemetryDestinationWorkspacesInclude object`

      The destination covers the workspaces on its list, and no others.

      - `type: "include"`

    - `BetaTelemetryDestinationWorkspacesExclude object`

      The destination covers every workspace of the organization except the workspaces on its list. A workspace created later is covered until it is added to the list.

      - `type: "exclude"`

Cut at 300 lines. The page has the rest.

api/beta/organization/telemetry_destinations/test New page · 177 lines, new page

# Test a Telemetry Destination ## Path parameters ## Headers ## Returns ## Example ### Response (200)

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

---
title: Test a Telemetry Destination
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/test
---

# Test a Telemetry Destination

**POST** `/v1/organizations/telemetry_destinations/{destination_id}/test`

Send one test span, named `anthropic.test`, to the destination with its registered headers, once and without retries, and report the destination's answer. The response is 200 whether or not the destination answered with a 2xx status: its `result` has the type `success`, or the type `failure` and the reason in `error`. The destination's configuration, `state` and `delivery_health` do not change. A disabled destination can be tested too. Wait 10 seconds between tests of one destination; a request that comes sooner may be answered with status 429.

## Path parameters

- `destination_id: string`

  ID of the destination to test (starts with `tdst_`).

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Returns

- `BetaTelemetryDestinationTestResponse object`

  The result of one test span sent to a destination.

  - `type: "telemetry_destination_test"`

  - `result: BetaTelemetryDestinationTestResult`

    How the test went: `success` when the destination answered with a 2xx status, else `failure` with the reason.

    - `BetaTelemetryDestinationTestSuccess object`

      The destination answered the test span with a 2xx status.

      - `type: "success"`

    - `BetaTelemetryDestinationTestFailure object`

      The test span was not delivered.

      - `type: "failure"`

      - `error: string`

        A message that describes why the test span was not delivered, including the HTTP status code when the destination returned one. Examples: `HTTP error (status 403)`, `timeout`, `TLS failure`. It has the same form as the destination's `delivery_health.last_error` and never contains the destination's response body, any header value, a network address, or TLS details.

## Example

```bash
curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/test \
    -X POST \
    -H 'anthropic-version: 2023-06-01' \
    -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "result": {
    "type": "success"
  },
  "type": "telemetry_destination_test"
}
```

api/beta/organization/telemetry_destinations/update New page · 482 lines, new page

# Update a Telemetry Destination ## Path parameters ## Headers ## Body parameters ## Returns ## Example ### Response (200)

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

---
title: Update a Telemetry Destination
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/update
---

# Update a Telemetry Destination

**POST** `/v1/organizations/telemetry_destinations/{destination_id}`

Change a telemetry destination's settings, its state, or which workspaces it covers.

Send at least one field. Omitted fields keep their stored values, except the registered headers, which a change of the endpoint's hostname or port removes. Only `display_name`, `traces`, `traces.endpoint_url`, `traces.content_mode`, `traces.max_content_bytes`, and individual `headers` values accept `null`.

If another request changes the destination while the update runs, the API returns a 409 `conflict_error`. Read the destination again, then retry the update.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#delivery-and-health) to learn more about changing a destination.

## Path parameters

- `destination_id: string`

  ID of the destination (`tdst_...`).

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Body parameters

- `display_name: optional string or null`

  New human-readable name, 1 to 255 characters. Null clears it.

- `endpoint_url: optional string`

  The new base URL of the destination's OTLP/HTTP endpoint. The same rules as on create apply.

  A change of hostname or port first removes every registered header, so send the headers for the new endpoint in the same request. When the destination has a `traces.endpoint_url`, such a change must also set `traces.endpoint_url` to a URL with the new hostname and port, or to `null`. A change of the path alone keeps the headers.

  maxLength: 2048

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

  Headers to set or remove. The API merges them into the destination's headers by name.

  Names compare case-insensitively. A string value sets or replaces that header. A `null` value removes it. Headers that you omit don't change. The field itself can't be `null`.

  A request that sets a header value must also include `endpoint_url`. The current URL is accepted.

  The resulting set must stay within the same limits as on create. When the request sets a value, each stored value that it doesn't set counts as 4,096 bytes toward the 16,384-byte limit, because you can't read its real length. So to change one header of a destination that has four or more other headers, send the values of the others again in the same request.

- `state: optional BetaTelemetryDestinationStateParams`

  Whether the destination receives deliveries after the update. The field can't be `null`.

  - `BetaTelemetryDestinationStateEnabledParams object`

    Start deliveries to the telemetry destination again.

    This doesn't reset `delivery_health`.

    - `type: "enabled"`

  - `BetaTelemetryDestinationStateDisabledParams object`

    Stop deliveries to the telemetry destination.

    Spans produced while it is disabled aren't delivered later. A destination that is already disabled keeps its `reason`.

    - `type: "disabled"`

- `traces: optional BetaTelemetryDestinationTracesParams or null`

  The traces settings to change. Omitted settings keep their stored values.

  `null` sets every traces setting to its create default.

  - `content_mode: optional BetaTelemetryDestinationContentMode or null`

    What the exported spans contain. Defaults to `metadata_only` on create.

    On update, `null` sets `metadata_only`.

    - `"metadata_only"`

      The spans contain identifiers, timing, status, token counts, and similar metadata. They don't contain prompt text, completion text, or tool inputs and outputs.

    - `"content"`

      The spans contain the same metadata as `metadata_only`, plus message and tool content.

      An organization with a data-handling restriction, such as under HIPAA, can't choose this mode. The API exports only metadata for such an organization, even to a destination that already has `content`.

  - `enabled: optional boolean`

    Whether the destination receives traces. Defaults to true on create. It cannot be null.

  - `endpoint_url: optional string or null`

    The full URL of your collector's traces endpoint, for a collector that takes traces on a path other than `/v1/traces`. The API posts traces to it exactly as given and appends nothing.

    The same rules as for `endpoint_url` apply, except that any path is allowed. It must have the same scheme, host, and port as `endpoint_url`. At most 2,048 characters.

    On create, `null` is the same as leaving it out. On update, `null` removes it. The API then posts traces to `endpoint_url` with `/v1/traces` appended. A change of this URL alone keeps the registered headers.

    maxLength: 2048

  - `max_content_bytes: optional number or null`

    The most bytes of content that one exported span can contain, from 1 up to the API's maximum. `null` sets no bound, so only the API's maximum applies.

    On create, leaving it out is the same as `null`. The error for a value above the maximum states the maximum.

    format: int32

- `workspaces: optional BetaTelemetryDestinationWorkspacesParams`

  The new workspace scope, in the same form as on create. The field can't be `null`.

  The API refuses an update that changes the type or sends `workspace_ids` while the destination's list has more than 750 workspaces. Remove workspaces one at a time until 750 or fewer remain, then send the update again.

  - `BetaTelemetryDestinationWorkspacesAllParams object`

    Cover every workspace of the organization. Doesn't take `workspace_ids`.

    An update that sets `all` empties the destination's workspace list.

    - `type: "all"`

  - `BetaTelemetryDestinationWorkspacesIncludeParams object`

    Cover only the workspaces on the list.

    - `type: "include"`

    - `workspace_ids: optional array of string`

      The IDs of the workspaces on the destination's list (`wrkspc_...`). At most 100 per request.

      On create, these workspaces become the destination's list. If you leave `workspace_ids` out, the list starts empty. If the API refuses one of the IDs, it doesn't create the destination.

      On update, `workspace_ids` replaces the whole list. A workspace that stays on the list keeps its entry and its `created_at`. An empty array empties the list. If you leave `workspace_ids` out and the type stays the same, the list doesn't change. If you leave it out and the type changes, the new list starts empty. After a change to `include` without `workspace_ids`, the destination doesn't cover any workspace until one is added. After a change to `exclude` without `workspace_ids`, it covers every workspace.

      An ID sent more than once is added once. An archived workspace can't be added to a list. An update can keep an archived workspace that is already on the list.

  - `BetaTelemetryDestinationWorkspacesExcludeParams object`

    Cover every workspace of the organization except the workspaces on the list.

    - `type: "exclude"`

    - `workspace_ids: optional array of string`

      The IDs of the workspaces on the destination's list (`wrkspc_...`). At most 100 per request.

      On create, these workspaces become the destination's list. If you leave `workspace_ids` out, the list starts empty. If the API refuses one of the IDs, it doesn't create the destination.

      On update, `workspace_ids` replaces the whole list. A workspace that stays on the list keeps its entry and its `created_at`. An empty array empties the list. If you leave `workspace_ids` out and the type stays the same, the list doesn't change. If you leave it out and the type changes, the new list starts empty. After a change to `include` without `workspace_ids`, the destination doesn't cover any workspace until one is added. After a change to `exclude` without `workspace_ids`, it covers every workspace.

      An ID sent more than once is added once. An archived workspace can't be added to a list. An update can keep an archived workspace that is already on the list.

## Returns

- `BetaTelemetryDestination object`

  An OpenTelemetry destination: an OTLP/HTTP endpoint, the request headers sent with every delivery to it, what the exported spans contain, and which workspaces it covers. A destination belongs to an organization. A workspace's spans go to every enabled destination that covers it.

  - `type: "telemetry_destination"`

  - `id: string`

    The unique ID of the destination (`tdst_...`).

  - `created_at: string`

    Time the destination was created.

    format: date-time

  - `delivery_health: BetaTelemetryDestinationDeliveryHealth`

    The most recent delivery results for this destination.

    - `last_error: string or null`

      A message that describes the most recent failed delivery to the destination, or `null` if no delivery has failed yet.

      Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid address` both for a hostname that doesn't exist and for an address that isn't publicly routable. It never contains the endpoint's response body, a header value, a network address, or TLS details.

      `last_error` and `last_error_at` always change together. A later successful delivery doesn't clear them. If `last_success_at` is later than `last_error_at`, a delivery has succeeded since this failure.

      See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#delivery-errors) to learn the likely cause of each error.

Cut at 300 lines. The page has the rest.

api/beta/organization/telemetry_destinations/workspaces New page · 588 lines, new page

# Workspaces ## List Telemetry Destination Workspaces ### Path parameters ### Query parameters ### Headers ### Returns ### Example #### Response (200) ## Add a Telemetry Destination Workspace ### Path parameters ### Headers ### Returns ### Example #### Response (200) ## Remove a Telemetry Destination Workspace ### Path parameters ### Headers ### Returns ### Example #### Response (200) ## Domain types ### Beta Deleted Telemetry Destination Workspace ### Beta Telemetry Destination Workspace

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

---
title: Workspaces
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/workspaces
---

# Workspaces

## List Telemetry Destination Workspaces

**GET** `/v1/organizations/telemetry_destinations/{destination_id}/workspaces`

List the workspaces on a destination's workspace list, newest entry first.

A destination whose `workspaces.type` is `all` doesn't have a list, so its page is empty. The list includes archived workspaces.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#choose-workspaces-for-a-destination) to learn more about choosing the workspaces of a destination.

### Path parameters

- `destination_id: string`

  ID of the destination (`tdst_...`).

### Query parameters

- `limit: optional number`

  Number of entries to return per page, between 1 and 1,000. Defaults to 20.

  format: int32

- `page: optional string`

  Opaque cursor from a previous response's `next_page`. Leave it out to get the first page.

### Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

### Returns

- `data: array of BetaTelemetryDestinationWorkspace`

  Entries on this page, newest first.

  - `type: "telemetry_destination_workspace"`

  - `created_at: string`

    Time the workspace was added to the list.

    format: date-time

  - `telemetry_destination_id: string`

    ID of the telemetry destination (`tdst_...`).

  - `workspace_id: string`

    ID of the workspace (`wrkspc_...`).

- `next_page: string or null`

  Cursor for the next page. Null on the last page.

### Example

```bash
curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces \
    -H 'anthropic-version: 2023-06-01' \
    -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

#### Response (200)

```json
{
  "data": [
    {
      "created_at": "2019-12-27T18:11:19.117Z",
      "telemetry_destination_id": "telemetry_destination_id",
      "type": "telemetry_destination_workspace",
      "workspace_id": "workspace_id"
    }
  ],
  "next_page": "next_page"
}
```

## Add a Telemetry Destination Workspace

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

Add one workspace to a destination's workspace list.

Under `include` the workspace's spans start going to the destination. Under `exclude` they stop. A list holds at most 1,000 workspaces.

Adding a workspace that is already on the list changes nothing and returns the existing entry. An archived workspace that isn't on the list yet can't be added. A destination whose `workspaces.type` is `all` doesn't have a list, so the API returns 400. To change which workspaces such a destination covers, update its `workspaces`.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#choose-workspaces-for-a-destination) to learn more about choosing the workspaces of a destination.

### Path parameters

- `destination_id: string`

  ID of the destination (`tdst_...`).

- `workspace_id: string`

  ID of the workspace to add (`wrkspc_...`).

### Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

Cut at 300 lines. The page has the rest.

api/beta/organization/telemetry_destinations/workspaces/add New page · 183 lines, new page

# Add a Telemetry Destination Workspace ## Path parameters ## Headers ## Returns ## Example ### Response (200)

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

---
title: Add a Telemetry Destination Workspace
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/workspaces/add
---

# Add a Telemetry Destination Workspace

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

Add one workspace to a destination's workspace list.

Under `include` the workspace's spans start going to the destination. Under `exclude` they stop. A list holds at most 1,000 workspaces.

Adding a workspace that is already on the list changes nothing and returns the existing entry. An archived workspace that isn't on the list yet can't be added. A destination whose `workspaces.type` is `all` doesn't have a list, so the API returns 400. To change which workspaces such a destination covers, update its `workspaces`.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#choose-workspaces-for-a-destination) to learn more about choosing the workspaces of a destination.

## Path parameters

- `destination_id: string`

  ID of the destination (`tdst_...`).

- `workspace_id: string`

  ID of the workspace to add (`wrkspc_...`).

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Returns

- `BetaTelemetryDestinationWorkspace object`

  A workspace on a telemetry destination's workspace list.

  Under `include`, the destination covers the workspace. Under `exclude`, the destination covers every workspace except this one. The entry doesn't have an `id`. Its `telemetry_destination_id` and `workspace_id` together identify it.

  - `type: "telemetry_destination_workspace"`

  - `created_at: string`

    Time the workspace was added to the list.

    format: date-time

  - `telemetry_destination_id: string`

    ID of the telemetry destination (`tdst_...`).

  - `workspace_id: string`

    ID of the workspace (`wrkspc_...`).

## Example

```bash
curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces/$WORKSPACE_ID \
    -X POST \
    -H 'anthropic-version: 2023-06-01' \
    -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "created_at": "2019-12-27T18:11:19.117Z",
  "telemetry_destination_id": "telemetry_destination_id",
  "type": "telemetry_destination_workspace",
  "workspace_id": "workspace_id"
}
```

api/beta/organization/telemetry_destinations/workspaces/list New page · 195 lines, new page

# List Telemetry Destination Workspaces ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200)

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

---
title: List Telemetry Destination Workspaces
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/workspaces/list
---

# List Telemetry Destination Workspaces

**GET** `/v1/organizations/telemetry_destinations/{destination_id}/workspaces`

List the workspaces on a destination's workspace list, newest entry first.

A destination whose `workspaces.type` is `all` doesn't have a list, so its page is empty. The list includes archived workspaces.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#choose-workspaces-for-a-destination) to learn more about choosing the workspaces of a destination.

## Path parameters

- `destination_id: string`

  ID of the destination (`tdst_...`).

## Query parameters

- `limit: optional number`

  Number of entries to return per page, between 1 and 1,000. Defaults to 20.

  format: int32

- `page: optional string`

  Opaque cursor from a previous response's `next_page`. Leave it out to get the first page.

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Returns

- `data: array of BetaTelemetryDestinationWorkspace`

  Entries on this page, newest first.

  - `type: "telemetry_destination_workspace"`

  - `created_at: string`

    Time the workspace was added to the list.

    format: date-time

  - `telemetry_destination_id: string`

    ID of the telemetry destination (`tdst_...`).

  - `workspace_id: string`

    ID of the workspace (`wrkspc_...`).

- `next_page: string or null`

  Cursor for the next page. Null on the last page.

## Example

```bash
curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces \
    -H 'anthropic-version: 2023-06-01' \
    -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "data": [
    {
      "created_at": "2019-12-27T18:11:19.117Z",
      "telemetry_destination_id": "telemetry_destination_id",
      "type": "telemetry_destination_workspace",
      "workspace_id": "workspace_id"
    }
  ],
  "next_page": "next_page"
}
```

api/beta/organization/telemetry_destinations/workspaces/remove New page · 174 lines, new page

# Remove a Telemetry Destination Workspace ## Path parameters ## Headers ## Returns ## Example ### Response (200)

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

---
title: Remove a Telemetry Destination Workspace
url: https://platform.claude.com/docs/en/api/beta/organization/telemetry_destinations/workspaces/remove
---

# Remove a Telemetry Destination Workspace

**DELETE** `/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}`

Remove one workspace from a destination's workspace list.

Under `include` the workspace's spans stop going to the destination. Under `exclude` they start. An archived workspace can be removed too.

The API returns 404 when the workspace isn't on the list. A destination whose `workspaces.type` is `all` doesn't have a list, so the API returns 400.

See the [OpenTelemetry export guide](https://platform.claude.com/docs/en/manage-claude/opentelemetry?sdk_languages=http#choose-workspaces-for-a-destination) to learn more about choosing the workspaces of a destination.

## Path parameters

- `destination_id: string`

  ID of the destination (`tdst_...`).

- `workspace_id: string`

  ID of the workspace to remove (`wrkspc_...`).

## Headers

- `"anthropic-version": optional string`

- `"anthropic-beta": optional array of AnthropicBeta`

  Optional header to specify the beta version(s) you want to use.

  - `string`

  - `"message-batches-2024-09-24"`

  - `"prompt-caching-2024-07-31"`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"pdfs-2024-09-25"`

  - `"token-counting-2024-11-01"`

  - `"token-efficient-tools-2025-02-19"`

  - `"output-128k-2025-02-19"`

  - `"files-api-2025-04-14"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"extended-cache-ttl-2025-04-11"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"skills-2025-10-02"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"cache-diagnosis-2026-04-07"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"ce-user-management-2026-07-13"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

## Returns

- `BetaDeletedTelemetryDestinationWorkspace object`

  Confirmation that a workspace was removed from a destination's list.

  - `type: "telemetry_destination_workspace_deleted"`

  - `telemetry_destination_id: string`

    ID of the telemetry destination (`tdst_...`).

  - `workspace_id: string`

    ID of the workspace that was removed (`wrkspc_...`).

## Example

```bash
curl https://api.anthropic.com/v1/organizations/telemetry_destinations/$DESTINATION_ID/workspaces/$WORKSPACE_ID \
    -X DELETE \
    -H 'anthropic-version: 2023-06-01' \
    -H 'anthropic-beta: telemetry-destinations-2026-08-11' \
    -H "X-Api-Key: $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "telemetry_destination_id": "telemetry_destination_id",
  "type": "telemetry_destination_workspace_deleted",
  "workspace_id": "workspace_id"
}
```

api/beta/organization/workspaces Changed · +12 / -0 lines

from line 316
316316 
317317 - `"spend-limit-reads-2026-09-26"`
318318 
319 - `"telemetry-destinations-2026-08-11"`
320 
319321### Body parameters
320322 
321323- `name: string`
from line 2132
21302132 
21312133 - `"spend-limit-reads-2026-09-26"`
21322134 
2135 - `"telemetry-destinations-2026-08-11"`
2136 
21332137#### Returns
21342138 
21352139- `data: array of BetaServiceAccountWorkspaceMember`
from line 2339
23352339 
23362340 - `"spend-limit-reads-2026-09-26"`
23372341 
2342 - `"telemetry-destinations-2026-08-11"`
2343 
23382344#### Body parameters
23392345 
23402346- `service_account_id: string`
from line 2562
25562562 
25572563 - `"spend-limit-reads-2026-09-26"`
25582564 
2565 - `"telemetry-destinations-2026-08-11"`
2566 
25592567#### Returns
25602568 
25612569- `BetaServiceAccountWorkspaceMember object`
from line 2762
27542762 
27552763 - `"spend-limit-reads-2026-09-26"`
27562764 
2765 - `"telemetry-destinations-2026-08-11"`
2766 
27572767#### Body parameters
27582768 
27592769- `workspace_role: BetaNoBillingWorkspaceRole`
from line 2978
29682978 - `"ce-plugins-2026-09-01"`
29692979 
29702980 - `"spend-limit-reads-2026-09-26"`
2981 
2982 - `"telemetry-destinations-2026-08-11"`
29712983 
29722984#### Returns
29732985 

api/beta/organization/workspaces/service_accounts Changed · +10 / -0 lines

from line 152
152152 
153153 - `"spend-limit-reads-2026-09-26"`
154154 
155 - `"telemetry-destinations-2026-08-11"`
156 
155157### Returns
156158 
157159- `data: array of BetaServiceAccountWorkspaceMember`
from line 359
357359 
358360 - `"spend-limit-reads-2026-09-26"`
359361 
362 - `"telemetry-destinations-2026-08-11"`
363 
360364### Body parameters
361365 
362366- `service_account_id: string`
from line 582
578582 
579583 - `"spend-limit-reads-2026-09-26"`
580584 
585 - `"telemetry-destinations-2026-08-11"`
586 
581587### Returns
582588 
583589- `BetaServiceAccountWorkspaceMember object`
from line 782
776782 
777783 - `"spend-limit-reads-2026-09-26"`
778784 
785 - `"telemetry-destinations-2026-08-11"`
786 
779787### Body parameters
780788 
781789- `workspace_role: BetaNoBillingWorkspaceRole`
from line 998
990998 - `"ce-plugins-2026-09-01"`
991999 
9921000 - `"spend-limit-reads-2026-09-26"`
1001 
1002 - `"telemetry-destinations-2026-08-11"`
9931003 
9941004### Returns
9951005 

api/beta/sessions Changed · +685 / -0 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 121
121121 
122122 - `"spend-limit-reads-2026-09-26"`
123123 
124 - `"telemetry-destinations-2026-08-11"`
125 
124126- `"anthropic-workspace-id": optional string`
125127 
126128 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1273
12711273 
12721274 - `description: string or null`
12731275 
1276 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1277 
1278 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1279 
1280 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
1281 
1282 An AWS IAM role principal as returned in API responses.
1283 
1284 - `type: "aws_role"`
1285 
1286 - `role_arn: string`
1287 
1288 The IAM role's ARN.
1289 
1290 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
1291 
1292 The Anthropic-managed service account as returned in API responses.
1293 
1294 - `type: "service_account"`
1295 
12741296 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
12751297 
12761298 - `type: "url"`
from line 1451
14291451 
14301452 - `description: string or null`
14311453 
1454 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1455 
1456 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1457 
14321458 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
14331459 
14341460 - `type: "url"`
from line 2001
19752001 
19762002 - `description: string or null`
19772003 
2004 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2005 
2006 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2007 
19782008 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
19792009 
19802010 - `model: BetaManagedAgentsModelConfig`
from line 2053
20232053 
20242054 - `description: string or null`
20252055 
2056 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2057 
2058 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2059 
20262060 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
20272061 
20282062 - `model: BetaManagedAgentsModelConfig`
from line 2429
23952429 "agent": {
23962430 "id": "agent_011CZkYpogX7uDKUyvBTophP",
23972431 "description": "A general-purpose starter agent.",
2432 "execution_identity": {
2433 "type": "service_account"
2434 },
23982435 "mcp_servers": [
23992436 {
24002437 "name": "example-mcp",
from line 2452
24152452 {
24162453 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
24172454 "description": "A focused research subagent.",
2455 "execution_identity": {
2456 "type": "service_account"
2457 },
24182458 "mcp_servers": [
24192459 {
24202460 "name": "example-mcp",
from line 2823
27832823 
27842824 - `"spend-limit-reads-2026-09-26"`
27852825 
2826 - `"telemetry-destinations-2026-08-11"`
2827 
27862828- `"anthropic-workspace-id": optional string`
27872829 
27882830 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 2851
28092851 
28102852 - `description: string or null`
28112853 
2854 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2855 
2856 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2857 
2858 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
2859 
2860 An AWS IAM role principal as returned in API responses.
2861 
2862 - `type: "aws_role"`
2863 
2864 - `role_arn: string`
2865 
2866 The IAM role's ARN.
2867 
2868 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
2869 
2870 The Anthropic-managed service account as returned in API responses.
2871 
2872 - `type: "service_account"`
2873 
28122874 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
28132875 
28142876 - `type: "url"`
from line 3029
29673029 
29683030 - `description: string or null`
29693031 
3032 - `execution_identity: BetaManagedAgentsExecutionIdentity`
3033 
3034 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
3035 
29703036 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
29713037 
29723038 - `type: "url"`
from line 3579
35133579 
35143580 - `description: string or null`
35153581 
3582 - `execution_identity: BetaManagedAgentsExecutionIdentity`
3583 
3584 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
3585 
35163586 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
35173587 
35183588 - `model: BetaManagedAgentsModelConfig`
from line 3631
35613631 
35623632 - `description: string or null`
35633633 
3634 - `execution_identity: BetaManagedAgentsExecutionIdentity`
3635 
3636 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
3637 
35643638 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
35653639 
35663640 - `model: BetaManagedAgentsModelConfig`
from line 4000
39264000 "agent": {
39274001 "id": "agent_011CZkYpogX7uDKUyvBTophP",
39284002 "description": "A general-purpose starter agent.",
4003 "execution_identity": {
4004 "type": "service_account"
4005 },
39294006 "mcp_servers": [
39304007 {
39314008 "name": "example-mcp",
from line 4023
39464023 {
39474024 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
39484025 "description": "A focused research subagent.",
4026 "execution_identity": {
4027 "type": "service_account"
4028 },
39494029 "mcp_servers": [
39504030 {
39514031 "name": "example-mcp",
from line 4316
42364316 
42374317 - `"spend-limit-reads-2026-09-26"`
42384318 
4319 - `"telemetry-destinations-2026-08-11"`
4320 
42394321- `"anthropic-workspace-id": optional string`
42404322 
42414323 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4344
42624344 
42634345 - `description: string or null`
42644346 
4347 - `execution_identity: BetaManagedAgentsExecutionIdentity`
4348 
4349 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
4350 
4351 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
4352 
4353 An AWS IAM role principal as returned in API responses.
4354 
4355 - `type: "aws_role"`
4356 
4357 - `role_arn: string`
4358 
4359 The IAM role's ARN.
4360 
4361 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
4362 
4363 The Anthropic-managed service account as returned in API responses.
4364 
4365 - `type: "service_account"`
4366 
42654367 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
42664368 
42674369 - `type: "url"`
from line 4522
44204522 
44214523 - `description: string or null`
44224524 
4525 - `execution_identity: BetaManagedAgentsExecutionIdentity`
4526 
4527 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
4528 
44234529 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
44244530 
44254531 - `type: "url"`
from line 5072
49665072 
49675073 - `description: string or null`
49685074 
5075 - `execution_identity: BetaManagedAgentsExecutionIdentity`
5076 
5077 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
5078 
49695079 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
49705080 
49715081 - `model: BetaManagedAgentsModelConfig`
from line 5124
50145124 
50155125 - `description: string or null`
50165126 
5127 - `execution_identity: BetaManagedAgentsExecutionIdentity`
5128 
5129 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
5130 
50175131 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
50185132 
50195133 - `model: BetaManagedAgentsModelConfig`
from line 5483
53695483 "agent": {
53705484 "id": "agent_011CZkYpogX7uDKUyvBTophP",
53715485 "description": "A general-purpose starter agent.",
5486 "execution_identity": {
5487 "type": "service_account"
5488 },
53725489 "mcp_servers": [
53735490 {
53745491 "name": "example-mcp",
from line 5506
53895506 {
53905507 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
53915508 "description": "A focused research subagent.",
5509 "execution_identity": {
5510 "type": "service_account"
5511 },
53925512 "mcp_servers": [
53935513 {
53945514 "name": "example-mcp",
from line 5795
56755795 
56765796 - `"spend-limit-reads-2026-09-26"`
56775797 
5798 - `"telemetry-destinations-2026-08-11"`
5799 
56785800- `"anthropic-workspace-id": optional string`
56795801 
56805802 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 6405
62836405 
62846406 - `description: string or null`
62856407 
6408 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6409 
6410 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6411 
6412 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
6413 
6414 An AWS IAM role principal as returned in API responses.
6415 
6416 - `type: "aws_role"`
6417 
6418 - `role_arn: string`
6419 
6420 The IAM role's ARN.
6421 
6422 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
6423 
6424 The Anthropic-managed service account as returned in API responses.
6425 
6426 - `type: "service_account"`
6427 
62866428 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
62876429 
62886430 - `type: "url"`
from line 6583
64416583 
64426584 - `description: string or null`
64436585 
6586 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6587 
6588 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6589 
64446590 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
64456591 
64466592 - `type: "url"`
from line 7133
69877133 
69887134 - `description: string or null`
69897135 
7136 - `execution_identity: BetaManagedAgentsExecutionIdentity`
7137 
7138 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
7139 
69907140 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
69917141 
69927142 - `model: BetaManagedAgentsModelConfig`
from line 7185
70357185 
70367186 - `description: string or null`
70377187 
7188 - `execution_identity: BetaManagedAgentsExecutionIdentity`
7189 
7190 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
7191 
70387192 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
70397193 
70407194 - `model: BetaManagedAgentsModelConfig`
from line 7548
73947548 "agent": {
73957549 "id": "agent_011CZkYpogX7uDKUyvBTophP",
73967550 "description": "A general-purpose starter agent.",
7551 "execution_identity": {
7552 "type": "service_account"
7553 },
73977554 "mcp_servers": [
73987555 {
73997556 "name": "example-mcp",
from line 7571
74147571 {
74157572 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
74167573 "description": "A focused research subagent.",
7574 "execution_identity": {
7575 "type": "service_account"
7576 },
74177577 "mcp_servers": [
74187578 {
74197579 "name": "example-mcp",
from line 7860
77007860 
77017861 - `"spend-limit-reads-2026-09-26"`
77027862 
7863 - `"telemetry-destinations-2026-08-11"`
7864 
77037865- `"anthropic-workspace-id": optional string`
77047866 
77057867 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 8017
78558017 
78568018 - `"spend-limit-reads-2026-09-26"`
78578019 
8020 - `"telemetry-destinations-2026-08-11"`
8021 
78588022- `"anthropic-workspace-id": optional string`
78598023 
78608024 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 8045
78818045 
78828046 - `description: string or null`
78838047 
8048 - `execution_identity: BetaManagedAgentsExecutionIdentity`
8049 
8050 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
8051 
8052 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
8053 
8054 An AWS IAM role principal as returned in API responses.
8055 
8056 - `type: "aws_role"`
8057 
8058 - `role_arn: string`
8059 
8060 The IAM role's ARN.
8061 
8062 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
8063 
8064 The Anthropic-managed service account as returned in API responses.
8065 
8066 - `type: "service_account"`
8067 
78848068 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
78858069 
78868070 - `type: "url"`
from line 8147
79638147 
79648148 - `"claude-sonnet-4-5-20250929"`
79658149 
7966 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
7967 
7968 High-performance model for agents and coding
7969 
7970 - `string`
7971 
7972 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
7973 
7974 How hard Claude works on each inference call. One of `low`, `medium`, `high`, `xhigh`, `max`. Always present; resolved to the per-model default at save time when not supplied.
7975 
7976 - `BetaManagedAgentsEffortLow object`
7977 
7978 Low effort. Favors latency over reasoning depth.
7979 
7980 - `type: "low"`
7981 
7982 - `BetaManagedAgentsEffortMedium object`
7983 
7984 Medium effort. Balances latency and reasoning depth.
7985 
7986 - `type: "medium"`
7987 
7988 - `BetaManagedAgentsEffortHigh object`
7989 
7990 High effort. Favors reasoning depth.
7991 
7992 - `type: "high"`
7993 
7994 - `BetaManagedAgentsEffortXhigh object`
7995 
7996 Extra-high effort. Not all models accept this level.
7997 
7998 - `type: "xhigh"`
7999 
8000 - `BetaManagedAgentsEffortMax object`
8001 
8002 Maximum effort. Favors reasoning depth over latency.
8003 
8004 - `type: "max"`
8005 
8006 - `inference_geo: optional string`
8007 
8008 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
8009 
8010 - `speed: optional "standard" or "fast"`
8011 
8012 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.
8013 
8014 - `"standard"`
8015 
8016 - `"fast"`
8017 
8018 - `multiagent: BetaManagedAgentsSessionMultiagent or null`
8019 
8020 Resolved multiagent orchestration configuration. Null when the agent is single-threaded.
8021 
8022 - `BetaManagedAgentsSessionMultiagentCoordinator object`
8023 
8024 Resolved coordinator topology with full agent definitions for each roster member.
8025 
8026 - `type: "coordinator"`
8027 
8028 - `agents: array of BetaManagedAgentsSessionThreadAgent or BetaManagedAgentsAdvisor`
8029 
8030 Full `agent` definitions the coordinator may spawn as session threads.
8031 
8032 - `BetaManagedAgentsSessionThreadAgent object`
8033 
8034 Resolved `agent` definition for a single `session_thread`. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it from `Session.agent`.
8035 
8036 - `type: "agent"`
8037 
8038 - `id: string`
8039 
8040 - `description: string or null`
8041 
8042 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
8043 
8044 - `type: "url"`
8045 
8046 - `name: string`
8047 
8048 - `url: string`
8049 
8050 - `model: BetaManagedAgentsModelConfig`
8051 
8052 Model identifier and configuration.
8053 
8054 - `name: string`
8055 
8056 - `skills: array of BetaManagedAgentsAnthropicSkill or BetaManagedAgentsCustomSkill`
8057 
8058 - `BetaManagedAgentsAnthropicSkill object`
8059 
8060 A resolved Anthropic-managed skill.
8061 
8062 - `type: "anthropic"`
8063 
8064 - `skill_id: string`
8065 
8066 - `version: string`
8067 
8068 - `BetaManagedAgentsCustomSkill object`
8069 
8070 A resolved user-created custom skill.
8071 
8072 - `type: "custom"`
8073 
8074 - `skill_id: string`
8075 
8076 - `version: string`
8077 
8078 - `system: string or null`
8079 
8080 - `tools: array of BetaManagedAgentsAgentToolset20260401 or BetaManagedAgentsMCPToolset or BetaManagedAgentsCustomTool`
8081 
8082 - `BetaManagedAgentsAgentToolset20260401 object`
8083 
8084 - `type: "agent_toolset_20260401"`
8085 
8086 - `configs: array of BetaManagedAgentsAgentToolConfig`
8087 
8088 - `BetaManagedAgentsBashToolConfig object`
8089 
8090 Configuration for the bash tool.
8091 
8092 - `type: "bash"`
8093 
8094 - `enabled: boolean`
8095 
8096 - `name: "bash"`
8097 
8098 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8099 
8100 Permission policy for tool execution.
8101 
8102 - `BetaManagedAgentsAlwaysAllowPolicy object`
8103 
8104 Tool calls are automatically approved without user confirmation.
8105 
8106 - `type: "always_allow"`
8107 
8108 - `BetaManagedAgentsAlwaysAskPolicy object`
8109 
8110 Tool calls require user confirmation before execution.
8111 
8112 - `type: "always_ask"`
8113 
8114 - `BetaManagedAgentsAutoPolicy object`
8115 
8116 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8117 
8118 - `type: "auto"`
8119 
8120 - `BetaManagedAgentsEditToolConfig object`
8121 
8122 Configuration for the edit tool.
8123 
8124 - `type: "edit"`
8125 
8126 - `enabled: boolean`
8127 
8128 - `name: "edit"`
8129 
8130 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8131 
8132 Permission policy for tool execution.
8133 
8134 - `BetaManagedAgentsAlwaysAllowPolicy object`
8135 
8136 Tool calls are automatically approved without user confirmation.
8137 
8138 - `BetaManagedAgentsAlwaysAskPolicy object`
8139 
8140 Tool calls require user confirmation before execution.
8141 
8142 - `BetaManagedAgentsAutoPolicy object`
8143 
8144 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8145 
8146 - `BetaManagedAgentsReadToolConfig object`
8147 
8148 Configuration for the read tool.
8149 
8150 - `type: "read"`
8151 
8152 - `enabled: boolean`
8153 
8154 - `name: "read"`
8155 
8156 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8157 
8158 Permission policy for tool execution.
8159 
8160 - `BetaManagedAgentsAlwaysAllowPolicy object`
8161 
8162 Tool calls are automatically approved without user confirmation.
8163 
8164 - `BetaManagedAgentsAlwaysAskPolicy object`
8165 
8166 Tool calls require user confirmation before execution.
8167 
8168 - `BetaManagedAgentsAutoPolicy object`
8169 
8170 The server decides each tool call individually: it judges, from the
8150 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resourc

api/beta/sessions/archive Changed · +40 / -0 lines

from line 123
123123 
124124 - `"spend-limit-reads-2026-09-26"`
125125 
126 - `"telemetry-destinations-2026-08-11"`
127 
126128- `"anthropic-workspace-id": optional string`
127129 
128130 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 151
149151 
150152 - `description: string or null`
151153 
154 - `execution_identity: BetaManagedAgentsExecutionIdentity`
155 
156 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
157 
158 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
159 
160 An AWS IAM role principal as returned in API responses.
161 
162 - `type: "aws_role"`
163 
164 - `role_arn: string`
165 
166 The IAM role's ARN.
167 
168 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
169 
170 The Anthropic-managed service account as returned in API responses.
171 
172 - `type: "service_account"`
173 
152174 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
153175 
154176 - `type: "url"`
from line 329
307329 
308330 - `description: string or null`
309331 
332 - `execution_identity: BetaManagedAgentsExecutionIdentity`
333 
334 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
335 
310336 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
311337 
312338 - `type: "url"`
from line 879
853879 
854880 - `description: string or null`
855881 
882 - `execution_identity: BetaManagedAgentsExecutionIdentity`
883 
884 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
885 
856886 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
857887 
858888 - `model: BetaManagedAgentsModelConfig`
from line 931
901931 
902932 - `description: string or null`
903933 
934 - `execution_identity: BetaManagedAgentsExecutionIdentity`
935 
936 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
937 
904938 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
905939 
906940 - `model: BetaManagedAgentsModelConfig`
from line 1291
12571291 "agent": {
12581292 "id": "agent_011CZkYpogX7uDKUyvBTophP",
12591293 "description": "A general-purpose starter agent.",
1294 "execution_identity": {
1295 "type": "service_account"
1296 },
12601297 "mcp_servers": [
12611298 {
12621299 "name": "example-mcp",
from line 1314
12771314 {
12781315 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
12791316 "description": "A focused research subagent.",
1317 "execution_identity": {
1318 "type": "service_account"
1319 },
12801320 "mcp_servers": [
12811321 {
12821322 "name": "example-mcp",

api/beta/sessions/create Changed · +40 / -0 lines

from line 119
119119 
120120 - `"spend-limit-reads-2026-09-26"`
121121 
122 - `"telemetry-destinations-2026-08-11"`
123 
122124- `"anthropic-workspace-id": optional string`
123125 
124126 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1271
12691271 
12701272 - `description: string or null`
12711273 
1274 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1275 
1276 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1277 
1278 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
1279 
1280 An AWS IAM role principal as returned in API responses.
1281 
1282 - `type: "aws_role"`
1283 
1284 - `role_arn: string`
1285 
1286 The IAM role's ARN.
1287 
1288 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
1289 
1290 The Anthropic-managed service account as returned in API responses.
1291 
1292 - `type: "service_account"`
1293 
12721294 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
12731295 
12741296 - `type: "url"`
from line 1449
14271449 
14281450 - `description: string or null`
14291451 
1452 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1453 
1454 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1455 
14301456 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
14311457 
14321458 - `type: "url"`
from line 1999
19731999 
19742000 - `description: string or null`
19752001 
2002 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2003 
2004 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2005 
19762006 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
19772007 
19782008 - `model: BetaManagedAgentsModelConfig`
from line 2051
20212051 
20222052 - `description: string or null`
20232053 
2054 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2055 
2056 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2057 
20242058 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
20252059 
20262060 - `model: BetaManagedAgentsModelConfig`
from line 2427
23932427 "agent": {
23942428 "id": "agent_011CZkYpogX7uDKUyvBTophP",
23952429 "description": "A general-purpose starter agent.",
2430 "execution_identity": {
2431 "type": "service_account"
2432 },
23962433 "mcp_servers": [
23972434 {
23982435 "name": "example-mcp",
from line 2450
24132450 {
24142451 "id": "agent_011CZkYqphY8vELVzwCUpqiQ",
24152452 "description": "A focused research subagent.",
2453 "execution_identity": {
2454 "type": "service_account"
2455 },
24162456 "mcp_servers": [
24172457 {
24182458 "name": "example-mcp",

api/beta/sessions/events Changed · +134 / -0 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 253
253253 
254254 - `"spend-limit-reads-2026-09-26"`
255255 
256 - `"telemetry-destinations-2026-08-11"`
257 
256258- `"anthropic-workspace-id": optional string`
257259 
258260 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1957
19551957 
19561958 - `description: string or null`
19571959 
1960 - `execution_identity: BetaManagedAgentsExecutionIdentity`
1961 
1962 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
1963 
1964 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
1965 
1966 An AWS IAM role principal as returned in API responses.
1967 
1968 - `type: "aws_role"`
1969 
1970 - `role_arn: string`
1971 
1972 The IAM role's ARN.
1973 
1974 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
1975 
1976 The Anthropic-managed service account as returned in API responses.
1977 
1978 - `type: "service_account"`
1979 
19581980 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
19591981 
19601982 - `type: "url"`
from line 2135
21132135 
21142136 - `description: string or null`
21152137 
2138 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2139 
2140 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2141 
21162142 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
21172143 
21182144 - `type: "url"`
from line 2685
26592685 
26602686 - `description: string or null`
26612687 
2688 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2689 
2690 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2691 
26622692 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
26632693 
26642694 - `model: BetaManagedAgentsModelConfig`
from line 2737
27072737 
27082738 - `description: string or null`
27092739 
2740 - `execution_identity: BetaManagedAgentsExecutionIdentity`
2741 
2742 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
2743 
27102744 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
27112745 
27122746 - `model: BetaManagedAgentsModelConfig`
from line 3352
33183352 
33193353 - `"spend-limit-reads-2026-09-26"`
33203354 
3355 - `"telemetry-destinations-2026-08-11"`
3356 
33213357- `"anthropic-workspace-id": optional string`
33223358 
33233359 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4343
43074343 
43084344 - `"spend-limit-reads-2026-09-26"`
43094345 
4346 - `"telemetry-destinations-2026-08-11"`
4347 
43104348- `"anthropic-workspace-id": optional string`
43114349 
43124350 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 6047
60096047 
60106048 - `description: string or null`
60116049 
6050 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6051 
6052 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6053 
6054 - `BetaManagedAgentsAWSRoleExecutionIdentity object`
6055 
6056 An AWS IAM role principal as returned in API responses.
6057 
6058 - `type: "aws_role"`
6059 
6060 - `role_arn: string`
6061 
6062 The IAM role's ARN.
6063 
6064 - `BetaManagedAgentsServiceAccountExecutionIdentity object`
6065 
6066 The Anthropic-managed service account as returned in API responses.
6067 
6068 - `type: "service_account"`
6069 
60126070 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
60136071 
60146072 - `type: "url"`
from line 6225
61676225 
61686226 - `description: string or null`
61696227 
6228 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6229 
6230 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6231 
61706232 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
61716233 
61726234 - `type: "url"`
from line 6775
67136775 
67146776 - `description: string or null`
67156777 
6778 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6779 
6780 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6781 
67166782 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
67176783 
67186784 - `model: BetaManagedAgentsModelConfig`
from line 6827
67616827 
67626828 - `description: string or null`
67636829 
6830 - `execution_identity: BetaManagedAgentsExecutionIdentity`
6831 
6832 Execution principal snapshotted from the agent at session creation. Always present; `{"type": "service_account"}` when runs carry no customer-named principal.
6833 
67646834 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
67656835 
67666836 - `model: BetaManagedAgentsModelConfig`
from line 8592
85228592 
85238593 The server judged the invocation safe to execute without client approval.
85248594 
8525 - `type: "allow"`
8526 
8527 - `BetaManagedAgentsAgentAutoEvaluatedPermissionAsk object`
8528 
8529 The server reached no judgement; the invocation is held for client approval.
8530 
8531 - `type: "ask"`
8532 
8533 - `reason_code: string`
8534 
8535 The judgement's grounds in registry-bound terms, for client branching and audit rather than end-user display. Open registry; currently "indeterminate" (no judgement was reached). Clients must tolerate values outside this set.
8536 
8537 maxLength: 64
8538 
8539 - `BetaManagedAgentsAgentAutoEvaluatedPermissionDeny object`
8540 
8541 The server judged the invocation high-risk; it does not execute and a synthetic error tool result is appended.
8542 
8543 - `type: "deny"`
8544 
8545 - `reason_code: string`
8546 
8547 The judgement's grounds in registry-bound terms. Open registry; currently "high_risk" (judged high-risk; the call does not run). Clients must tolerate values outside this set.
8548 
8549 maxLength: 64
8550 
8551 - `session_thread_id: optional string or null`
8552 
8553 When set, this event was cross-posted from a subagent's thread to surface its permission request on the primary thread's stream. Empty on the thread's own events. Informational only: the server routes the matching `user.tool_confirmation` or `user.tool_result` by `tool_use_id`, so clients do not send it back.
8554 
8555### Beta Managed Agents Base64 Document Source
8556 
8557- `BetaManagedAgentsBase64DocumentSource object`
8558 
8559 Base64-encoded document data.
8560 
8561 - `type: "base64"`
8562 
8563 - `data: string`
8564 
8565 Base64-encoded document data.
8566 
8567 minLength: 1
8568 
8569 - `media_type: string`
8570 
8571 MIME type of the document (e.g., "application/pdf").
8572 
8573 minLength: 1
8574 
8575### Beta Managed Agents Base64 Image Source
8576 
8577- `BetaManagedAgentsBase64ImageSource object`
8578 
8579 Base64-encoded image data.
8580 
8581 - `type: "base64"`
8582 
8583 - `data: string`
8584 
8585 Base64-encoded image data.
8586 
8587 minLength: 1
8588 
8589 - `media_type: string`
8590 
8591 MIME type of the image (e.g., "image/png", "image/jpeg", "image/gif", "image/webp").
8592 
8593 minLength: 1
8594 
8595### Beta Managed Agents Billing Error
8596 
8597- `BetaManagedAgentsBillingError object`
8598 
8599 The caller's organization or workspace cannot make model requests — out of credits or spend limit reached. Retrying with the same credentials will not succeed; the caller must resolve the billing state.
8600 
8601 - `type: "billing_error"`
8602 
8603 - `message: string`
8604 
8605 Human-readable error description.
8606 
8607 - `retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminal`
8608 
8609 What the client should do next.
8610 
8611 - `BetaManagedAgentsRetryStatusRetrying object`
8612 
8613 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.
8614 
8615 - `type: "retrying"`
8616 
8617 - `BetaManagedAgentsRetryStatusExhausted object`
8618 
8619 This turn is dead; queued inputs are flushed and the session ret
8595 - `type
Feedback