This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 44
4444
4545 - `product: optional string or null`
4646
47 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
47 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
4848
4949 - `rbac_group_id: optional string or null`
5050
from line 58
5858
5959 Tagged user identifier (e.g. `user_...`). Present only when the request grouped by `user_id`.
6060
61### Beta Analytics Chat Cowork Unified Chat Metrics
62
63- `BetaAnalyticsChatCoworkUnifiedChatMetrics object`
64
65 Chat activity recorded while members had Chat and Cowork unified turned
66 on.
67
68 - `connectors_used_count: number`
69
70 Same measure as `chat_metrics.connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
71
72 - `distinct_artifacts_created_count: number`
73
74 Same measure as `chat_metrics.distinct_artifacts_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
75
76 - `distinct_connectors_used_count: number or null`
77
78 Same measure as `chat_metrics.distinct_connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
79
80 - `distinct_conversation_count: number or null`
81
82 Same measure as `chat_metrics.distinct_conversation_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
83
84 - `distinct_files_uploaded_count: number or null`
85
86 Same measure as `chat_metrics.distinct_files_uploaded_count`, for activity recorded while members had Chat and Cowork unified turned on. It counts uploaded files as well as files Claude created and images returned by Claude's tools, such as screenshots. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
87
88 - `distinct_projects_created_count: number`
89
90 Same measure as `chat_metrics.distinct_projects_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
91
92 - `distinct_projects_used_count: number or null`
93
94 Same measure as `chat_metrics.distinct_projects_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
95
96 - `distinct_shared_artifacts_viewed_count: number or null`
97
98 Always null: shared-artifact views are not currently measured.
99
100 - `distinct_skills_used_count: number or null`
101
102 Same measure as `chat_metrics.distinct_skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
103
104 - `message_count: number`
105
106 Same measure as `chat_metrics.message_count`, for activity recorded while members had Chat and Cowork unified turned on.
107
108 - `shared_conversations_viewed_count: number`
109
110 Same measure as `chat_metrics.shared_conversations_viewed_count`, for activity recorded while members had Chat and Cowork unified turned on.
111
112 - `thinking_message_count: number`
113
114 Same measure as `chat_metrics.thinking_message_count`, for activity recorded while members had Chat and Cowork unified turned on.
115
116### Beta Analytics Chat Cowork Unified Sessions Metrics
117
118- `BetaAnalyticsChatCoworkUnifiedSessionsMetrics object`
119
120 Cowork session activity recorded while members had Chat and Cowork
121 unified turned on.
122
123 - `action_count: number`
124
125 Same measure as `cowork_metrics.action_count`, for activity recorded while members had Chat and Cowork unified turned on.
126
127 - `artifacts_created_count: number`
128
129 Same measure as `cowork_metrics.artifacts_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
130
131 - `connectors_used_count: number`
132
133 Same measure as `cowork_metrics.connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
134
135 - `dispatch_turn_count: number`
136
137 Same measure as `cowork_metrics.dispatch_turn_count`, for activity recorded while members had Chat and Cowork unified turned on.
138
139 - `distinct_connectors_used_count: number or null`
140
141 Same measure as `cowork_metrics.distinct_connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
142
143 - `distinct_plugins_used_count: number or null`
144
145 Same measure as `cowork_metrics.distinct_plugins_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
146
147 - `distinct_session_count: number or null`
148
149 Same measure as `cowork_metrics.distinct_session_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
150
151 - `distinct_skills_used_count: number or null`
152
153 Same measure as `cowork_metrics.distinct_skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
154
155 - `edit_tool_count: number or null`
156
157 Same measure as `cowork_metrics.edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
158
159 - `file_edit_count: number or null`
160
161 Same measure as `cowork_metrics.file_edit_count`, for activity recorded while members had Chat and Cowork unified turned on.
162
163 - `message_count: number`
164
165 Same measure as `cowork_metrics.message_count`, for activity recorded while members had Chat and Cowork unified turned on.
166
167 - `multi_edit_tool_count: number or null`
168
169 Same measure as `cowork_metrics.multi_edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on. Claude no longer has a multi-edit tool, so expect 0 when not null; each edit is now a separate Edit tool call, counted in `edit_tool_count` and `file_edit_count`.
170
171 - `notebook_edit_tool_count: number or null`
172
173 Same measure as `cowork_metrics.notebook_edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
174
175 - `plugins_used_count: number or null`
176
177 Same measure as `cowork_metrics.plugins_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
178
179 - `sessions_with_file_edits_count: number or null`
180
181 Same measure as `cowork_metrics.sessions_with_file_edits_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
182
183 - `skills_used_count: number`
184
185 Same measure as `cowork_metrics.skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
186
187 - `write_tool_count: number or null`
188
189 Same measure as `cowork_metrics.write_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
190
61191### Beta Analytics Chat Metrics
62192
63193- `BetaAnalyticsChatMetrics object`
from line 384
254384
255385 Office Agent activity metrics for a single connector on a given day within one Office product.
256386
387 - `chat_cowork_unified_metrics: optional object or null`
388
389 Connector use recorded while members had Chat and Cowork unified (Cowork's features inside claude.ai chat) turned on, split into chat conversations and Cowork sessions. A count is null in date-range mode where it cannot be computed. Omitted from the response on deployments that do not offer Chat and Cowork unified.
390
391 - `chat: BetaAnalyticsConnectorChatCoworkUnifiedChatMetrics`
392
393 A connector's use in chat conversations recorded while members had
394 Chat and Cowork unified turned on.
395
396 - `distinct_conversation_connector_used_count: number or null`
397
398 Same measure as `chat_metrics.distinct_conversation_connector_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
399
400 - `sessions: BetaAnalyticsConnectorChatCoworkUnifiedSessionsMetrics`
401
402 A connector's use in Cowork sessions recorded while members had
403 Chat and Cowork unified turned on.
404
405 - `distinct_session_connector_used_count: number or null`
406
407 Same measure as `cowork_metrics.distinct_session_connector_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
408
257409 - `connector_display_name: optional string or null`
258410
259411 Human-readable display name for rows whose `connector_name` is an opaque connector id rather than a readable name, resolved at request time from the organization's connectors (including connectors that have since been removed). `connector_name` remains the row's stable key for sorting and pagination, and `filter[]=connector_name:{value}` also matches these rows by display name. Display names are not unique, and the same connector's claude.ai usage can appear under a separate row with a readable `connector_name`. Null when `connector_name` is already a readable name, when the id cannot be resolved to one of the organization's connectors, or when display-name resolution is not enabled for this organization.
from line 420
268420
269421 - `product: optional string or null`
270422
271 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
423 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
272424
273425 - `rbac_group_id: optional string or null`
274426
from line 446
294446
295447 Number of connector tool calls on the requested day whose trusted read-only annotation marked them not read-only. Call count, not distinct users. One of the three call-classification buckets; see `read_call_count` for the per-surface data-start dates, null conditions, and date-range guidance.
296448
449### Beta Analytics Connector Chat Cowork Unified Chat Metrics
450
451- `BetaAnalyticsConnectorChatCoworkUnifiedChatMetrics object`
452
453 A connector's use in chat conversations recorded while members had
454 Chat and Cowork unified turned on.
455
456 - `distinct_conversation_connector_used_count: number or null`
457
458 Same measure as `chat_metrics.distinct_conversation_connector_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
459
460### Beta Analytics Connector Chat Cowork Unified Sessions Metrics
461
462- `BetaAnalyticsConnectorChatCoworkUnifiedSessionsMetrics object`
463
464 A connector's use in Cowork sessions recorded while members had
465 Chat and Cowork unified turned on.
466
467 - `distinct_session_connector_used_count: number or null`
468
469 Same measure as `cowork_metrics.distinct_session_connector_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
470
297471### Beta Analytics Connector Chat Metrics
298472
299473- `BetaAnalyticsConnectorChatMetrics object`
from line 644
470644
471645 - `product: string or null`
472646
473 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
647 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
474648
475649 - `rbac_group_id: string or null`
476650
from line 758
584758
585759 - `product: string or null`
586760
587 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
761 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
588762
589763 - `rbac_group_id: string or null`
590764
from line 914
740914
741915 - `product: string or null`
742916
743 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
917 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
744918
745919 - `rbac_group_id: string or null`
746920
from line 1158
9841158
9851159 Per-plugin install + invocation activity for a given day.
9861160
987 With `group_by[]=user_id` / `rbac_group_id` / `product` (`cowork` /
988 `claude_code` only on this endpoint) each row is one (plugin, user),
989 (plugin, group), or (plugin, product) cut: the flat `user_id` /
990 `rbac_group_id` / `product` keys carry the cut and the counts are
991 scoped to it.
1161 With `group_by[]=user_id` / `rbac_group_id` / `product` (`cowork`,
1162 `claude_code` and `chat_cowork_unified` only on this endpoint) each row is
1163 one (plugin, user), (plugin, group), or (plugin, product) cut: the flat
1164 `user_id` / `rbac_group_id` / `product` keys carry the cut and the counts
1165 are scoped to it.
9921166
9931167 - `claude_code_metrics: BetaAnalyticsPluginClaudeCodeMetrics`
9941168
from line 1196
10221196
10231197 Name of the plugin
10241198
1199 - `chat_cowork_unified_metrics: optional object or null`
1200
1201 Plugin use recorded while members had Chat and Cowork unified (Cowork's features inside claude.ai chat) turned on. A count is null in date-range mode where it cannot be computed. Omitted from the response on deployments that do not offer Chat and Cowork unified.
1202
1203 - `distinct_session_plugin_used_count: number or null`
1204
1205 Same measure as `cowork_metrics.distinct_session_plugin_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Null on aggregated rows where a distinct count cannot be computed.
1206
10251207 - `plugin_id: optional string or null`
10261208
10271209 Stable plugin identifier when available (e.g. `serena@claude-plugins-official`). Null for third-party Claude Code plugins (redacted at the source) and Cowork slash commands that carry only a hashed id.
10281210
10291211 - `product: optional string or null`
10301212
1031 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
1213 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
10321214
10331215 - `rbac_group_id: optional string or null`
10341216
from line 1246
10641246
10651247### Beta Analytics Product Filter
10661248
1067- `BetaAnalyticsProductFilter = "chat" or "claude-tag" or "claude_code" or 4 more`
1068
1069 Publicly documented product surfaces. `claude-tag` is Claude Tag, the Claude product in Slack.
1249- `BetaAnalyticsProductFilter = "chat" or "chat_cowork_unified" or "claude-tag" or 5 more`
1250
1251 Publicly documented product surfaces. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified.
10701252
10711253 - `"chat"`
10721254
1255 - `"chat_cowork_unified"`
1256
10731257 - `"claude-tag"`
10741258
10751259 - `"claude_code"`
from line 1318
11341318
11351319 - `product: optional string or null`
11361320
1137 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
1321 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
11381322
11391323 - `rbac_group_id: optional string or null`
11401324
from line 1428
12441428
12451429 Percentage of assigned seats with activity in the 7-day rolling window (`WAU / assigned_seat_count * 100`). Null when the response is scoped to an RBAC group.
12461430
1431 - `chat_cowork_unified_daily_active_user_count: optional number or null`
1432
1433 Number of users with activity in Chat and Cowork unified on the requested day. Omitted from the response on deployments that do not offer Chat and Cowork unified.
1434
1435 - `chat_cowork_unified_monthly_active_user_count: optional number or null`
1436
1437 Number of users with activity in Chat and Cowork unified in the 28-day rolling window (30 days when the request filters by `rbac_group_id`). Omitted from the response on deployments that do not offer Chat and Cowork unified.
1438
1439 - `chat_cowork_unified_weekly_active_user_count: optional number or null`
1440
1441 Number of users with activity in Chat and Cowork unified in the 7-day rolling window. Omitted from the response on deployments that do not offer Chat and Cowork unified.
1442
12471443 - `chat_daily_active_user_count: optional number or null`
12481444
12491445 Number of users with claude.ai (chat) activity on the requested day. Omitted from the response while the per-product breakdown is not enabled for this organization.
from line 1570
13741570
13751571 List-price (rate-card) value of the member requests attributed to this skill, as a decimal string in the minor unit of `currency` (cents for USD), from Claude Code, Cowork, and Office Agent request-level attribution — the value of requests that involved the skill, not the skill's incremental cost. Unlike `estimated_overage_spend` this reflects usage value regardless of how it was funded — seat-covered usage counts — but it is undiscounted and does not tie to billed spend or the organization's spend reporting. claude.ai chat usage carries no request-level attribution and contributes nothing: the field is null on `chat` product rows and on `office_agent` product cuts dated before 2026-06-18 (the Office Agent attribution data-start), and on ungrouped rows it covers the Claude Code + Cowork + Office Agent share only (null when no attributable usage exists). Also null under the same conditions as `estimated_overage_spend` (spend reporting not enabled for this organization, `office_agent` product cuts before the 2026-06-18 data-start). "0" means attributable usage existed but none was attributed to this skill. Addable across days: date-range rollup mode returns the window's sum. On `group_by[]` and `filter[]` shapes both amounts can total below the ungrouped value for the same skill over the same date or range: spend attributed to a member–skill pair with no counted usage on that day is excluded from those cuts.
13761572
1573 - `chat_cowork_unified_metrics: optional object or null`
1574
1575 Skill use recorded while members had Chat and Cowork unified (Cowork's features inside claude.ai chat) turned on, split into chat conversations and Cowork sessions. A count is null in date-range mode where it cannot be computed. Omitted from the response on deployments that do not offer Chat and Cowork unified.
1576
1577 - `chat: BetaAnalyticsSkillChatCoworkUnifiedChatMetrics`
1578
1579 A skill's use in chat conversations recorded while members had
1580 Chat and Cowork unified turned on.
1581
1582 - `distinct_conversation_skill_used_count: number or null`
1583
1584 Same measure as `chat_metrics.distinct_conversation_skill_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
1585
1586 - `sessions: BetaAnalyticsSkillChatCoworkUnifiedSessionsMetrics`
1587
1588 A skill's use in Cowork sessions recorded while members had Chat
1589 and Cowork unified turned on.
1590
1591 - `distinct_session_skill_used_count: number or null`
1592
1593 Same measure as `cowork_metrics.distinct_session_skill_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
1594
13771595 - `currency: optional string or null`
13781596
13791597 Currency for this row's monetary fields (`estimated_overage_spend` and `attributed_list_price`), as an uppercase ISO-4217 code. Always "USD" when either amount is populated; null whenever both amounts are null.
from line 1610
13921610
13931611 - `product: optional string or null`
13941612
1395 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
1613 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
13961614
13971615 - `rbac_group_id: optional string or null`
13981616
from line 1638
14201638
14211639 Tagged user identifier (e.g. `user_...`). Present only when the request grouped by `user_id`.
14221640
1641### Beta Analytics Skill Chat Cowork Unified Chat Metrics
1642
1643- `BetaAnalyticsSkillChatCoworkUnifiedChatMetrics object`
1644
1645 A skill's use in chat conversations recorded while members had
1646 Chat and Cowork unified turned on.
1647
1648 - `distinct_conversation_skill_used_count: number or null`
1649
1650 Same measure as `chat_metrics.distinct_conversation_skill_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
1651
1652### Beta Analytics Skill Chat Cowork Unified Sessions Metrics
1653
1654- `BetaAnalyticsSkillChatCoworkUnifiedSessionsMetrics object`
1655
1656 A skill's use in Cowork sessions recorded while members had Chat
1657 and Cowork unified turned on.
1658
1659 - `distinct_session_skill_used_count: number or null`
1660
1661 Same measure as `cowork_metrics.distinct_session_skill_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
1662
14231663### Beta Analytics Skill Chat Metrics
14241664
14251665- `BetaAnalyticsSkillChatMetrics object`
from line 1852
16121852
16131853 - `product: string or null`
16141854
1615 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
1855 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
16161856
16171857 - `rbac_group_id: string or null`
16181858
from line 1964
17241964
17251965 - `product: string or null`
17261966
1727 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
1967 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
17281968
17291969 - `rbac_group_id: string or null`
17301970
from line 2108
18682108
18692109 - `product: string or null`
18702110
1871 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
2111 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
18722112
18732113 - `rbac_group_id: string or null`
18742114
from line 2457
22172457 - `web_search_count: number`
22182458
22192459 Number of web searches performed
2460
2461 - `chat_cowork_unified_metrics: optional object or null`
2462
2463 Activity recorded while the member had Chat and Cowork unified (Cowork's features inside claude.ai chat) turned on, split into `chat` (chat activity) and `sessions` (Cowork activity). Omitted from the response on deployments that do not offer Chat and Cowork unified.
2464
2465 - `chat: BetaAnalyticsChatCoworkUnifiedChatMetrics`
2466
2467 Chat activity recorded while members had Chat and Cowork unified turned
2468 on.
2469
2470 - `connectors_used_count: number`
2471
2472 Same measure as `chat_metrics.connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
2473
2474 - `distinct_artifacts_created_count: number`
2475
2476 Same measure as `chat_metrics.distinct_artifacts_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
2477
2478 - `distinct_connectors_used_count: number or null`
2479
2480 Same measure as `chat_metrics.distinct_connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2481
2482 - `distinct_conversation_count: number or null`
2483
2484 Same measure as `chat_metrics.distinct_conversation_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2485
2486 - `distinct_files_uploaded_count: number or null`
2487
2488 Same measure as `chat_metrics.distinct_files_uploaded_count`, for activity recorded while members had Chat and Cowork unified turned on. It counts uploaded files as well as files Claude created and images returned by Claude's tools, such as screenshots. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2489
2490 - `distinct_projects_created_count: number`
2491
2492 Same measure as `chat_metrics.distinct_projects_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
2493
2494 - `distinct_projects_used_count: number or null`
2495
2496 Same measure as `chat_metrics.distinct_projects_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2497
2498 - `distinct_shared_artifacts_viewed_count: number or null`
2499
2500 Always null: shared-artifact views are not currently measured.
2501
2502 - `distinct_skills_used_count: number or null`
2503
2504 Same measure as `chat_metrics.distinct_skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2505
2506 - `message_count: number`
2507
2508 Same measure as `chat_metrics.message_count`, for activity recorded while members had Chat and Cowork unified turned on.
2509
2510 - `shared_conversations_viewed_count: number`
2511
2512 Same measure as `chat_metrics.shared_conversations_viewed_count`, for activity recorded while members had Chat and Cowork unified turned on.
2513
2514 - `thinking_message_count: number`
2515
2516 Same measure as `chat_metrics.thinking_message_count`, for activity recorded while members had Chat and Cowork unified turned on.
2517
2518 - `sessions: BetaAnalyticsChatCoworkUnifiedSessionsMetrics`
2519
2520 Cowork session activity recorded while members had Chat and Cowork
2521 unified turned on.
2522
2523 - `action_count: number`
2524
2525 Same measure as `cowork_metrics.action_count`, for activity recorded while members had Chat and Cowork unified turned on.
2526
2527 - `artifacts_created_count: number`
2528
2529 Same measure as `cowork_metrics.artifacts_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
2530
2531 - `connectors_used_count: number`
2532
2533 Same measure as `cowork_metrics.connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
2534
2535 - `dispatch_turn_count: number`
2536
2537 Same measure as `cowork_metrics.dispatch_turn_count`, for activity recorded while members had Chat and Cowork unified turned on.
2538
2539 - `distinct_connectors_used_count: number or null`
2540
2541 Same measure as `cowork_metrics.distinct_connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2542
2543 - `distinct_plugins_used_count: number or null`
2544
2545 Same measure as `cowork_metrics.distinct_plugins_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2546
2547 - `distinct_session_count: number or null`
2548
2549 Same measure as `cowork_metrics.distinct_session_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2550
2551 - `distinct_skills_used_count: number or null`
2552
2553 Same measure as `cowork_metrics.distinct_skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2554
2555 - `edit_tool_count: number or null`
2556
2557 Same measure as `cowork_metrics.edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
2558
2559 - `file_edit_count: number or null`
2560
2561 Same measure as `cowork_metrics.file_edit_count`, for activity recorded while members had Chat and Cowork unified turned on.
2562
2563 - `message_count: number`
2564
2565 Same measure as `cowork_metrics.message_count`, for activity recorded while members had Chat and Cowork unified turned on.
2566
2567 - `multi_edit_tool_count: number or null`
2568
2569 Same measure as `cowork_metrics.multi_edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on. Claude no longer has a multi-edit tool, so expect 0 when not null; each edit is now a separate Edit tool call, counted in `edit_tool_count` and `file_edit_count`.
2570
2571 - `notebook_edit_tool_count: number or null`
2572
2573 Same measure as `cowork_metrics.notebook_edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
2574
2575 - `plugins_used_count: number or null`
2576
2577 Same measure as `cowork_metrics.plugins_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
2578
2579 - `sessions_with_file_edits_count: number or null`
2580
2581 Same measure as `cowork_metrics.sessions_with_file_edits_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
2582
2583 - `skills_used_count: number`
2584
2585 Same measure as `cowork_metrics.skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
2586
2587 - `write_tool_count: number or null`
2588
2589 Same measure as `cowork_metrics.write_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
22202590
22212591 - `distinct_user_count: optional number or null`
22222592
from line 2665
22952665Returns one entry per day from `starting_date` (inclusive) to `ending_date`
22962666(exclusive) in `data`, the same `data` / `next_page` envelope as the other
22972667analytics list endpoints; the series is currently returned in full, so
2298`next_page` is always null (`summaries` is a deprecated alias of `data`).
2668`next_page` is always null.
22992669Data is typically available with a 1-day lag and may be revised by a few
23002670percent over the following days: when `ending_date` is omitted it
23012671defaults to the most recent available day + 1, so the last entry covers
from line 2765
23952765
23962766 Percentage of assigned seats with activity in the 7-day rolling window (`WAU / assigned_seat_count * 100`). Null when the response is scoped to an RBAC group.
23972767
2768 - `chat_cowork_unified_daily_active_user_count: optional number or null`
2769
2770 Number of users with activity in Chat and Cowork unified on the requested day. Omitted from the response on deployments that do not offer Chat and Cowork unified.
2771
2772 - `chat_cowork_unified_monthly_active_user_count: optional number or null`
2773
2774 Number of users with activity in Chat and Cowork unified in the 28-day rolling window (30 days when the request filters by `rbac_group_id`). Omitted from the response on deployments that do not offer Chat and Cowork unified.
2775
2776 - `chat_cowork_unified_weekly_active_user_count: optional number or null`
2777
2778 Number of users with activity in Chat and Cowork unified in the 7-day rolling window. Omitted from the response on deployments that do not offer Chat and Cowork unified.
2779
23982780 - `chat_daily_active_user_count: optional number or null`
23992781
24002782 Number of users with claude.ai (chat) activity on the requested day. Omitted from the response while the per-product breakdown is not enabled for this organization.
from line 2906
25242906 - `weekly_adoption_rate: number or null`
25252907
25262908 Percentage of assigned seats with activity in the 7-day rolling window (`WAU / assigned_seat_count * 100`). Null when the response is scoped to an RBAC group.
2909
2910 - `chat_cowork_unified_daily_active_user_count: optional number or null`
2911
2912 Number of users with activity in Chat and Cowork unified on the requested day. Omitted from the response on deployments that do not offer Chat and Cowork unified.
2913
2914 - `chat_cowork_unified_monthly_active_user_count: optional number or null`
2915
2916 Number of users with activity in Chat and Cowork unified in the 28-day rolling window (30 days when the request filters by `rbac_group_id`). Omitted from the response on deployments that do not offer Chat and Cowork unified.
2917
2918 - `chat_cowork_unified_weekly_active_user_count: optional number or null`
2919
2920 Number of users with activity in Chat and Cowork unified in the 7-day rolling window. Omitted from the response on deployments that do not offer Chat and Cowork unified.
25272921
25282922 - `chat_daily_active_user_count: optional number or null`
25292923
from line 3010
26163010 "starting_at": "2019-12-27T18:11:19.117Z",
26173011 "weekly_active_user_count": 0,
26183012 "weekly_adoption_rate": 0,
3013 "chat_cowork_unified_daily_active_user_count": 0,
3014 "chat_cowork_unified_monthly_active_user_count": 0,
3015 "chat_cowork_unified_weekly_active_user_count": 0,
26193016 "chat_daily_active_user_count": 0,
26203017 "chat_monthly_active_user_count": 0,
26213018 "chat_weekly_active_user_count": 0,
from line 3047
26503047 "starting_at": "2019-12-27T18:11:19.117Z",
26513048 "weekly_active_user_count": 0,
26523049 "weekly_adoption_rate": 0,
3050 "chat_cowork_unified_daily_active_user_count": 0,
3051 "chat_cowork_unified_monthly_active_user_count": 0,
3052 "chat_cowork_unified_weekly_active_user_count": 0,
26533053 "chat_daily_active_user_count": 0,
26543054 "chat_monthly_active_user_count": 0,
26553055 "chat_weekly_active_user_count": 0,
from line 3101
27013101
27023102- `filter: optional array of string`
27033103
2704 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `project_id`, `rbac_group_id`, `user_id`. Value forms: `project_id` takes a tagged project id (`claude_proj_...`) and scopes each member's row to their claude.ai chat activity within that project (it cannot be combined with `group_by[]` or an `rbac_group_id` filter); `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries.
3104 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `project_id`, `rbac_group_id`, `user_id`. Value forms: `project_id` takes a tagged project id (`claude_proj_...`); `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries. A `project_id` filter limits each member's row to their claude.ai chat activity in that project and cannot be combined with `group_by[]` or an `rbac_group_id` filter. On these rows, every count in `chat_cowork_unified_metrics.sessions` is 0, because sessions are not measured per project. On any day a member sent a chat message in Chat and Cowork unified, all of that member's project activity for the day is counted in `chat_cowork_unified_metrics.chat` instead of `chat_metrics`.
27053105
27063106 maxItems: 100
27073107
from line 3422
30223422 - `web_search_count: number`
30233423
30243424 Number of web searches performed
3425
3426 - `chat_cowork_unified_metrics: optional object or null`
3427
3428 Activity recorded while the member had Chat and Cowork unified (Cowork's features inside claude.ai chat) turned on, split into `chat` (chat activity) and `sessions` (Cowork activity). Omitted from the response on deployments that do not offer Chat and Cowork unified.
3429
3430 - `chat: BetaAnalyticsChatCoworkUnifiedChatMetrics`
3431
3432 Chat activity recorded while members had Chat and Cowork unified turned
3433 on.
3434
3435 - `connectors_used_count: number`
3436
3437 Same measure as `chat_metrics.connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
3438
3439 - `distinct_artifacts_created_count: number`
3440
3441 Same measure as `chat_metrics.distinct_artifacts_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
3442
3443 - `distinct_connectors_used_count: number or null`
3444
3445 Same measure as `chat_metrics.distinct_connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3446
3447 - `distinct_conversation_count: number or null`
3448
3449 Same measure as `chat_metrics.distinct_conversation_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3450
3451 - `distinct_files_uploaded_count: number or null`
3452
3453 Same measure as `chat_metrics.distinct_files_uploaded_count`, for activity recorded while members had Chat and Cowork unified turned on. It counts uploaded files as well as files Claude created and images returned by Claude's tools, such as screenshots. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3454
3455 - `distinct_projects_created_count: number`
3456
3457 Same measure as `chat_metrics.distinct_projects_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
3458
3459 - `distinct_projects_used_count: number or null`
3460
3461 Same measure as `chat_metrics.distinct_projects_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3462
3463 - `distinct_shared_artifacts_viewed_count: number or null`
3464
3465 Always null: shared-artifact views are not currently measured.
3466
3467 - `distinct_skills_used_count: number or null`
3468
3469 Same measure as `chat_metrics.distinct_skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3470
3471 - `message_count: number`
3472
3473 Same measure as `chat_metrics.message_count`, for activity recorded while members had Chat and Cowork unified turned on.
3474
3475 - `shared_conversations_viewed_count: number`
3476
3477 Same measure as `chat_metrics.shared_conversations_viewed_count`, for activity recorded while members had Chat and Cowork unified turned on.
3478
3479 - `thinking_message_count: number`
3480
3481 Same measure as `chat_metrics.thinking_message_count`, for activity recorded while members had Chat and Cowork unified turned on.
3482
3483 - `sessions: BetaAnalyticsChatCoworkUnifiedSessionsMetrics`
3484
3485 Cowork session activity recorded while members had Chat and Cowork
3486 unified turned on.
3487
3488 - `action_count: number`
3489
3490 Same measure as `cowork_metrics.action_count`, for activity recorded while members had Chat and Cowork unified turned on.
3491
3492 - `artifacts_created_count: number`
3493
3494 Same measure as `cowork_metrics.artifacts_created_count`, for activity recorded while members had Chat and Cowork unified turned on. Exact in date-range mode: a creation belongs to exactly one day, so the per-day counts never overlap and their sum over the window is the exact count of distinct creations in it.
3495
3496 - `connectors_used_count: number`
3497
3498 Same measure as `cowork_metrics.connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
3499
3500 - `dispatch_turn_count: number`
3501
3502 Same measure as `cowork_metrics.dispatch_turn_count`, for activity recorded while members had Chat and Cowork unified turned on.
3503
3504 - `distinct_connectors_used_count: number or null`
3505
3506 Same measure as `cowork_metrics.distinct_connectors_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3507
3508 - `distinct_plugins_used_count: number or null`
3509
3510 Same measure as `cowork_metrics.distinct_plugins_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3511
3512 - `distinct_session_count: number or null`
3513
3514 Same measure as `cowork_metrics.distinct_session_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3515
3516 - `distinct_skills_used_count: number or null`
3517
3518 Same measure as `cowork_metrics.distinct_skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3519
3520 - `edit_tool_count: number or null`
3521
3522 Same measure as `cowork_metrics.edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
3523
3524 - `file_edit_count: number or null`
3525
3526 Same measure as `cowork_metrics.file_edit_count`, for activity recorded while members had Chat and Cowork unified turned on.
3527
3528 - `message_count: number`
3529
3530 Same measure as `cowork_metrics.message_count`, for activity recorded while members had Chat and Cowork unified turned on.
3531
3532 - `multi_edit_tool_count: number or null`
3533
3534 Same measure as `cowork_metrics.multi_edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on. Claude no longer has a multi-edit tool, so expect 0 when not null; each edit is now a separate Edit tool call, counted in `edit_tool_count` and `file_edit_count`.
3535
3536 - `notebook_edit_tool_count: number or null`
3537
3538 Same measure as `cowork_metrics.notebook_edit_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
3539
3540 - `plugins_used_count: number or null`
3541
3542 Same measure as `cowork_metrics.plugins_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
3543
3544 - `sessions_with_file_edits_count: number or null`
3545
3546 Same measure as `cowork_metrics.sessions_with_file_edits_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
3547
3548 - `skills_used_count: number`
3549
3550 Same measure as `cowork_metrics.skills_used_count`, for activity recorded while members had Chat and Cowork unified turned on.
3551
3552 - `write_tool_count: number or null`
3553
3554 Same measure as `cowork_metrics.write_tool_count`, for activity recorded while members had Chat and Cowork unified turned on.
30253555
30263556 - `distinct_user_count: optional number or null`
30273557
from line 3718
31883718 "skills_used_count": 0
31893719 },
31903720 "web_search_count": 0,
3721 "chat_cowork_unified_metrics": {
3722 "chat": {
3723 "connectors_used_count": 0,
3724 "distinct_artifacts_created_count": 0,
3725 "distinct_connectors_used_count": 0,
3726 "distinct_conversation_count": 0,
3727 "distinct_files_uploaded_count": 0,
3728 "distinct_projects_created_count": 0,
3729 "distinct_projects_used_count": 0,
3730 "distinct_shared_artifacts_viewed_count": 0,
3731 "distinct_skills_used_count": 0,
3732 "message_count": 0,
3733 "shared_conversations_viewed_count": 0,
3734 "thinking_message_count": 0
3735 },
3736 "sessions": {
3737 "action_count": 0,
3738 "artifacts_created_count": 0,
3739 "connectors_used_count": 0,
3740 "dispatch_turn_count": 0,
3741 "distinct_connectors_used_count": 0,
3742 "distinct_plugins_used_count": 0,
3743 "distinct_session_count": 0,
3744 "distinct_skills_used_count": 0,
3745 "edit_tool_count": 0,
3746 "file_edit_count": 0,
3747 "message_count": 0,
3748 "multi_edit_tool_count": 0,
3749 "notebook_edit_tool_count": 0,
3750 "plugins_used_count": 0,
3751 "sessions_with_file_edits_count": 0,
3752 "skills_used_count": 0,
3753 "write_tool_count": 0
3754 }
3755 },
31913756 "distinct_user_count": 0,
31923757 "last_activity_date": "2019-12-27",
31933758 "rbac_group_id": "rbac_group_id",
from line 3890
33253890
33263891 - `product: optional string or null`
33273892
3328 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
3893 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
33293894
33303895 - `rbac_group_id: optional string or null`
33313896
from line 3976
34113976
34123977- `filter: optional array of string`
34133978
3414 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `connector_name`, `product`, `rbac_group_id`, `user_id`. Value forms: `connector_name` matches case-insensitively, a display name such as 'GitHub MCP' also matches its normalized stored form ('github'), and for rows whose `connector_name` is an opaque connector id the connector's display name (`connector_display_name`) also matches; `product` is one of `chat`, `claude_code`, `cowork`, or `office_agent`; `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries.
3979 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `connector_name`, `product`, `rbac_group_id`, `user_id`. Value forms: `connector_name` matches case-insensitively, a display name such as 'GitHub MCP' also matches its normalized stored form ('github'), and for rows whose `connector_name` is an opaque connector id the connector's display name (`connector_display_name`) also matches; `product` is one of `chat_cowork_unified`, `chat`, `claude_code`, `cowork`, or `office_agent`; `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries. `chat_cowork_unified` is accepted as a `product` value only on deployments that offer Chat and Cowork unified.
34153980
34163981 maxItems: 100
34173982
from line 4080
35154080
35164081 Office Agent activity metrics for a single connector on a given day within one Office product.
35174082
4083 - `chat_cowork_unified_metrics: optional object or null`
4084
4085 Connector use recorded while members had Chat and Cowork unified (Cowork's features inside claude.ai chat) turned on, split into chat conversations and Cowork sessions. A count is null in date-range mode where it cannot be computed. Omitted from the response on deployments that do not offer Chat and Cowork unified.
4086
4087 - `chat: BetaAnalyticsConnectorChatCoworkUnifiedChatMetrics`
4088
4089 A connector's use in chat conversations recorded while members had
4090 Chat and Cowork unified turned on.
4091
4092 - `distinct_conversation_connector_used_count: number or null`
4093
4094 Same measure as `chat_metrics.distinct_conversation_connector_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
4095
4096 - `sessions: BetaAnalyticsConnectorChatCoworkUnifiedSessionsMetrics`
4097
4098 A connector's use in Cowork sessions recorded while members had
4099 Chat and Cowork unified turned on.
4100
4101 - `distinct_session_connector_used_count: number or null`
4102
4103 Same measure as `cowork_metrics.distinct_session_connector_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
4104
35184105 - `connector_display_name: optional string or null`
35194106
35204107 Human-readable display name for rows whose `connector_name` is an opaque connector id rather than a readable name, resolved at request time from the organization's connectors (including connectors that have since been removed). `connector_name` remains the row's stable key for sorting and pagination, and `filter[]=connector_name:{value}` also matches these rows by display name. Display names are not unique, and the same connector's claude.ai usage can appear under a separate row with a readable `connector_name`. Null when `connector_name` is already a readable name, when the id cannot be resolved to one of the organization's connectors, or when display-name resolution is not enabled for this organization.
from line 4116
35294116
35304117 - `product: optional string or null`
35314118
3532 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
4119 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
35334120
35344121 - `rbac_group_id: optional string or null`
35354122
from line 4185
35984185 "distinct_session_connector_used_count": 0
35994186 }
36004187 },
4188 "chat_cowork_unified_metrics": {
4189 "chat": {
4190 "distinct_conversation_connector_used_count": 0
4191 },
4192 "sessions": {
4193 "distinct_session_connector_used_count": 0
4194 }
4195 },
36014196 "connector_display_name": "connector_display_name",
36024197 "individual_auth_distinct_user_count": 0,
36034198 "managed_auth_distinct_user_count": 0,
from line 4245
36504245
36514246- `filter: optional array of string`
36524247
3653 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `plugin_name`, `product`, `rbac_group_id`, `user_id`. Value forms: `plugin_name` matches case-insensitively; `product` is `claude_code` or `cowork` (the only surfaces with plugin attribution); `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries.
4248 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `plugin_name`, `product`, `rbac_group_id`, `user_id`. Value forms: `plugin_name` matches case-insensitively; `product` is `chat_cowork_unified`, `claude_code`, or `cowork` (the only surfaces with plugin attribution); `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries. `chat_cowork_unified` is accepted as a `product` value only on deployments that offer Chat and Cowork unified.
36544249
36554250 maxItems: 100
36564251
36574252- `group_by: optional array of "product" or "rbac_group_id" or "user_id"`
36584253
3659 Dimensions to break results out by (e.g. `group_by[]=user_id`). Supported on this endpoint: `product`, `rbac_group_id`, `user_id`. On this endpoint `product` takes the values `claude_code` or `cowork` only (the surfaces with plugin attribution). Grouped rows carry the requested dimension values as additional fields and paginate like ungrouped responses via `next_page`; an unsupported dimension returns 400. `rbac_group_id` attributes a user to every group they held at any point during each covered UTC day, so grouped rows are not an exclusive partition and can sum above org-level totals. At most 100 entries.
4254 Dimensions to break results out by (e.g. `group_by[]=user_id`). Supported on this endpoint: `product`, `rbac_group_id`, `user_id`. On this endpoint `product` takes the values `chat_cowork_unified`, `claude_code`, or `cowork` only (the surfaces with plugin attribution). Grouped rows carry the requested dimension values as additional fields and paginate like ungrouped responses via `next_page`; an unsupported dimension returns 400. `rbac_group_id` attributes a user to every group they held at any point during each covered UTC day, so grouped rows are not an exclusive partition and can sum above org-level totals. At most 100 entries.
36604255
36614256 maxItems: 100
36624257
from line 4325
37304325
37314326 Name of the plugin
37324327
4328 - `chat_cowork_unified_metrics: optional object or null`
4329
4330 Plugin use recorded while members had Chat and Cowork unified (Cowork's features inside claude.ai chat) turned on. A count is null in date-range mode where it cannot be computed. Omitted from the response on deployments that do not offer Chat and Cowork unified.
4331
4332 - `distinct_session_plugin_used_count: number or null`
4333
4334 Same measure as `cowork_metrics.distinct_session_plugin_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Null on aggregated rows where a distinct count cannot be computed.
4335
37334336 - `plugin_id: optional string or null`
37344337
37354338 Stable plugin identifier when available (e.g. `serena@claude-plugins-official`). Null for third-party Claude Code plugins (redacted at the source) and Cowork slash commands that carry only a hashed id.
37364339
37374340 - `product: optional string or null`
37384341
3739 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
4342 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
37404343
37414344 - `rbac_group_id: optional string or null`
37424345
from line 4381
37784381 "install_count": 0,
37794382 "invocation_count": 0,
37804383 "plugin_name": "plugin_name",
4384 "chat_cowork_unified_metrics": {
4385 "distinct_session_plugin_used_count": 0
4386 },
37814387 "plugin_id": "plugin_id",
37824388 "product": "product",
37834389 "rbac_group_id": "rbac_group_id",
from line 4426
38204426
38214427- `filter: optional array of string`
38224428
3823 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `product`, `rbac_group_id`, `share_status`, `skill_name`, `user_id`. Value forms: `product` is one of `chat`, `claude_code`, `cowork`, or `office_agent`; `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `share_status` is one of `organization`, `private`, or `public`; `skill_name` matches case-insensitively; `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries.
4429 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `product`, `rbac_group_id`, `share_status`, `skill_name`, `user_id`. Value forms: `product` is one of `chat_cowork_unified`, `chat`, `claude_code`, `cowork`, or `office_agent`; `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `share_status` is one of `organization`, `private`, or `public`; `skill_name` matches case-insensitively; `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries. `chat_cowork_unified` is accepted as a `product` value only on deployments that offer Chat and Cowork unified.
38244430
38254431 maxItems: 100
38264432
from line 4534
39284534
39294535 List-price (rate-card) value of the member requests attributed to this skill, as a decimal string in the minor unit of `currency` (cents for USD), from Claude Code, Cowork, and Office Agent request-level attribution — the value of requests that involved the skill, not the skill's incremental cost. Unlike `estimated_overage_spend` this reflects usage value regardless of how it was funded — seat-covered usage counts — but it is undiscounted and does not tie to billed spend or the organization's spend reporting. claude.ai chat usage carries no request-level attribution and contributes nothing: the field is null on `chat` product rows and on `office_agent` product cuts dated before 2026-06-18 (the Office Agent attribution data-start), and on ungrouped rows it covers the Claude Code + Cowork + Office Agent share only (null when no attributable usage exists). Also null under the same conditions as `estimated_overage_spend` (spend reporting not enabled for this organization, `office_agent` product cuts before the 2026-06-18 data-start). "0" means attributable usage existed but none was attributed to this skill. Addable across days: date-range rollup mode returns the window's sum. On `group_by[]` and `filter[]` shapes both amounts can total below the ungrouped value for the same skill over the same date or range: spend attributed to a member–skill pair with no counted usage on that day is excluded from those cuts.
39304536
4537 - `chat_cowork_unified_metrics: optional object or null`
4538
4539 Skill use recorded while members had Chat and Cowork unified (Cowork's features inside claude.ai chat) turned on, split into chat conversations and Cowork sessions. A count is null in date-range mode where it cannot be computed. Omitted from the response on deployments that do not offer Chat and Cowork unified.
4540
4541 - `chat: BetaAnalyticsSkillChatCoworkUnifiedChatMetrics`
4542
4543 A skill's use in chat conversations recorded while members had
4544 Chat and Cowork unified turned on.
4545
4546 - `distinct_conversation_skill_used_count: number or null`
4547
4548 Same measure as `chat_metrics.distinct_conversation_skill_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
4549
4550 - `sessions: BetaAnalyticsSkillChatCoworkUnifiedSessionsMetrics`
4551
4552 A skill's use in Cowork sessions recorded while members had Chat
4553 and Cowork unified turned on.
4554
4555 - `distinct_session_skill_used_count: number or null`
4556
4557 Same measure as `cowork_metrics.distinct_session_skill_used_count`, for activity recorded while members had Chat and Cowork unified turned on. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
4558
39314559 - `currency: optional string or null`
39324560
39334561 Currency for this row's monetary fields (`estimated_overage_spend` and `attributed_list_price`), as an uppercase ISO-4217 code. Always "USD" when either amount is populated; null whenever both amounts are null.
from line 4574
39464574
39474575 - `product: optional string or null`
39484576
3949 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
4577 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
39504578
39514579 - `rbac_group_id: optional string or null`
39524580
from line 4646
40184646 },
40194647 "skill_name": "skill_name",
40204648 "attributed_list_price": "attributed_list_price",
4649 "chat_cowork_unified_metrics": {
4650 "chat": {
4651 "distinct_conversation_skill_used_count": 0
4652 },
4653 "sessions": {
4654 "distinct_session_skill_used_count": 0
4655 }
4656 },
40214657 "currency": "currency",
40224658 "enable_count": 0,
40234659 "estimated_overage_spend": "estimated_overage_spend",
from line 4694
40584694
40594695- `filter: optional array of string`
40604696
4061 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `artifact_type`, `is_shared`, `product`, `rbac_group_id`, `user_id`. Value forms: `artifact_type` is a canonical artifact MIME type (e.g. `text/markdown`) or `other`; `is_shared` is `true` or `false`; `product` is `chat`, `claude_code`, or `cowork` (the surfaces that create artifacts); `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries.
4697 Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: `artifact_type`, `is_shared`, `product`, `rbac_group_id`, `user_id`. Value forms: `artifact_type` is a canonical artifact MIME type (e.g. `text/markdown`) or `other`; `is_shared` is `true` or `false`; `product` is `chat_cowork_unified`, `chat`, `claude_code`, or `cowork` (the surfaces that create artifacts); `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); `user_id` takes a tagged user id (`user_...`), as emitted in responses. An unsupported dimension returns 400. At most 100 entries. `chat_cowork_unified` is accepted as a `product` value only on deployments that offer Chat and Cowork unified.
40624698
40634699 maxItems: 100
40644700
40654701- `group_by: optional array of "product" or "rbac_group_id" or "user_id"`
40664702
4067 Dimensions to break results out by: `product`, `user_id` and/or `rbac_group_id`. The ungrouped artifact-type cube is finite and returned in full; grouped queries multiply the cube and paginate via `next_page`. `product` takes the values `chat`, `claude_code`, or `cowork` (the surfaces that create artifacts). `rbac_group_id` attributes a user to every group they held at any point during the requested UTC day, so grouped rows are not an exclusive partition. At most 100 entries.
4703 Dimensions to break results out by: `product`, `user_id` and/or `rbac_group_id`. The ungrouped artifact-type cube is finite and returned in full; grouped queries multiply the cube and paginate via `next_page`. `product` takes the values `chat_cowork_unified`, `chat`, `claude_code`, or `cowork` (the surfaces that create artifacts). `rbac_group_id` attributes a user to every group they held at any point during the requested UTC day, so grouped rows are not an exclusive partition. At most 100 entries.
40684704
40694705 maxItems: 100
40704706
from line 4746
41104746
41114747 - `product: optional string or null`
41124748
4113 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, or `office_agent` (the canonical Cost & Usage product naming; an `office_agent` row's per-surface breakdown is in its `office_metrics`). On `/plugins` only `cowork` and `claude_code` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, and `cowork` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
4749 Product that produced this row's activity: one of `chat`, `claude_code`, `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified). These are the canonical Cost & Usage product names; an `office_agent` row's per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`, `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and `chat_cowork_unified` occur (the surfaces that create artifacts); `/apps/chat/projects` does not support the product dimension (a `product` entry in `group_by[]` or `filter[]` there is rejected). Present only when the request grouped by `product`.
41144750
41154751 - `rbac_group_id: optional string or null`
41164752
from line 4924
42884924
42894925 - `"chat"`
42904926
4927 - `"chat_cowork_unified"`
4928
42914929 - `"claude-tag"`
42924930
42934931 - `"claude_code"`
from line 5046
44085046
44095047 - `product: string or null`
44105048
4411 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
5049 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
44125050
44135051 - `rbac_group_id: string or null`
44145052
from line 5315
46775315
46785316 - `"chat"`
46795317
5318 - `"chat_cowork_unified"`
5319
46805320 - `"claude-tag"`
46815321
46825322 - `"claude_code"`
from line 5463
48235463
48245464 - `product: string or null`
48255465
4826 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
5466 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
48275467
48285468 - `rbac_group_id: string or null`
48295469
from line 5714
50745714
50755715 - `"chat"`
50765716
5717 - `"chat_cowork_unified"`
5718
50775719 - `"claude-tag"`
50785720
50795721 - `"claude_code"`
from line 5836
51945836
51955837 - `product: string or null`
51965838
5197 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
5839 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
51985840
51995841 - `rbac_group_id: string or null`
52005842
from line 6102
54606102
54616103 - `"chat"`
54626104
6105 - `"chat_cowork_unified"`
6106
54636107 - `"claude-tag"`
54646108
54656109 - `"claude_code"`
from line 6250
56066250
56076251 - `product: string or null`
56086252
5609 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, and `claude-tag`. `claude-tag` is Claude Tag, the Claude product in Slack. Some unattributed usage is reported as "other".
6253 Product surface that produced the usage or cost. Null unless product is in `group_by[]`; it can also be null on grouped rows whose usage cannot be attributed to a known surface. Values include `chat`, `claude_code`, `cowork`, `office_agent`, `claude_in_chrome`, `claude_design`, `claude-tag`, and `chat_cowork_unified`. `claude-tag` is Claude Tag, the Claude product in Slack. `chat_cowork_unified` is Chat and Cowork unified, Cowork's features inside claude.ai chat: chat and Cowork usage by a member who has it turned on is reported under this value instead of `chat` or `cowork`. It is accepted as a filter only on deployments that offer Chat and Cowork unified. Some unattributed usage is reported as "other".
56106254
56116255 - `rbac_group_id: string or null`
56126256
56136257