Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

Telemetry and egress changedthird-party/claude-desktop/telemetry

Nearest release: v2.1.332, published 4 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 24 Nov 2026 17:14 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 24 Nov 2026 17:37 UTC.

Upstream edited
Recorded here
Lines+16added
Lines−16removed
From line 12 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits67to this page, all time

The whole hunk

from line 12, old and new numbered
/
lines
from line 12
1212 
1313On a device that gets its configuration from a [bootstrap server](https://claude.com/docs/third-party/claude-desktop/bootstrap.md), essential and non-essential telemetry are each off unless the server's response sets the category's key to `false`.
1414 
15On a deployment that runs every session on a server and none on the device, `disableEssentialTelemetry` and `disableNonessentialTelemetry` don't apply. The app sends Anthropic no crash, error, or performance reports and no product analytics. Where that server sends Anthropic a usage report and accepts them, the app hands it counts of its starts and failures, and the totals go into that report.
15On a deployment that runs every session on a server and none on the device, `disableEssentialTelemetry` and `disableNonessentialTelemetry` don't apply. The app sends Anthropic no crash, error, or performance reports and no product analytics. Where that server sends Anthropic a usage report and accepts counts from the app, the app gives the server counts of the app's starts and failures, and the totals go into that report.
1616 
1717### Essential telemetry
1818 
from line 62
6262 
6363For third-party deployments, the export includes session metadata (event names, durations, token counts, result counts, errors) by default, but not message content. It also identifies the signed-in user; see [User attribution](#user-attribution). Records of skill scans are an exception to leaving out message content. If you turn on [skill scanning](https://claude.com/docs/third-party/claude-desktop/extensions.md#skill-scanning), the export also carries `custom3p_skill_scan_completed` records of scan results, and a record's summary can quote the skill. Claude Desktop sends the summary even when [content capture](#content-capture) (`otlpContentCapture`) is off. See [Monitoring](https://claude.com/docs/cowork/monitoring.md) for the event schema and the [`otlp*` keys](https://claude.com/docs/third-party/claude-desktop/configuration#otlpendpoint) in the configuration reference.
6464 
65The export carries logs and metrics. Cowork sessions, Code sessions, and the desktop application's own events arrive under the `service.name` values `cowork`, `claude-code-desktop`, and `claude-desktop` respectively. If [`otlpResourceAttributes`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpresourceattributes) sets `service.name`, Code sessions arrive under that name instead. With [Unified Claude](https://claude.com/docs/third-party/claude-desktop/unified-claude.md) on, a Cowork session started from the home screen also arrives under `cowork`. The export isn't checked against the [agent egress allowlist](#required-egress-paths), so `otlpEndpoint` doesn't need an entry in `coworkEgressAllowedHosts`; your perimeter firewall still needs to allow the host.
65The export carries logs and metrics. Cowork sessions, Code sessions, and the desktop application's own events arrive under the `service.name` values `cowork`, `claude-code-desktop`, and `claude-desktop` respectively. If [`otlpResourceAttributes`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpresourceattributes) sets `service.name`, Code sessions arrive under that name instead. With [Unified Claude](https://claude.com/docs/third-party/claude-desktop/unified-claude.md) on, a Cowork session started from the home screen also arrives under `cowork`. If you [manage Claude Code in the terminal from the Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code.md), signed-in terminals also export to your collector, under `claude-code` or the `service.name` that you set. The export isn't checked against the [agent egress allowlist](#required-egress-paths), so `otlpEndpoint` doesn't need an entry in `coworkEgressAllowedHosts`; your perimeter firewall still needs to allow the host.
6666 
6767For static collector headers, extra resource attributes, and the log level of the desktop application's own event stream, see [`otlpHeaders`, `otlpResourceAttributes`, and `otlpDesktopLogLevel`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpheaders) in the configuration reference.
6868 
from line 85
8585 
8686[`otlpHeaders`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpheaders) is a JSON object that maps each header name to its value, for example `{"X-Scope-OrgID":"tenant-a","X-Tenant":"agency"}`. Write the object as a JSON string, as described under [Value types](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#value-types).
8787 
88The app reads both keys at launch, so users must restart it after a change. If the collector refuses requests or cannot be reached, the app keeps working, shows no error, and drops the affected telemetry batches. Check the collector's own request logs to confirm data is arriving.
88The app reads `otlpEndpoint` and `otlpHeaders` at launch, so users must restart the app after a change. If the collector refuses requests or cannot be reached, the app keeps working, shows no error, and drops the affected telemetry batches. Check the collector's own request logs to confirm data is arriving.
8989 
9090To send a credential to your collector, use one of these keys:
9191 
from line 101
101101* `enduser.id`: the signed-in user's identity. With a sign-in that carries identity claims (for example, Workforce Identity Federation or Google sign-in on Google Cloud's Agent Platform), this is the identity from the provider's claims, normally the user's email address. Some credential methods carry no identity claims, such as a static key, a credential helper, an application default credentials file, [in-app AWS sign-in](https://claude.com/docs/third-party/claude-desktop/bedrock.md#in-app-aws-sign-in), or a [named AWS profile](https://claude.com/docs/third-party/claude-desktop/bedrock.md#named-profile). With one of those, on a device managed from the [Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md), it is the email address of the user's Claude account. On other devices, it is the operating-system login name.
102102* `process.owner`: the operating-system login name.
103103 
104`enduser.id` is the same identity the app shows in the sidebar and account menu, and is controlled by the [`endUserAttribution`](https://claude.com/docs/third-party/claude-desktop/configuration#enduserattribution) key: set it to `false` to remove the identity from both the app and the export. `process.owner` is not gated by that key and is always present. A static value set under [`otlpResourceAttributes`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpresourceattributes) overrides either attribute: a static `enduser.id` takes precedence over the signed-in identity and survives `endUserAttribution: false`, and a static `process.owner` replaces the login name.
104`enduser.id` is the same identity the app shows in the sidebar and account menu, and is controlled by the [`endUserAttribution`](https://claude.com/docs/third-party/claude-desktop/configuration#enduserattribution) key: set it to `false` to remove the identity from both the app and the export. `process.owner` is not controlled by that key and is always present. A static value set under [`otlpResourceAttributes`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpresourceattributes) overrides either attribute: a static `enduser.id` takes precedence over the signed-in identity and is still sent when `endUserAttribution` is `false`, and a static `process.owner` replaces the login name.
105105 
106106These attributes are attached only to the OpenTelemetry export; the Anthropic-bound telemetry does not carry them.
107107 
from line 113
113113* Cowork and [Chat](https://claude.com/docs/third-party/claude-desktop/chat.md) sessions export over the protocol as configured, except that when `otlpProtocol` is `grpc` they export over `http/protobuf` instead on Windows, and on other platforms whenever the Claude Code engine is given an HTTP proxy (from the operating system's proxy settings, a [pinned proxy](https://claude.com/docs/third-party/claude-desktop/network-proxy.md#pin-a-proxy-from-managed-configuration), or `HTTPS_PROXY`/`HTTP_PROXY` in a Claude Code settings file).
114114* The desktop application's own event stream (`claude-desktop`) always exports over `http/json`, whatever `otlpProtocol` is set to.
115115 
116These substitutions change the protocol only, not the endpoint. If `otlpProtocol` is `grpc` and `otlpEndpoint` is your collector's OTLP/gRPC receiver (conventionally port 4317), a stream that exports over HTTP never reaches the collector. To receive all three streams with one collector, set `otlpProtocol` to `http/protobuf` and point `otlpEndpoint` at the collector's OTLP/HTTP receiver (conventionally port 4318).
116These substitutions change the protocol only, not the endpoint. If `otlpProtocol` is `grpc` and `otlpEndpoint` is your collector's OTLP/gRPC receiver (conventionally port 4317), a stream that exports over HTTP never reaches the collector. To receive all three streams with one collector, set `otlpProtocol` to `http/protobuf` and set `otlpEndpoint` to the address of the collector's OTLP/HTTP receiver (conventionally port 4318).
117117 
118118### Content capture
119119 
from line 138
138138* **Where to set it**: in the highest-priority Claude Code managed settings on the device, not in a per-user Windows registry policy. See **More detail** under [`otlpContentCapture`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpcontentcapture).
139139* **No Claude Code managed settings on the device yet**: also set `parentSettingsBehavior` to `"merge"` in the settings you create, or Claude Code can drop the restrictions that Claude Desktop passes to it
140140* **Background agents in Code sessions**: when an agent that Claude runs in the background finishes, Claude Code passes the agent's final response back to the conversation as a prompt. With the variable set to `0`, the `user_prompt` event for that prompt holds `<REDACTED>` in place of the text. The prompt's trace span does the same when [traces](#traces-beta) are on. Before Claude Desktop 5.11492.5, your collector can receive the text in the event and on the span. Cowork and Chat sessions don't run agents in the background.
141* **Agents in Auto mode**: in [**Auto mode**](https://claude.com/docs/third-party/claude-desktop/configuration.md#automodeenabled), an agent hands its final response back as a tool input, whether it runs in the foreground or the background. With `toolDetails` listed, the [`tool_result`](https://claude.com/docs/cowork/monitoring#tool-result-event) event for that call holds the response, whole or in part, even with the variable set to `0`. New Code sessions start in **Auto mode** by default, and Cowork shows the mode as **Automatically approve**.
141* **Agents in Auto mode**: in [**Auto mode**](https://claude.com/docs/third-party/claude-desktop/configuration.md#automodeenabled), an agent passes its final response back as a tool input, whether it runs in the foreground or the background. With `toolDetails` listed, the [`tool_result`](https://claude.com/docs/cowork/monitoring#tool-result-event) event for that call holds the response, whole or in part, even with the variable set to `0`. New Code sessions start in **Auto mode** by default, and Cowork shows the mode as **Automatically approve**.
142142* **Other text that Claude writes**: the variable doesn't redact other text from Claude. For example, with `toolDetails` listed, a `tool_result` event holds the input that Claude wrote for the tool, whole or in part. Some of Claude's text also arrives as a prompt in a `user_prompt` event, such as a message that Claude sends from one Code session to another.
143143 
144144Conversation titles arrive on the desktop application's own stream (`claude-desktop`) as a `desktop_session_title_set` event that carries each Cowork and Code session's title and the Claude Code `session.id` to join on. The event is exported only when [`otlpDesktopLogLevel`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpdesktoploglevel) is `info` or `debug`, and the title text is included only when `otlpContentCapture` includes `userPrompts`.
from line 164
164164 
165165The export doesn't include traces unless you set `otlpTracesEnabled` to `true`. Cowork and Code sessions then record a trace for each user interaction, with spans for model requests and tool executions, and every event emitted during a span carries that span's `trace_id` and `span_id`.
166166 
167Traces use the same `otlpEndpoint` and `otlpProtocol` as the rest of the export, including the gRPC fallbacks described in [Exporter protocol](#exporter-protocol). Span and span-event content is gated by the same `otlpContentCapture` categories as events: with no categories enabled, traces carry metadata only (timing, tool names, durations, token counts).
167Traces use the same `otlpEndpoint` and `otlpProtocol` as the rest of the export, including the gRPC fallbacks described in [Exporter protocol](#exporter-protocol). Span and span-event content is controlled by the same `otlpContentCapture` categories as events: with no categories enabled, traces carry metadata only (timing, tool names, durations, token counts).
168168 
169Two scope notes:
169Trace export has these limits:
170170 
171171* The metrics in this export don't carry trace context, so trace-based correlation covers traces and events. Correlate metrics with a session via the `session.id` attribute.
172172* Trace export uses Claude Code's session-tracing beta, and the span structure may change while the feature is in beta.
from line 175
175175 
176176### EDR install events
177177 
178If you [run an EDR sensor in Cowork](https://support.claude.com/en/articles/17828685-run-your-endpoint-detection-and-response-edr-sensor-in-claude-cowork), each start of the Cowork workspace VM reports the result of the install to your collector on the `claude-desktop` stream. A start sends at most one record, either of these:
178If you [run an EDR sensor in Cowork](https://support.claude.com/en/articles/17828685-run-your-endpoint-detection-and-response-edr-sensor-in-claude-cowork), Claude Desktop reports the result of the install to your collector at each start of the Cowork workspace VM, on the `claude-desktop` stream. Claude Desktop sends at most one record for a start, either of these:
179179 
180180| Event | Severity | Sent when |
181181| - | - | - |
from line 182
182182| `lam_vm_edr_extension_install_completed` | `info` | The VM reports that the package's `install.sh` exited with code 0, and Claude Desktop accepts the report. |
183183| `lam_vm_edr_extension_install_failed` | `error` | The run ended any other way. A cause that lasts is reported again at every start. |
184184 
185Your collector receives both at every [`otlpDesktopLogLevel`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpdesktoploglevel) except `off`, including the default, `error`. A collector pipeline that keeps only `error` records drops the install event, so filter on the event name instead.
185Your collector receives both at every [`otlpDesktopLogLevel`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpdesktoploglevel) except `off`, including the default, `error`. A collector pipeline that keeps only `error` records drops the completed event, so filter on the event name instead.
186186 
187Before Claude Desktop 5.1231.0, the install event needs `info` or `debug`.
187Before Claude Desktop 5.1231.0, the completed event needs `info` or `debug`.
188188 
189189Read these events as a report from the VM, not as proof that a sensor is protecting a device:
190190 
191* An install event means only that the script exited 0 at that start. It says nothing about what the script did or whether the sensor still runs.
191* A completed event means only that the script exited 0 at that start. It says nothing about what the script did or whether the sensor still runs.
192192* The VM reports most of these fields about itself, and root in the VM can report anything.
193193* A missing record proves nothing. Claude Desktop sends each batch once and drops it if your collector doesn't accept it, and a record can be lost when the app quits.
194194* Claude Desktop sends no record if the VM fails to start, if `coworkEDRIntegration` isn't set, or if its name is misspelled in the managed configuration.
from line 209
209209| `edr_malformed_check` | Failed | For `malformed_status`, which check the VM's answer failed. |
210210| `duration_ms` | Both | How long the run took, in milliseconds. A failed event has it only for `script_failed` and `unknown`. |
211211| `guest_reported` | Both | `false` for `switched_off` and `refused_host`, which Claude Desktop or its Windows VM service decides. `true` for every other result, including `unknown` when the VM never answered. |
212| `test_hooks_latched` | Both | Should be `false`. If it is `true` on an install event from a released build, treat that install as unconfirmed and check how the app was started. |
212| `test_hooks_latched` | Both | Should be `false`. If it is `true` on a completed event from a released build, treat that install as unconfirmed and check how the app was started. |
213213 
214214`edr_outcome_kind` has these values:
215215 
from line 298
298298> | Host | Purpose |
299299> | - | - |
300300> | `api.anthropic.com` | Model inference; token exchange, renewal, and revocation for browser sign-in |
301> | `platform.claude.com` | Browser sign-in page. Dialed only when no static key or credential helper is configured. Browser sign-in also needs the hosts that serve the browser check on the sign-in and approval pages, listed under [Optional features](#optional-features). |
301> | `platform.claude.com` | Browser sign-in page. Contacted only when no static key or credential helper is configured. Browser sign-in also needs the hosts that serve the browser check on the sign-in and approval pages, listed under [Optional features](#optional-features). |
302302 
303303### Auto-updates (`disableAutoUpdates: false`)
304304 
Feedback