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, and the sandboxed iframe that renders interactive artifact previews. Disabling these degrades the UI slightly (generic icons, no directory suggestions, static artifact previews) 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.
By default the export includes session metadata (event names, durations, token counts, result counts, errors) but not message content. See Monitoring for the event schema and the otlp* keys in the configuration reference.
The export carries logs and metrics. Cowork sessions, Code tab 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.
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 tab 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.
otlpProtocol is grpc, Cowork’s export goes to the same otlpEndpoint over HTTP; if that address is your collector’s OTLP/gRPC receiver (conventionally port 4317), Cowork telemetry never reaches the collector. To receive telemetry from both session types 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 tab 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 Requirements 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)
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.