Projects changedapi/beta/organization/analytics/apps/chat/projects
Recorded here
Lines+23added
Lines−28removed
From line
37
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits6to this page, all time
The whole hunk
from line 37, old and new numbered
/
from line 37
3737
3838 maxItems: 100
3939
40- `group_by: optional array of "rbac_group_id" or "user_id"`
40- `group_by: optional array of BetaAnalyticsProjectGroupBy`
4141
4242 Dimensions to break results out by (e.g. `group_by[]=user_id`). Supported on this endpoint: `rbac_group_id`, `user_id`. 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.
4343
from line 53
5353
5454 minimum: 1, maximum: 1000
5555
56- `order: optional "asc" or "desc"`
56- `order: optional BetaAnalyticsOrder`
5757
5858 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.
5959
from line 87
8787
8888- `data: array of BetaAnalyticsProjectActivity`
8989
90 - `distinct_user_count: number`
90 - `created_at: string or null`
9191
92 Number of distinct users who used the project 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.
93
94 - `message_count: number`
95
96 Number of messages sent in the project on the requested day
97
98 - `project_id: string`
99
100 Tagged project identifier (e.g. `claude_proj_...`)
101
102 - `project_name: string`
103
104 Name of the project
105
106 - `created_at: optional string or null`
107
10892 Project creation timestamp in RFC 3339 format. Null if the project was deleted before attribution was recorded.
10993
11094 format: date-time
11195
112 - `created_by: optional BetaAnalyticsUser or null`
96 - `created_by: BetaAnalyticsUser or null`
11397
11498 User who created the project. Null if the project was deleted before attribution was recorded, or if the creator's account no longer exists.
11599
from line 111
127111
128112 Email address of the user
129113
130 - `distinct_conversation_count: optional number or null`
114 - `distinct_conversation_count: number or null`
131115
132116 Number of distinct conversations in the project. Null on aggregated rows where a distinct count cannot be computed.
133117
134 - `product: optional string or null`
118 - `distinct_user_count: number`
135119
136 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`.
120 Number of distinct users who used the project 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.
137121
122 - `message_count: number`
123
124 Number of messages sent in the project on the requested day
125
126 - `project_id: string`
127
128 Tagged project identifier (e.g. `claude_proj_...`)
129
130 - `project_name: string`
131
132 Name of the project
133
138134 - `rbac_group_id: optional string or null`
139135
140136 Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API spelling. Present only when the request grouped by `rbac_group_id`.
from line 161
165161{
166162 "data": [
167163 {
168 "distinct_user_count": 0,
169 "message_count": 0,
170 "project_id": "project_id",
171 "project_name": "project_name",
172164 "created_at": "2019-12-27T18:11:19.117Z",
173165 "created_by": {
174166 "id": "id",
from line 168
176168 "type": "user"
177169 },
178170 "distinct_conversation_count": 0,
179 "product": "product",
171 "distinct_user_count": 0,
172 "message_count": 0,
173 "project_id": "project_id",
174 "project_name": "project_name",
180175 "rbac_group_id": "rbac_group_id",
181176 "rbac_group_name": "rbac_group_name",
182177 "user_id": "user_id"
No line in this hunk matches that.