Monitoring changedcowork/monitoring
Nearest release: v2.1.325, published an hour before 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 Nov 2026 21:38 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 Nov 2026 22:07 UTC.
Upstream edited
Recorded here
Lines+32added
Lines−12removed
From line
66
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 66, old and new numbered
/
from line 66
6666| Attribute | Description |
6767| - | - |
6868| `prompt.id` | UUID v4 identifier linking all events produced while processing a single user prompt |
69| `event.sequence` | Counter for ordering events that share an `event.timestamp` |
6970
7071To trace all activity triggered by a single prompt, filter your events by a specific `prompt.id` value.
7172
73To order a session's events, sort by `event.timestamp` and use `event.sequence` to order events that share a timestamp. A session can stop running between prompts, for example when a task sits idle or Claude Desktop restarts. When the session resumes, it keeps its [`session.id`](#standard-attributes) and `event.sequence` starts over. A later event in the session can therefore carry a lower value than an earlier one, or repeat one.
74
7275On third-party deployments, you can additionally enable OpenTelemetry trace export with the [`otlpTracesEnabled`](https://claude.com/docs/third-party/claude-desktop/telemetry#traces-beta) setting (beta). When it is enabled, events emitted while a prompt is processed also carry `trace_id` and `span_id`, linking them to the session's trace spans for end-to-end correlation in your observability backend.
7376
7477### Standard attributes
from line 106
103106| Attribute | Description |
104107| - | - |
105108| `event.timestamp` | ISO 8601 timestamp |
106| `event.sequence` | Monotonically increasing counter for ordering events within a session |
109| `event.sequence` | Counter for ordering events that share an `event.timestamp`, described under [Event correlation](#event-correlation) |
107110| `prompt_length` | Length of the prompt |
108111| `prompt` | Prompt content |
109112
from line 123
120123| Attribute | Description |
121124| - | - |
122125| `event.timestamp` | ISO 8601 timestamp |
123| `event.sequence` | Monotonically increasing counter for ordering events within a session |
126| `event.sequence` | Counter for ordering events that share an `event.timestamp`, described under [Event correlation](#event-correlation) |
124127| `model` | Model that produced the response |
125128| `request_id` | API request identifier |
126129| `response_length` | Length of the response |
from line 144
141144| Attribute | Description |
142145| - | - |
143146| `event.timestamp` | ISO 8601 timestamp |
144| `event.sequence` | Monotonically increasing counter for ordering events within a session |
145| `tool_name` | Name of the tool |
147| `event.sequence` | Counter for ordering events that share an `event.timestamp`, described under [Event correlation](#event-correlation) |
148| `tool_name` | Name of the tool. A tool from an MCP server, such as a connector, is recorded as the literal `mcp_tool`, unless it replaces a built-in tool such as `Bash` and takes that tool's name. |
149| `tool_use_id` | Unique identifier for this tool call. To see how the call was approved, find the [tool decision event](#tool-decision-event) with the same value. |
146150| `success` | `"true"` or `"false"` |
147151| `duration_ms` | Execution time in milliseconds |
148152| `error` | Error message (if failed) |
149| `decision_type` | Either `"accept"` or `"reject"` |
150| `decision_source` | How the decision was made. One of `"config"`, `"hook"`, `"user_permanent"`, `"user_temporary"`, `"user_abort"`, or `"user_reject"` |
151153| `tool_result_size_bytes` | Size of the tool result in bytes |
152154| `mcp_server_scope` | MCP server scope identifier (for MCP tools) |
153| `tool_parameters` | JSON string containing tool-specific parameters, including `mcp_server_name` and `mcp_tool_name` for MCP tools |
155| `tool_parameters` | JSON string containing tool-specific parameters, including `mcp_server_name` and `mcp_tool_name` for MCP tools. When [content capture](#content-capture) doesn't include `toolDetails`, this attribute, including those two names, can be absent. |
154156| `tool_input` | JSON-serialized tool arguments. Individual strings over 512 characters are truncated; entire string limited to \~4K characters. Applies to all tools including MCP tools. |
155157
156158### API request event
from line 168
166168| Attribute | Description |
167169| - | - |
168170| `event.timestamp` | ISO 8601 timestamp |
169| `event.sequence` | Monotonically increasing counter for ordering events within a session |
171| `event.sequence` | Counter for ordering events that share an `event.timestamp`, described under [Event correlation](#event-correlation) |
170172| `model` | Model used (e.g., `claude-sonnet-5`) |
171173| `cost_usd` | Estimated cost in USD |
172174| `duration_ms` | Request duration in milliseconds |
from line 195
193195| Attribute | Description |
194196| - | - |
195197| `event.timestamp` | ISO 8601 timestamp |
196| `event.sequence` | Monotonically increasing counter for ordering events within a session |
198| `event.sequence` | Counter for ordering events that share an `event.timestamp`, described under [Event correlation](#event-correlation) |
197199| `model` | Model used |
198200| `error` | Error message |
199201| `status_code` | HTTP status code as a string, or `"undefined"` for non-HTTP errors |
from line 216
214216| Attribute | Description |
215217| - | - |
216218| `event.timestamp` | ISO 8601 timestamp |
217| `event.sequence` | Monotonically increasing counter for ordering events within a session |
218| `tool_name` | Name of the tool |
219| `event.sequence` | Counter for ordering events that share an `event.timestamp`, described under [Event correlation](#event-correlation) |
220| `tool_name` | Name of the tool. A tool from an MCP server, such as a connector, is recorded as the literal `mcp_tool`, unless it replaces a built-in tool such as `Bash` and takes that tool's name. |
221| `tool_use_id` | Unique identifier for this tool call. A [tool result event](#tool-result-event) for the same call has the same value. |
222| `tool_source` | `"builtin"` for a built-in tool, or `"mcp"` or `"sdk_host_builtin_mcp"` for a tool from an MCP server |
219223| `decision` | Either `"accept"` or `"reject"` |
220224| `source` | Decision source. One of `"config"`, `"hook"`, `"user_permanent"`, `"user_temporary"`, `"user_abort"`, or `"user_reject"` |
225| `permission_mode` | [Permission mode](https://code.claude.com/docs/en/permission-modes) active when the call's permission check began, such as `"default"` for **Manually approve**, `"auto"` for **Automatically approve**, or `"bypassPermissions"` for **Skip all approvals** |
226| `classifier_verdict` | The [Auto mode](https://code.claude.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode) classifier's verdict on the call, or why Cowork denies the call when the classifier gives no verdict |
227| `classifier_category` | Built-in rule that the classifier names when it blocks the call, such as `"data_exfiltration"`. Sent when [content capture](#content-capture) includes `toolDetails`. |
228| `request_id` | API request identifier of the model response that contained this tool call. Absent when that response has no request ID, or when no model response contained the call. |
229| `tool_parameters` | JSON string containing tool-specific parameters, including `mcp_server_name` and `mcp_tool_name` for MCP tools. When [content capture](#content-capture) doesn't include `toolDetails`, this attribute, including those two names, can be absent. |
221230
231Cowork shows Auto mode as **Automatically approve**. An event has `classifier_verdict` when the Auto mode classifier decides the call, or when Cowork denies the call because the classifier gives no verdict. An event with `classifier_verdict` reports `source` as `"config"`. The attribute takes one of these values:
232
233* `"allow"`: the classifier approves the call
234* `"block"`: the classifier blocks the call. A check that fails partway through can also end as `"block"`.
235* `"no_verdict"`: the classifier's check runs but gives no usable verdict, so Cowork denies the call
236* `"unavailable"`: the check can't run or can't finish, for example because the request to the classifier fails, so Cowork denies the call
237
238For what each `source` and `classifier_verdict` value covers, and for the Auto mode calls that have no `classifier_verdict`, see [Tool decision event](https://code.claude.com/docs/en/monitoring-usage#tool-decision-event) in the Claude Code documentation. Cowork tasks follow what that section says for Agent SDK sessions.
239
240Claude Desktop 3.1623.0 and later send `permission_mode`, `classifier_verdict`, and `classifier_category`. Claude Desktop 4.16336.0 and later send `request_id`.
241
222242## Event analysis
223243
224244The exported events support a range of analyses:
from line 281
261281* The [`otlpContentCapture`](#content-capture) key on each device sets which content events carry. Each category you list in the key adds its content. The [full category list](https://claude.com/docs/third-party/claude-desktop/telemetry.md#content-capture) has two more than these three:
262282 * `userPrompts`: user prompt text
263283 * `assistantResponses`: model response text
264 * `toolDetails`: the arguments a tool was called with, in `tool_input` and `tool_parameters`, such as shell commands, file paths, URLs, and search patterns. It also covers the text of a failed tool's error message, in `error` on the [tool result event](#tool-result-event)
284 * `toolDetails`: the arguments a tool was called with, in `tool_input` and `tool_parameters`, such as shell commands, file paths, URLs, and search patterns. It also covers the text of a failed tool's error message, in `error` on the [tool result event](#tool-result-event), and the classifier's rule name in `classifier_category` on the [tool decision event](#tool-decision-event)
265285* On Claude Desktop version 1.17377 or later, events that carry user prompt text also carry model response text by default, even when the key doesn't list `assistantResponses`
266286* When `otlpContentCapture` isn't set, current versions of Claude Desktop send metadata only. To make sure a device sends metadata only, set the key to `[]`
267287* Metadata includes `workspace.host_paths`, the paths of the folders a user connects to a task. `otlpContentCapture` doesn't control this attribute, so events carry the paths even when the key is `[]`. If folder names can be sensitive, configure your telemetry backend to filter or redact it
No line in this hunk matches that.