The whole hunk
from line 30, old and new numbered
/
lines
from line 30
3030
3131 - `"1m"`
3232
33- `claude_tag_categories: optional array of "dm" or "engaged" or "monitoring" or 2 more`
34
35 Filter to Claude Tag (Claude in Slack) usage in specific spend categories. Usage with no category never matches. `dm` usage is reported under the user's product rather than `claude-tag`, so combining this filter with `products[]=claude-tag` excludes it. Use `group_by[]=claude_tag_category` to break out per-category values.
36
37 maxItems: 100
38
39 - `"dm"`
40
41 - `"engaged"`
42
43 - `"monitoring"`
44
45 - `"proactive"`
46
47 - `"scheduled"`
48
49- `claude_tag_user_ids: optional array of string`
50
51 Filter to Claude Tag (Claude in Slack) usage attributed to specific Slack users, by Slack user ID (for example `U0123ABCDEF`), not claude.ai user ID. Usage that is not Claude Tag, and Claude Tag usage not attributed to a single user, never matches. Use `group_by[]=claude_tag_user_id` to break out per-user values.
52
53 maxItems: 100
54
3355- `context_windows: optional array of "0-200k" or "200k-1M"`
3456
3557 Filter to specific context-window pricing tiers. Use `group_by[]=context_window` to break out per-tier values.
from line 74
5274
5375 default: false
5476
55- `group_by: optional array of "context_window" or "cost_type" or "inference_geo" or 6 more`
77- `group_by: optional array of "claude_tag_category" or "claude_tag_user_id" or "context_window" or 8 more`
5678
5779 Break each actor's row out by the given dimensions. Accepts the same values as the bucketed `/cost_report` endpoint. The `product`, `model`, `context_window`, `inference_geo`, and `speed` dimensions — and the time bucket, when `bucket_width` is set — count toward `limit`. `cost_type` and `token_type` do not: `cost_type` returns one row per cost component (tokens, web search, code execution); `token_type` returns one row per token type, each with `cost_type: "tokens"`; combining both returns the per-token-type rows plus the web-search and code-execution rows. A page can therefore contain more rows than `limit` when `cost_type` or `token_type` is requested.
5880
5981 maxItems: 100
6082
83 - `"claude_tag_category"`
84
85 - `"claude_tag_user_id"`
86
6187 - `"context_window"`
6288
6389 - `"cost_type"`
from line 234
208234
209235 Amount (post-discount, pre-credit) in fractional cents (minor units).
210236
237 - `claude_tag_category: "dm" or "engaged" or "monitoring" or 2 more or null`
238
239 Claude Tag (Claude in Slack) spend category: `engaged` (a person addressed Claude in a channel or thread), `proactive` (Claude responded without being addressed), `scheduled` (a scheduled routine ran), `monitoring` (Claude watching a channel it was asked to monitor), or `dm` (direct messages with Claude). Populated only when `claude_tag_category` is in `group_by[]`; null for usage that is not Claude Tag. Direct-message usage is billed to the individual user and is reported under that user's product, not under `claude-tag`. New categories may be added over time.
240
241 - `"dm"`
242
243 - `"engaged"`
244
245 - `"monitoring"`
246
247 - `"proactive"`
248
249 - `"scheduled"`
250
251 - `claude_tag_user_id: string or null`
252
253 Slack user ID (for example `U0123ABCDEF`) of the member the Claude Tag (Claude in Slack) usage is attributed to, not a claude.ai user ID. Populated only when `claude_tag_user_id` is in `group_by[]`; null for usage that is not Claude Tag and for Claude Tag usage that is not attributed to a single user (for example `monitoring`, and `proactive` usage Claude initiated), so per-user rows can sum to less than the Claude Tag total. Cannot be combined with `group_by[]=rbac_group_id` or the `rbac_group_ids[]` filter.
254
211255 - `context_window: "0-200k" or "200k-1M" or null`
212256
213257 Context-window pricing tier of the usage or cost. Null unless `context_window` is in `group_by[]`; it can also be null on grouped rows with no context-window tier, such as code execution.
from line 382
338382 "user_id": "user_01AbCdEfGhIjKlMnOpQrSt"
339383 },
340384 "amount": "41280.000000",
385 "claude_tag_category": "dm",
386 "claude_tag_user_id": "U0123ABCDEF",
341387 "context_window": "0-200k",
342388 "cost_type": "code_execution",
343389 "currency": "USD",