Plugins changedapi/beta/organization/analytics/plugins
Nearest release: v2.1.287, published 4 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+29added
Lines−99removed
From line
85
where the diff opens
First seen
10 Sep 2026
this site's first read of the page
Recorded edits2to this page, all time
## Domain types ### Beta Plugin Usage
The whole hunk
from line 85, old and new numbered
/
from line 85
8585
8686### Returns
8787
88- `BetaPluginUsage object`
88- `data: array of BetaAnalyticsPluginActivity`
8989
90 Response for GET /v1/organizations/analytics/plugins.
90 - `claude_code_metrics: BetaAnalyticsPluginClaudeCodeMetrics`
9191
92 - `data: array of object`
92 Claude Code activity metrics for a single plugin on a given day.
9393
94 - `claude_code_metrics: object`
94 - `distinct_session_plugin_used_count: number or null`
9595
96 Claude Code activity metrics for a single plugin on a given day.
96 Number of distinct Claude Code sessions in which the plugin was invoked. Null on aggregated rows where a distinct count cannot be computed.
9797
98 - `distinct_session_plugin_used_count: number or null`
98 - `cowork_metrics: BetaAnalyticsPluginCoworkMetrics`
9999
100 Number of distinct Claude Code sessions in which the plugin was invoked. Null on aggregated rows where a distinct count cannot be computed.
100 Cowork activity metrics for a single plugin on a given day.
101101
102 - `cowork_metrics: object`
102 - `distinct_session_plugin_used_count: number or null`
103103
104 Cowork activity metrics for a single plugin on a given day.
104 Number of distinct Cowork sessions in which the plugin was invoked. Null on aggregated rows where a distinct count cannot be computed.
105105
106 - `distinct_session_plugin_used_count: number or null`
106 - `distinct_user_count: number`
107107
108 Number of distinct Cowork sessions in which the plugin was invoked. Null on aggregated rows where a distinct count cannot be computed.
108 Number of distinct users with recorded install or invocation activity for the plugin on the requested day (install-only users count), or, in date-range mode, over the requested window — recomputed as an exact distinct count over the window's per-member daily rows, never a sum of per-day values.
109109
110 - `distinct_user_count: number`
110 - `install_count: number or null`
111111
112 Number of distinct users with recorded install or invocation activity for the plugin on the requested day (install-only users count), or, in date-range mode, over the requested window — recomputed as an exact distinct count over the window's per-member daily rows, never a sum of per-day values.
112 Number of distinct users who installed the plugin on the requested day, or, in date-range mode, over the requested window — recomputed as an exact distinct count over the window's per-member daily rows, never a sum of per-day values.
113113
114 - `install_count: number or null`
114 - `invocation_count: number`
115115
116 Number of distinct users who installed the plugin on the requested day, or, in date-range mode, over the requested window — recomputed as an exact distinct count over the window's per-member daily rows, never a sum of per-day values.
116 Number of plugin invocations on the requested day
117117
118 - `invocation_count: number`
118 - `plugin_name: string`
119119
120 Number of plugin invocations on the requested day
120 Name of the plugin
121121
122 - `plugin_name: string`
122 - `plugin_id: optional string or null`
123123
124 Name of the plugin
124 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.
125125
126 - `plugin_id: optional string or null`
126 - `product: optional string or null`
127127
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.
128 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`.
129129
130 - `product: optional string or null`
130 - `rbac_group_id: optional string or null`
131131
132 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`.
132 Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API spelling. Present only when the request grouped by `rbac_group_id`.
133133
134 - `rbac_group_id: optional string or null`
134 - `rbac_group_name: optional string or null`
135135
136 Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API spelling. Present only when the request grouped by `rbac_group_id`.
136 Resolved RBAC group display name, alongside `rbac_group_id` when name resolution is available. Null if the group has been deleted or its name could not be resolved; `rbac_group_id` remains the stable key.
137137
138 - `rbac_group_name: optional string or null`
138 - `user_id: optional string or null`
139139
140 Resolved RBAC group display name, alongside `rbac_group_id` when name resolution is available. Null if the group has been deleted or its name could not be resolved; `rbac_group_id` remains the stable key.
140 Tagged user identifier (e.g. `user_...`). Present only when the request grouped by `user_id`.
141141
142 - `user_id: optional string or null`
142- `next_page: string or null`
143143
144 Tagged user identifier (e.g. `user_...`). Present only when the request grouped by `user_id`.
144 Opaque cursor for the next page, or null if no more results
145145
146 - `next_page: string or null`
147
148 Opaque cursor for the next page, or null if no more results
149
150146### Example
151147
152148```bash
from line 177
181177 "next_page": "next_page"
182178}
183179```
184
185## Domain types
186
187### Beta Plugin Usage
188
189- `BetaPluginUsage object`
190
191 Response for GET /v1/organizations/analytics/plugins.
192
193 - `data: array of object`
194
195 - `claude_code_metrics: object`
196
197 Claude Code activity metrics for a single plugin on a given day.
198
199 - `distinct_session_plugin_used_count: number or null`
200
201 Number of distinct Claude Code sessions in which the plugin was invoked. Null on aggregated rows where a distinct count cannot be computed.
202
203 - `cowork_metrics: object`
204
205 Cowork activity metrics for a single plugin on a given day.
206
207 - `distinct_session_plugin_used_count: number or null`
208
209 Number of distinct Cowork sessions in which the plugin was invoked. Null on aggregated rows where a distinct count cannot be computed.
210
211 - `distinct_user_count: number`
212
213 Number of distinct users with recorded install or invocation activity for the plugin on the requested day (install-only users count), or, in date-range mode, over the requested window — recomputed as an exact distinct count over the window's per-member daily rows, never a sum of per-day values.
214
215 - `install_count: number or null`
216
217 Number of distinct users who installed the plugin on the requested day, or, in date-range mode, over the requested window — recomputed as an exact distinct count over the window's per-member daily rows, never a sum of per-day values.
218
219 - `invocation_count: number`
220
221 Number of plugin invocations on the requested day
222
223 - `plugin_name: string`
224
225 Name of the plugin
226
227 - `plugin_id: optional string or null`
228
229 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.
230
231 - `product: optional string or null`
232
233 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`.
234
235 - `rbac_group_id: optional string or null`
236
237 Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API spelling. Present only when the request grouped by `rbac_group_id`.
238
239 - `rbac_group_name: optional string or null`
240
241 Resolved RBAC group display name, alongside `rbac_group_id` when name resolution is available. Null if the group has been deleted or its name could not be resolved; `rbac_group_id` remains the stable key.
242
243 - `user_id: optional string or null`
244
245 Tagged user identifier (e.g. `user_...`). Present only when the request grouped by `user_id`.
246
247 - `next_page: string or null`
248
249 Opaque cursor for the next page, or null if no more results
250180
No line in this hunk matches that.