Telemetry categories
Essential telemetry
Crash reports, error stack traces, and performance timings. Contains diagnostic metadata (app version, OS, error type, redacted stack frames) but never prompt or response content. Attributed to your organization viadeploymentOrganizationUuid so Anthropic support can find issues you report.
Non-essential telemetry
Product-usage analytics: feature adoption, session counts, UI interactions. Used to understand how Claude Desktop is used in aggregate. Contains no prompt or response content. Also gates the Send button in Help → Generate Diagnostic Report; with this disabled, diagnostic bundles can only be saved locally.
Leaving this enabled also adds
api.anthropic.com to the agent egress allowlist automatically, so Claude Code can deliver its usage telemetry from inside the sandbox. Allow that host at the perimeter too; it appears in the non-essential telemetry table below.
Non-essential services
Cosmetic third-party fetches: favicons for connectors shown in the UI, the MCP connector directory lookup, the sandboxed iframe that renders interactive artifact previews, and the sandboxed iframes that render MCP Apps, the interactive widgets connectors can display. Disabling these degrades the UI (generic icons, no directory suggestions, static artifact previews, and connector tool results shown as text instead of widgets) but doesn’t affect functionality.Auto-updates
Checks Anthropic’s update feed and downloads new builds.Sending telemetry to your own collector
Independently of what’s sent to Anthropic, you can export session activity to your own OpenTelemetry collector by settingotlpEndpoint. This is the recommended way to retain an audit trail in environments that disable Anthropic-bound telemetry.
For 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. See Monitoring for the event schema and the otlp* keys in the configuration reference.
The 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. The app adds the collector host to the sandbox egress allowlist automatically, so otlpEndpoint does not need an entry in coworkEgressAllowedHosts; your perimeter firewall still needs to allow the host.
For collector authentication headers, extra resource attributes, and the log level of the desktop application’s own event stream, see otlpHeaders, otlpResourceAttributes, and otlpDesktopLogLevel in the configuration reference.
Collector endpoint and headers
SetotlpEndpoint to the base address of your collector’s OTLP/HTTP receiver, for example https://otel-collector.example.com:4318. The app appends the OpenTelemetry request paths itself (/v1/logs, /v1/metrics, and /v1/traces when traces are enabled), so enter the address without those suffixes. A path prefix in front of them, such as https://observability.example.com/otlp, is kept.
The receiver must implement the OpenTelemetry protocol (OTLP) over HTTP in both its protobuf and JSON encodings, as an OpenTelemetry Collector does by default. If your logging or SIEM platform accepts only its own HTTP ingestion format, run an OpenTelemetry Collector that receives OTLP and forwards to that platform, and set otlpEndpoint to the collector’s address. Each device opens its own connection to the collector, so the collector must present a TLS certificate the operating system trusts. See Proxy support if a TLS-intercepting proxy sits in between.
otlpHeaders is a JSON object that maps each header name to its value, for example {"Authorization":"Bearer <token>","X-Tenant":"agency"}. As with the other object-typed keys described under Value types, write it as a JSON string.
The 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.
For a collector credential that cannot be a static header, otlpHeadersHelper names a script on the device that prints the headers, and otlpAuthMode set to inference-credential sends the user’s own inference bearer token, which suits only a collector you operate. The configuration reference describes both.
User attribution
Every record sent to your collector carries the user’s identity as two resource attributes, on all threeservice.name streams:
enduser.id— the signed-in user’s identity. With an interactive sign-in flow (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. With credential methods that carry no identity claims (a static key, a credential helper, or an application default credentials file), it is the operating-system login name.process.owner— the operating-system login name.
enduser.id is the same identity the app shows in the sidebar and account menu, and is controlled by the 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 — it is standard OpenTelemetry process metadata and is always present. A static value set under otlpResourceAttributes overrides either attribute: a static enduser.id is always passed through — taking precedence over the signed-in identity, and surviving endUserAttribution: false — and a static process.owner replaces the login name.
These attributes are attached only to the OpenTelemetry export; the Anthropic-bound telemetry described earlier on this page does not carry them.
Exporter protocol
TheotlpProtocol key selects the transport for the telemetry export to your collector: http/protobuf (the default), http/json, or grpc. The protocol applies per session type:
- Code sessions export over the protocol as configured, including
grpc. - Cowork sessions do not support gRPC export. When
otlpProtocolis set togrpc, Cowork sessions export overhttp/protobufinstead; other protocol values apply as configured. - The desktop application’s own event stream (
claude-desktop) always exports overhttp/json, whateverotlpProtocolis set to.
otlpProtocol is grpc, the Cowork and desktop-application exports go to the same otlpEndpoint over HTTP; if that address is your collector’s OTLP/gRPC receiver (conventionally port 4317), that telemetry 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).
Content capture
To include content in the export, setotlpContentCapture to an array of categories:
On Claude Desktop version 1.17377 or later, enabling
userPrompts also captures model responses, even if assistantResponses is not listed. On those versions, no otlpContentCapture configuration captures user prompts without model responses.
Content is exported only to your configured otlpEndpoint. Anthropic does not receive it.
Traces (beta)
The export carries logs (events) and metrics; it does not include traces unless you enable them. To export OpenTelemetry traces as well, setotlpTracesEnabled 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. This lets your backend correlate a prompt’s events end-to-end natively, with no transformation on ingest.
Traces use the same otlpEndpoint and otlpProtocol as the rest of the export, including the Cowork gRPC fallback described in 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). Captured content appears primarily on events; spans stay close to metadata.
Two scope notes:
- 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.idattribute. - Trace export uses Claude Code’s session-tracing beta, and the span structure may change while the feature is in beta.
otlpTracesEnabled requires Claude Desktop 1.22209.0 or later.
Required egress paths
Claude Desktop on 3P has two independent network boundaries:- Perimeter firewall: your corporate network controls what the device can reach. The hostnames below are what you allowlist here.
- Agent egress allowlist: the
coworkEgressAllowedHostskey controls what the agent’s web-fetch and shell tools can reach. This is independent of, and stricter than, the perimeter.
The Egress section of the in-app configuration window is the authoritative source for your deployment. It computes the exact allowlist from your current settings, updates as you change them, and can export the list as a text file for your firewall team. Use the tables below as a static reference; defer to the configuration window for the precise set your build requires.
Always required
Inference provider
The host(s) for your configured provider. These carry conversation content.- Google Cloud's Agent Platform
- Amazon Bedrock
- Microsoft Foundry
- Gateway
Auto-updates (disableAutoUpdates: false)
With
updateViaUpdatesHost set to true, the app reads the update feed from releases.claude.com instead of claude.ai and api.anthropic.com, so those two hosts are no longer needed for updates. Update binaries still come from downloads.claude.ai.
Essential telemetry (disableEssentialTelemetry: false)
Non-essential telemetry (disableNonessentialTelemetry: false)
Non-essential services (disableNonessentialServices: false)
Optional features
Disabling all Anthropic-bound connections
WithdisableEssentialTelemetry, disableNonessentialTelemetry, disableNonessentialServices, and disableAutoUpdates all set to true, the desktop application makes no outbound connections to Anthropic-operated hosts at runtime. The only required egress is downloads.claude.ai (for the VM bundle at session start) and your inference provider. With the offline installer variant, downloads.claude.ai is not needed either, and your inference provider is the only required egress. This describes the application’s own connections; what happens to conversation content after it reaches your inference provider is governed by that provider; see the Overview.
See the Locked down profile for a complete configuration.
Proxy support
The Cowork sandbox honors the host operating system’s proxy configuration, including PAC (proxy auto-configuration) files. If the device routes HTTPS through a corporate proxy, the sandbox will too, with no additional configuration required.TLS-intercepting proxies on macOS
If your proxy performs TLS interception, it presents its own certificate authority. Claude configures its CLI processes to trust the macOS System keychain in addition to the bundled CA roots, so a corporate CA installed there normally works without extra setup. If inference or tool requests still fail certificate verification, the CA was likely added with policy-restricted trust: certificates installed viasecurity add-trusted-cert -p ssl … are trusted by Safari and Chrome but are not picked up by the CLI runtime’s keychain reader. Re-add the CA with full root trust (omit -p):
NODE_EXTRA_CA_CERTS as a fallback, then quit and relaunch Claude:
launchctl setenv makes the variable visible to apps launched from Finder or the Dock (shell-profile exports only reach terminal sessions). It applies until the next reboot; to make it permanent, run the command from a LaunchAgent at login.