Telemetry and egress changedthird-party/claude-desktop/telemetry
Nearest release: v2.1.299, published 7 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 13 Oct 2026 16:31 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 13 Oct 2026 16:37 UTC.
Upstream edited
Recorded here
Lines+17added
Lines−4removed
From line
102
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits40to this page, all time
### Content length limit
The whole hunk
from line 102, old and new numbered
/
from line 102
102102| Category | Captures |
103103| - | - |
104104| `userPrompts` | User message text and conversation titles |
105| `assistantResponses` | Model response text |
105| `assistantResponses` | Model response text, up to the [content length limit](#content-length-limit) |
106106| `toolDetails` | Tool input arguments (for example, the web-search query string) |
107| `toolContent` | Tool output content |
108| `rawApiBodies` | Full inference request and response bodies |
107| `toolContent` | Tool output content, up to the [content length limit](#content-length-limit) |
108| `rawApiBodies` | Inference request and response bodies, up to the [content length limit](#content-length-limit) |
109109
110110On 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.
111111
112112Conversation 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`](/docs/third-party/claude-desktop/configuration#otlpdesktoploglevel) is `info` or `debug`, and the title text is included only when `otlpContentCapture` includes `userPrompts`. Requires Claude Desktop 1.44121.1 or later.
113113
114With `rawApiBodies`, Claude Code truncates each request or response body at 60 KB by default and always redacts Claude's extended-thinking content. See [API request body event](https://code.claude.com/docs/en/monitoring-usage#api-request-body-event) in the Claude Code documentation.
114With `rawApiBodies`, Claude Code always redacts Claude's extended-thinking content. See [API request body event](https://code.claude.com/docs/en/monitoring-usage#api-request-body-event) in the Claude Code documentation.
115115
116116Content is exported only to your configured `otlpEndpoint`. Anthropic does not receive it.
117
118### Content length limit
119
120In Chat, Cowork, and Code sessions, the OpenTelemetry export by default cuts [captured](#content-capture) model responses, tool content, and request and response bodies at 61,440 characters each. User prompts are not cut. When a request or response body is cut, the [body event](https://code.claude.com/docs/en/monitoring-usage#api-request-body-event) carries `body_truncated` set to `"true"`, and `body_length` holds the full length in characters.
121
122To change the limit, set [`otlpAttrMaxChars`](/docs/third-party/claude-desktop/configuration#otlpattrmaxchars) to a number of characters from 256 to 15,000,000. The key doesn't change the smaller limits of `tool_input`, an attribute of the `toolDetails` category. To capture whole bodies, find the largest `body_length` on the events where `body_truncated` is `"true"`, and set `otlpAttrMaxChars` slightly above it.
123
124Before you raise the limit, make sure that both of these are true:
125
126* **Collector**: your collector's request size limit is a few times the size of your longest body, since one export request can carry several bodies. The key counts characters and the collector counts bytes, and one character can use more than one byte.
127* **Backend**: your backend accepts attribute values of the new length.
128
129`otlpAttrMaxChars` requires Claude Desktop 2.31226.0 or later.
117130
118131### Traces (beta)
119132
No line in this hunk matches that.