Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.288 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Users changedapi/beta/organization/analytics/users

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+304added
Lines−638removed
From line 73 where the diff opens
First seen 10 Sep 2026 this site's first read of the page
Recorded edits3to this page, all time

## Domain types ### Beta User Activity

The whole hunk

from line 73, old and new numbered
/
lines

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 73
7373 
7474### Returns
7575 
76- `BetaUserActivity object`
77 
78 Response for GET /v1/organizations/analytics/users.
79 
80 - `data: array of object`
81 
82 - `chat_metrics: object`
83 
84 Claude.ai activity metrics for a single user on a given day.
76- `data: array of BetaAnalyticsUserActivity`
77 
78 - `chat_metrics: BetaAnalyticsChatMetrics`
79 
80 Claude.ai activity metrics for a single user on a given day.
81 
82 - `connectors_used_count: number`
83 
84 Number of MCP connector invocations.
85 
86 - `distinct_artifacts_created_count: number`
87 
88 Number of distinct artifacts created. 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.
89 
90 - `distinct_connectors_used_count: number or null`
91 
92 Distinct claude.ai connectors this user used. Excludes calls whose connector could not be identified and all calls from organizations with zero data retention. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
93 
94 - `distinct_conversation_count: number or null`
95 
96 Number of distinct conversations the user participated in. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
97 
98 - `distinct_files_uploaded_count: number or null`
99 
100 Number of distinct files uploaded. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
101 
102 - `distinct_projects_created_count: number`
103 
104 Number of distinct projects created. 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.
105 
106 - `distinct_projects_used_count: number or null`
107 
108 Number of distinct projects used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
109 
110 - `distinct_shared_artifacts_viewed_count: number or null`
111 
112 Number of distinct shared artifacts the user viewed. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
113 
114 - `distinct_skills_used_count: number or null`
115 
116 Number of distinct skills used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
117 
118 - `message_count: number`
119 
120 Number of messages sent
121 
122 - `shared_conversations_viewed_count: number`
123 
124 Number of times the user opened a shared conversation in a project
125 
126 - `thinking_message_count: number`
127 
128 Number of messages that used extended thinking
129 
130 - `claude_code_metrics: BetaAnalyticsClaudeCodeMetrics`
131 
132 Claude Code activity metrics for a single user on a given day.
133 
134 - `core_metrics: BetaAnalyticsCoreCodeMetrics`
135 
136 Core Claude Code activity metrics for a single user on a given day.
137 
138 - `artifacts_created_count: number`
139 
140 Number of artifacts created in Claude Code sessions: an artifact counts once, on the day a session first saves it. Counted from 2026-08-17; 0 on earlier days. 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.
141 
142 - `commit_count: number`
143 
144 Number of commits made via Claude Code
145 
146 - `distinct_session_count: number or null`
147 
148 Number of distinct Claude Code sessions. On aggregated rows and in date-range mode: summed per-day distinct counts. A session essentially never spans a UTC day, so the sum is in practice the true distinct count.
149 
150 - `lines_of_code: BetaAnalyticsLinesOfCode`
151 
152 Lines of code added and removed via Claude Code.
153 
154 - `added_count: number`
155 
156 Lines of code added
157 
158 - `removed_count: number`
159 
160 Lines of code removed
161 
162 - `pull_request_count: number`
163 
164 Number of pull requests created via Claude Code
165 
166 - `tool_actions: BetaAnalyticsToolActions`
167 
168 Per-tool accepted/rejected counts for Claude Code file modification tools.
169 
170 - `edit_tool: BetaAnalyticsToolActionCounts`
171 
172 Accepted/rejected counts for a single Claude Code tool type.
173 
174 - `accepted_count: number`
175 
176 Number of tool proposals accepted
177 
178 - `rejected_count: number`
179 
180 Number of tool proposals rejected
181 
182 - `multi_edit_tool: BetaAnalyticsToolActionCounts`
183 
184 Accepted/rejected counts for a single Claude Code tool type.
185 
186 - `notebook_edit_tool: BetaAnalyticsToolActionCounts`
187 
188 Accepted/rejected counts for a single Claude Code tool type.
189 
190 - `write_tool: BetaAnalyticsToolActionCounts`
191 
192 Accepted/rejected counts for a single Claude Code tool type.
193 
194 - `cowork_metrics: BetaAnalyticsCoworkMetrics`
195 
196 Cowork activity metrics for a single user on a given day.
197 
198 - `action_count: number`
199 
200 Number of tool actions completed in Cowork sessions
201 
202 - `artifacts_created_count: number`
203 
204 Number of artifacts created in Cowork sessions: an artifact counts once, on the day a session first saves it. Counted from 2026-08-17; 0 on earlier days. 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.
205 
206 - `connectors_used_count: number`
207 
208 Total number of connector invocations in Cowork sessions
209 
210 - `dispatch_turn_count: number`
211 
212 Number of Dispatch (background agent) turns completed
213 
214 - `distinct_connectors_used_count: number or null`
215 
216 Number of distinct connectors used in Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
217 
218 - `distinct_session_count: number or null`
219 
220 Number of distinct Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
221 
222 - `distinct_skills_used_count: number or null`
223 
224 Number of distinct skills used in Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
225 
226 - `message_count: number`
227 
228 Number of messages sent in Cowork sessions
229 
230 - `skills_used_count: number`
231 
232 Total number of skill invocations in Cowork sessions
233 
234 - `distinct_plugins_used_count: optional number or null`
235 
236 Number of distinct plugins used in Cowork sessions. Null while Cowork plugin-use metrics are not enabled for this organization. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
237 
238 - `edit_tool_count: optional number or null`
239 
240 Number of successful Edit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
241 
242 - `file_edit_count: optional number or null`
243 
244 Number of successful file-edit tool calls (Edit, MultiEdit, Write, NotebookEdit) in Cowork sessions. Null, never 0, while the file-edit metrics are not enabled for this organization.
245 
246 - `multi_edit_tool_count: optional number or null`
247 
248 Number of successful MultiEdit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
249 
250 - `notebook_edit_tool_count: optional number or null`
251 
252 Number of successful NotebookEdit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
253 
254 - `plugins_used_count: optional number or null`
255 
256 Total number of plugin invocations in Cowork sessions. Null while Cowork plugin-use metrics are not enabled for this organization.
257 
258 - `sessions_with_file_edits_count: optional number or null`
259 
260 Number of distinct Cowork sessions with at least one successful file-edit tool call. Null while the file-edit metrics are not enabled for this organization. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
261 
262 - `write_tool_count: optional number or null`
263 
264 Number of successful Write tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
265 
266 - `design_metrics: BetaAnalyticsDesignMetrics`
267 
268 Claude Design activity metrics for a single user on a given day.
269 
270 - `distinct_projects_created_count: number`
271 
272 Number of distinct Claude Design projects created. 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.
273 
274 - `distinct_projects_used_count: number or null`
275 
276 Number of distinct Claude Design projects the user worked in. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
277 
278 - `distinct_session_count: number or null`
279 
280 Number of distinct Claude Design sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
281 
282 - `message_count: number`
283 
284 Number of messages sent in Claude Design sessions
285 
286 - `office_metrics: BetaAnalyticsOfficeMetrics`
287 
288 Office Agent activity metrics for a single user on a given day, broken out by Office product.
289 
290 - `excel: BetaAnalyticsOfficeProductMetrics`
291 
292 Office Agent activity metrics for a single user on a given day within one Office product.
85293 
86294 - `connectors_used_count: number`
87295 
88 Number of MCP connector invocations.
89 
90 - `distinct_artifacts_created_count: number`
91 
92 Number of distinct artifacts created. 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.
296 Number of MCP connector invocations
93297 
94298 - `distinct_connectors_used_count: number or null`
95299 
96 Distinct claude.ai connectors this user used. Excludes calls whose connector could not be identified and all calls from organizations with zero data retention. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
97 
98 - `distinct_conversation_count: number or null`
99 
100 Number of distinct conversations the user participated in. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
101 
102 - `distinct_files_uploaded_count: number or null`
103 
104 Number of distinct files uploaded. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
105 
106 - `distinct_projects_created_count: number`
107 
108 Number of distinct projects created. 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.
109 
110 - `distinct_projects_used_count: number or null`
111 
112 Number of distinct projects used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
113 
114 - `distinct_shared_artifacts_viewed_count: number or null`
115 
116 Number of distinct shared artifacts the user viewed. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
300 Number of distinct MCP connectors used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
301 
302 - `distinct_session_count: number or null`
303 
304 Number of distinct Office Agent sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
117305 
118306 - `distinct_skills_used_count: number or null`
119307 
from line 311
123311 
124312 Number of messages sent
125313 
126 - `shared_conversations_viewed_count: number`
127 
128 Number of times the user opened a shared conversation in a project
129 
130 - `thinking_message_count: number`
131 
132 Number of messages that used extended thinking
133 
134 - `claude_code_metrics: object`
135 
136 Claude Code activity metrics for a single user on a given day.
137 
138 - `core_metrics: object`
139 
140 Core Claude Code activity metrics for a single user on a given day.
141 
142 - `artifacts_created_count: number`
143 
144 Number of artifacts created in Claude Code sessions: an artifact counts once, on the day a session first saves it. Counted from 2026-08-17; 0 on earlier days. 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.
145 
146 - `commit_count: number`
147 
148 Number of commits made via Claude Code
149 
150 - `distinct_session_count: number or null`
151 
152 Number of distinct Claude Code sessions. On aggregated rows and in date-range mode: summed per-day distinct counts. A session essentially never spans a UTC day, so the sum is in practice the true distinct count.
153 
154 - `lines_of_code: object`
155 
156 Lines of code added and removed via Claude Code.
157 
158 - `added_count: number`
159 
160 Lines of code added
161 
162 - `removed_count: number`
163 
164 Lines of code removed
165 
166 - `pull_request_count: number`
167 
168 Number of pull requests created via Claude Code
169 
170 - `tool_actions: object`
171 
172 Per-tool accepted/rejected counts for Claude Code file modification tools.
173 
174 - `edit_tool: BetaToolActionCounts`
175 
176 Accepted/rejected counts for a single Claude Code tool type.
177 
178 - `accepted_count: number`
179 
180 Number of tool proposals accepted
181 
182 - `rejected_count: number`
183 
184 Number of tool proposals rejected
185 
186 - `multi_edit_tool: BetaToolActionCounts`
187 
188 Accepted/rejected counts for a single Claude Code tool type.
189 
190 - `notebook_edit_tool: BetaToolActionCounts`
191 
192 Accepted/rejected counts for a single Claude Code tool type.
193 
194 - `write_tool: BetaToolActionCounts`
195 
196 Accepted/rejected counts for a single Claude Code tool type.
197 
198 - `cowork_metrics: object`
199 
200 Cowork activity metrics for a single user on a given day.
201 
202 - `action_count: number`
203 
204 Number of tool actions completed in Cowork sessions
205 
206 - `artifacts_created_count: number`
207 
208 Number of artifacts created in Cowork sessions: an artifact counts once, on the day a session first saves it. Counted from 2026-08-17; 0 on earlier days. 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.
209 
210 - `connectors_used_count: number`
211 
212 Total number of connector invocations in Cowork sessions
213 
214 - `dispatch_turn_count: number`
215 
216 Number of Dispatch (background agent) turns completed
217 
218 - `distinct_connectors_used_count: number or null`
219 
220 Number of distinct connectors used in Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
221 
222 - `distinct_session_count: number or null`
223 
224 Number of distinct Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
225 
226 - `distinct_skills_used_count: number or null`
227 
228 Number of distinct skills used in Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
229 
230 - `message_count: number`
231 
232 Number of messages sent in Cowork sessions
233 
234314 - `skills_used_count: number`
235315 
236 Total number of skill invocations in Cowork sessions
237 
238 - `distinct_plugins_used_count: optional number or null`
239 
240 Number of distinct plugins used in Cowork sessions. Null while Cowork plugin-use metrics are not enabled for this organization. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
241 
242 - `edit_tool_count: optional number or null`
243 
244 Number of successful Edit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
245 
246 - `file_edit_count: optional number or null`
247 
248 Number of successful file-edit tool calls (Edit, MultiEdit, Write, NotebookEdit) in Cowork sessions. Null, never 0, while the file-edit metrics are not enabled for this organization.
249 
250 - `multi_edit_tool_count: optional number or null`
251 
252 Number of successful MultiEdit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
253 
254 - `notebook_edit_tool_count: optional number or null`
255 
256 Number of successful NotebookEdit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
257 
258 - `plugins_used_count: optional number or null`
259 
260 Total number of plugin invocations in Cowork sessions. Null while Cowork plugin-use metrics are not enabled for this organization.
261 
262 - `sessions_with_file_edits_count: optional number or null`
263 
264 Number of distinct Cowork sessions with at least one successful file-edit tool call. Null while the file-edit metrics are not enabled for this organization. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
265 
266 - `write_tool_count: optional number or null`
267 
268 Number of successful Write tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
269 
270 - `design_metrics: object`
271 
272 Claude Design activity metrics for a single user on a given day.
273 
274 - `distinct_projects_created_count: number`
275 
276 Number of distinct Claude Design projects created. 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.
277 
278 - `distinct_projects_used_count: number or null`
279 
280 Number of distinct Claude Design projects the user worked in. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
281 
282 - `distinct_session_count: number or null`
283 
284 Number of distinct Claude Design sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
285 
286 - `message_count: number`
287 
288 Number of messages sent in Claude Design sessions
289 
290 - `office_metrics: object`
291 
292 Office Agent activity metrics for a single user on a given day, broken out by Office product.
293 
294 - `excel: BetaOfficeProductMetrics`
295 
296 Office Agent activity metrics for a single user on a given day within one Office product.
297 
298 - `connectors_used_count: number`
299 
300 Number of MCP connector invocations
301 
302 - `distinct_connectors_used_count: number or null`
303 
304 Number of distinct MCP connectors used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
305 
306 - `distinct_session_count: number or null`
307 
308 Number of distinct Office Agent sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
309 
310 - `distinct_skills_used_count: number or null`
311 
312 Number of distinct skills used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
313 
314 - `message_count: number`
315 
316 Number of messages sent
317 
318 - `skills_used_count: number`
319 
320 Number of skill invocations
321 
322 - `outlook: BetaOfficeProductMetrics`
323 
324 Office Agent activity metrics for a single user on a given day within one Office product.
325 
326 - `powerpoint: BetaOfficeProductMetrics`
327 
328 Office Agent activity metrics for a single user on a given day within one Office product.
329 
330 - `word: BetaOfficeProductMetrics`
331 
332 Office Agent activity metrics for a single user on a given day within one Office product.
333 
334 - `science_metrics: object`
335 
336 Claude Science activity metrics for a single user on a given day.
337 
338 - `delegation_count: number`
339 
340 Number of delegations (handoffs to a specialized agent) in Claude Science sessions
341 
342 - `distinct_session_count: number or null`
343 
344 Number of distinct Claude Science sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
345 
346 - `message_count: number`
347 
348 Number of messages sent in Claude Science sessions
349 
350 - `remote_compute_job_count: number`
351 
352 Number of remote compute jobs launched from Claude Science sessions
353 
354 - `skills_used_count: number`
355 
356 Total number of skill invocations in Claude Science sessions
357 
358 - `web_search_count: number`
359 
360 Number of web searches performed
361 
362 - `distinct_user_count: optional number or null`
363 
364 Number of distinct active users represented by this row. Only set for grouped rollups (`group_by[]`); null for per-user rows. In date-range mode, recomputed as an exact distinct count of the group's active members over the requested window, never a sum of per-day values.
365 
366 - `last_activity_date: optional string or null`
367 
368 Most recent UTC day (YYYY-MM-DD) on which the user had any counted activity, within the requested window: equal to the requested `date` in single-day mode, and to the latest active day from `starting_date` (inclusive) to `ending_date` (exclusive) in date-range rollup mode — never a day earlier than the window start. On filtered requests (`filter[]`) only days matching the filter count: with `filter[]=rbac_group_id:{id}` it is the last day the user was active while a member of that group, consistent with the row's other metrics. On grouped (`group_by[]`) rows it is the latest day any member of the group was active (the requested `date` in single-day mode). Omitted from the response while last-activity reporting is not enabled for this organization.
369 
370 format: date
371 
372 - `rbac_group_id: optional string or null`
373 
374 Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API spelling. Present only when the request grouped by `rbac_group_id`.
375 
376 - `rbac_group_name: optional string or null`
377 
378 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.
379 
380 - `user: optional BetaAnalyticsUser or null`
381 
382 The user this row describes. Null on rows aggregated across users.
383 
384 - `type: "user"`
385 
386 Object type. Always `user`.
387 
388 default: user
389 
390 - `id: string`
391 
392 Tagged user identifier (e.g. `user_...`)
393 
394 - `email_address: string`
395 
396 Email address of the user
397 
398 - `next_page: string or null`
399 
400 Opaque cursor for the next page, or null if no more results
316 Number of skill invocations
317 
318 - `outlook: BetaAnalyticsOfficeProductMetrics`
319 
320 Office Agent activity metrics for a single user on a given day within one Office product.
321 
322 - `powerpoint: BetaAnalyticsOfficeProductMetrics`
323 
324 Office Agent activity metrics for a single user on a given day within one Office product.
325 
326 - `word: BetaAnalyticsOfficeProductMetrics`
327 
328 Office Agent activity metrics for a single user on a given day within one Office product.
329 
330 - `science_metrics: BetaAnalyticsScienceMetrics`
331 
332 Claude Science activity metrics for a single user on a given day.
333 
334 - `delegation_count: number`
335 
336 Number of delegations (handoffs to a specialized agent) in Claude Science sessions
337 
338 - `distinct_session_count: number or null`
339 
340 Number of distinct Claude Science sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
341 
342 - `message_count: number`
343 
344 Number of messages sent in Claude Science sessions
345 
346 - `remote_compute_job_count: number`
347 
348 Number of remote compute jobs launched from Claude Science sessions
349 
350 - `skills_used_count: number`
351 
352 Total number of skill invocations in Claude Science sessions
353 
354 - `web_search_count: number`
355 
356 Number of web searches performed
357 
358 - `distinct_user_count: optional number or null`
359 
360 Number of distinct active users represented by this row. Only set for grouped rollups (`group_by[]`); null for per-user rows. In date-range mode, recomputed as an exact distinct count of the group's active members over the requested window, never a sum of per-day values.
361 
362 - `last_activity_date: optional string or null`
363 
364 Most recent UTC day (YYYY-MM-DD) on which the user had any counted activity, within the requested window: equal to the requested `date` in single-day mode, and to the latest active day from `starting_date` (inclusive) to `ending_date` (exclusive) in date-range rollup mode — never a day earlier than the window start. On filtered requests (`filter[]`) only days matching the filter count: with `filter[]=rbac_group_id:{id}` it is the last day the user was active while a member of that group, consistent with the row's other metrics. On grouped (`group_by[]`) rows it is the latest day any member of the group was active (the requested `date` in single-day mode). Omitted from the response while last-activity reporting is not enabled for this organization.
365 
366 format: date
367 
368 - `rbac_group_id: optional string or null`
369 
370 Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API spelling. Present only when the request grouped by `rbac_group_id`.
371 
372 - `rbac_group_name: optional string or null`
373 
374 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.
375 
376 - `user: optional BetaAnalyticsUser or null`
377 
378 The user this row describes. Null on rows aggregated across users.
379 
380 - `type: "user"`
381 
382 Object type. Always `user`.
383 
384 default: user
385 
386 - `id: string`
387 
388 Tagged user identifier (e.g. `user_...`)
389 
390 - `email_address: string`
391 
392 Email address of the user
393 
394- `next_page: string or null`
395 
396 Opaque cursor for the next page, or null if no more results
401397 
402398### Example
403399 
from line 534
538534 "next_page": "next_page"
539535}
540536```
541 
542## Domain types
543 
544### Beta User Activity
545 
546- `BetaUserActivity object`
547 
548 Response for GET /v1/organizations/analytics/users.
549 
550 - `data: array of object`
551 
552 - `chat_metrics: object`
553 
554 Claude.ai activity metrics for a single user on a given day.
555 
556 - `connectors_used_count: number`
557 
558 Number of MCP connector invocations.
559 
560 - `distinct_artifacts_created_count: number`
561 
562 Number of distinct artifacts created. 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.
563 
564 - `distinct_connectors_used_count: number or null`
565 
566 Distinct claude.ai connectors this user used. Excludes calls whose connector could not be identified and all calls from organizations with zero data retention. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
567 
568 - `distinct_conversation_count: number or null`
569 
570 Number of distinct conversations the user participated in. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
571 
572 - `distinct_files_uploaded_count: number or null`
573 
574 Number of distinct files uploaded. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
575 
576 - `distinct_projects_created_count: number`
577 
578 Number of distinct projects created. 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.
579 
580 - `distinct_projects_used_count: number or null`
581 
582 Number of distinct projects used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
583 
584 - `distinct_shared_artifacts_viewed_count: number or null`
585 
586 Number of distinct shared artifacts the user viewed. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
587 
588 - `distinct_skills_used_count: number or null`
589 
590 Number of distinct skills used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
591 
592 - `message_count: number`
593 
594 Number of messages sent
595 
596 - `shared_conversations_viewed_count: number`
597 
598 Number of times the user opened a shared conversation in a project
599 
600 - `thinking_message_count: number`
601 
602 Number of messages that used extended thinking
603 
604 - `claude_code_metrics: object`
605 
606 Claude Code activity metrics for a single user on a given day.
607 
608 - `core_metrics: object`
609 
610 Core Claude Code activity metrics for a single user on a given day.
611 
612 - `artifacts_created_count: number`
613 
614 Number of artifacts created in Claude Code sessions: an artifact counts once, on the day a session first saves it. Counted from 2026-08-17; 0 on earlier days. 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.
615 
616 - `commit_count: number`
617 
618 Number of commits made via Claude Code
619 
620 - `distinct_session_count: number or null`
621 
622 Number of distinct Claude Code sessions. On aggregated rows and in date-range mode: summed per-day distinct counts. A session essentially never spans a UTC day, so the sum is in practice the true distinct count.
623 
624 - `lines_of_code: object`
625 
626 Lines of code added and removed via Claude Code.
627 
628 - `added_count: number`
629 
630 Lines of code added
631 
632 - `removed_count: number`
633 
634 Lines of code removed
635 
636 - `pull_request_count: number`
637 
638 Number of pull requests created via Claude Code
639 
640 - `tool_actions: object`
641 
642 Per-tool accepted/rejected counts for Claude Code file modification tools.
643 
644 - `edit_tool: BetaToolActionCounts`
645 
646 Accepted/rejected counts for a single Claude Code tool type.
647 
648 - `accepted_count: number`
649 
650 Number of tool proposals accepted
651 
652 - `rejected_count: number`
653 
654 Number of tool proposals rejected
655 
656 - `multi_edit_tool: BetaToolActionCounts`
657 
658 Accepted/rejected counts for a single Claude Code tool type.
659 
660 - `notebook_edit_tool: BetaToolActionCounts`
661 
662 Accepted/rejected counts for a single Claude Code tool type.
663 
664 - `write_tool: BetaToolActionCounts`
665 
666 Accepted/rejected counts for a single Claude Code tool type.
667 
668 - `cowork_metrics: object`
669 
670 Cowork activity metrics for a single user on a given day.
671 
672 - `action_count: number`
673 
674 Number of tool actions completed in Cowork sessions
675 
676 - `artifacts_created_count: number`
677 
678 Number of artifacts created in Cowork sessions: an artifact counts once, on the day a session first saves it. Counted from 2026-08-17; 0 on earlier days. 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.
679 
680 - `connectors_used_count: number`
681 
682 Total number of connector invocations in Cowork sessions
683 
684 - `dispatch_turn_count: number`
685 
686 Number of Dispatch (background agent) turns completed
687 
688 - `distinct_connectors_used_count: number or null`
689 
690 Number of distinct connectors used in Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
691 
692 - `distinct_session_count: number or null`
693 
694 Number of distinct Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
695 
696 - `distinct_skills_used_count: number or null`
697 
698 Number of distinct skills used in Cowork sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
699 
700 - `message_count: number`
701 
702 Number of messages sent in Cowork sessions
703 
704 - `skills_used_count: number`
705 
706 Total number of skill invocations in Cowork sessions
707 
708 - `distinct_plugins_used_count: optional number or null`
709 
710 Number of distinct plugins used in Cowork sessions. Null while Cowork plugin-use metrics are not enabled for this organization. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
711 
712 - `edit_tool_count: optional number or null`
713 
714 Number of successful Edit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
715 
716 - `file_edit_count: optional number or null`
717 
718 Number of successful file-edit tool calls (Edit, MultiEdit, Write, NotebookEdit) in Cowork sessions. Null, never 0, while the file-edit metrics are not enabled for this organization.
719 
720 - `multi_edit_tool_count: optional number or null`
721 
722 Number of successful MultiEdit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
723 
724 - `notebook_edit_tool_count: optional number or null`
725 
726 Number of successful NotebookEdit tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
727 
728 - `plugins_used_count: optional number or null`
729 
730 Total number of plugin invocations in Cowork sessions. Null while Cowork plugin-use metrics are not enabled for this organization.
731 
732 - `sessions_with_file_edits_count: optional number or null`
733 
734 Number of distinct Cowork sessions with at least one successful file-edit tool call. Null while the file-edit metrics are not enabled for this organization. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
735 
736 - `write_tool_count: optional number or null`
737 
738 Number of successful Write tool calls in Cowork sessions. Null while the file-edit metrics are not enabled for this organization.
739 
740 - `design_metrics: object`
741 
742 Claude Design activity metrics for a single user on a given day.
743 
744 - `distinct_projects_created_count: number`
745 
746 Number of distinct Claude Design projects created. 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.
747 
748 - `distinct_projects_used_count: number or null`
749 
750 Number of distinct Claude Design projects the user worked in. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
751 
752 - `distinct_session_count: number or null`
753 
754 Number of distinct Claude Design sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
755 
756 - `message_count: number`
757 
758 Number of messages sent in Claude Design sessions
759 
760 - `office_metrics: object`
761 
762 Office Agent activity metrics for a single user on a given day, broken out by Office product.
763 
764 - `excel: BetaOfficeProductMetrics`
765 
766 Office Agent activity metrics for a single user on a given day within one Office product.
767 
768 - `connectors_used_count: number`
769 
770 Number of MCP connector invocations
771 
772 - `distinct_connectors_used_count: number or null`
773 
774 Number of distinct MCP connectors used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
775 
776 - `distinct_session_count: number or null`
777 
778 Number of distinct Office Agent sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
779 
780 - `distinct_skills_used_count: number or null`
781 
782 Number of distinct skills used. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
783 
784 - `message_count: number`
785 
786 Number of messages sent
787 
788 - `skills_used_count: number`
789 
790 Number of skill invocations
791 
792 - `outlook: BetaOfficeProductMetrics`
793 
794 Office Agent activity metrics for a single user on a given day within one Office product.
795 
796 - `powerpoint: BetaOfficeProductMetrics`
797 
798 Office Agent activity metrics for a single user on a given day within one Office product.
799 
800 - `word: BetaOfficeProductMetrics`
801 
802 Office Agent activity metrics for a single user on a given day within one Office product.
803 
804 - `science_metrics: object`
805 
806 Claude Science activity metrics for a single user on a given day.
807 
808 - `delegation_count: number`
809 
810 Number of delegations (handoffs to a specialized agent) in Claude Science sessions
811 
812 - `distinct_session_count: number or null`
813 
814 Number of distinct Claude Science sessions. Approximate (HLL, typical error <2%) in date-range mode. Null on aggregated rows where a distinct count cannot be computed.
815 
816 - `message_count: number`
817 
818 Number of messages sent in Claude Science sessions
819 
820 - `remote_compute_job_count: number`
821 
822 Number of remote compute jobs launched from Claude Science sessions
823 
824 - `skills_used_count: number`
825 
826 Total number of skill invocations in Claude Science sessions
827 
828 - `web_search_count: number`
829 
830 Number of web searches performed
831 
832 - `distinct_user_count: optional number or null`
833 
834 Number of distinct active users represented by this row. Only set for grouped rollups (`group_by[]`); null for per-user rows. In date-range mode, recomputed as an exact distinct count of the group's active members over the requested window, never a sum of per-day values.
835 
836 - `last_activity_date: optional string or null`
837 
838 Most recent UTC day (YYYY-MM-DD) on which the user had any counted activity, within the requested window: equal to the requested `date` in single-day mode, and to the latest active day from `starting_date` (inclusive) to `ending_date` (exclusive) in date-range rollup mode — never a day earlier than the window start. On filtered requests (`filter[]`) only days matching the filter count: with `filter[]=rbac_group_id:{id}` it is the last day the user was active while a member of that group, consistent with the row's other metrics. On grouped (`group_by[]`) rows it is the latest day any member of the group was active (the requested `date` in single-day mode). Omitted from the response while last-activity reporting is not enabled for this organization.
839 
840 format: date
841 
842 - `rbac_group_id: optional string or null`
843 
844 Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API spelling. Present only when the request grouped by `rbac_group_id`.
845 
846 - `rbac_group_name: optional string or null`
847 
848 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.
849 
850 - `user: optional BetaAnalyticsUser or null`
851 
852 The user this row describes. Null on rows aggregated across users.
853 
854 - `type: "user"`
855 
856 Object type. Always `user`.
857 
858 default: user
859 
860 - `id: string`
861 
862 Tagged user identifier (e.g. `user_...`)
863 
864 - `email_address: string`
865 
866 Email address of the user
867 
868 - `next_page: string or null`
869 
870 Opaque cursor for the next page, or null if no more results
871537 
Feedback