Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Plugins changedapi/beta/organization/analytics/plugins

Recorded here
Lines+8added
Lines−8removed
From line 43 where the diff opens
First seen 10 Sep 2026 this site's first read of the page
Recorded edits7to this page, all time

The whole hunk

from line 43, old and new numbered
/
lines
from line 43
4343 
4444 maxItems: 100
4545 
46- `group_by: optional array of "product" or "rbac_group_id" or "user_id"`
46- `group_by: optional array of BetaAnalyticsPluginGroupBy`
4747 
4848 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.
4949 
from line 61
6161 
6262 minimum: 1, maximum: 1000
6363 
64- `order: optional "asc" or "desc"`
64- `order: optional BetaAnalyticsOrder`
6565 
6666 Sort direction: `asc` or `desc`. Defaults to `asc` for the endpoint's sort column and to `desc` when `order_by` names a metric (a top-N ranking). Applies to `order_by`, or to the endpoint's default sort field when `order_by` is omitted.
6767 
from line 123
123123 
124124 Number of plugin invocations on the requested day
125125 
126 - `plugin_id: string or null`
127 
128 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.
129 
126130 - `plugin_name: string`
127131 
128132 Name of the plugin
129133 
130 - `chat_cowork_unified_metrics: optional object or null`
134 - `chat_cowork_unified_metrics: optional BetaAnalyticsPluginChatCoworkUnifiedMetrics or null`
131135 
132136 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.
133137 
from line 139
135139 
136140 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.
137141 
138 - `plugin_id: optional string or null`
139 
140 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.
141 
142142 - `product: optional string or null`
143143 
144144 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`.
from line 182
182182 "distinct_user_count": 0,
183183 "install_count": 0,
184184 "invocation_count": 0,
185 "plugin_id": "plugin_id",
185186 "plugin_name": "plugin_name",
186187 "chat_cowork_unified_metrics": {
187188 "distinct_session_plugin_used_count": 0
188189 },
189 "plugin_id": "plugin_id",
190190 "product": "product",
191191 "rbac_group_id": "rbac_group_id",
192192 "rbac_group_name": "rbac_group_name",
Feedback