Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Get Token Usage By Dimension changedapi/beta/organization/analytics/usage/list

Nearest release: v2.1.332, published an hour after 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+18added
Lines−12removed
From line 16 where the diff opens
First seen 10 Sep 2026 this site's first read of the page
Recorded edits11to this page, all time

The whole hunk

from line 16, old and new numbered
/
lines
from line 16
1616and no `time_bucket_width`, a single row aggregates the whole range.
1717Includes all usage, whether or not it is attributable to a seat user.
1818Requires an API key with the `read:analytics` scope, or an Admin API key.
19This endpoint is in beta and is not available to organizations with HIPAA
20readiness enabled: their API requests return a 400 error. A parent
21organization's report across its child organizations leaves out the child
22organizations that have HIPAA readiness enabled. If the parent has child
23organizations and all of them have HIPAA readiness enabled, the request
24returns a 400 error.
1925 
2026## Query parameters
2127 
from line 53
4753 
4854- `agent_ids: optional array of string`
4955 
50 Filter to usage incurred by sessions of specific Claude Managed Agents agents. Use `group_by[]=agent_id` to break out per-agent values. Claude Platform organizations only.
56 Filter to usage incurred by sessions of specific Claude Managed Agents agents. Use `group_by[]=agent_id` to break out per-agent values.
5157 
5258 maxItems: 100
5359 
5460- `api_key_ids: optional array of string`
5561 
56 Filter to usage authenticated by specific API keys, by tagged API key ID (`apikey_...`), whichever identity the usage is attributed to. Include an empty entry (`api_key_ids[]=`) to also match usage that no API key authenticated. Use `group_by[]=api_key_id` to break out per-key values; usage without a key has a null `api_key_id`. Claude Platform organizations only.
62 Filter to usage authenticated by specific API keys, by tagged API key ID (`apikey_...`), whichever identity the usage is attributed to. Include an empty entry (`api_key_ids[]=`) to also match usage that no API key authenticated. Use `group_by[]=api_key_id` to break out per-key values; usage without a key has a null `api_key_id`.
5763 
5864 maxItems: 100
5965 
from line 97
9197 
9298- `deployment_ids: optional array of string`
9399 
94 Filter to usage incurred by Claude Managed Agents sessions that specific deployments started. Use `group_by[]=deployment_id` to break out per-deployment values. Claude Platform organizations only.
100 Filter to usage incurred by Claude Managed Agents sessions that specific deployments started. Use `group_by[]=deployment_id` to break out per-deployment values.
95101 
96102 maxItems: 100
97103 
from line 109
103109 
104110- `environment_ids: optional array of string`
105111 
106 Filter to usage incurred by Claude Managed Agents sessions that ran in specific environments. Use `group_by[]=environment_id` to break out per-environment values. Claude Platform organizations only.
112 Filter to usage incurred by Claude Managed Agents sessions that ran in specific environments. Use `group_by[]=environment_id` to break out per-environment values.
107113 
108114 maxItems: 100
109115 
from line 213
207213 
208214- `organization_ids: optional array of string`
209215 
210 Filter a parent organization's report to specific child organizations, by organization UUID or `org_` ID; an ID that is not one of its child organizations matches nothing. Requires an API key created at the parent organization level. Use `group_by[]=organization_id` to break out per-organization values.
216 Filter a parent organization's report to specific child organizations, by organization UUID or `org_` ID; an ID that is not one of its child organizations matches nothing. The report leaves out child organizations with HIPAA readiness enabled, and naming one returns a 400 error. Requires an API key created at the parent organization level. Use `group_by[]=organization_id` to break out per-organization values.
211217 
212218 maxItems: 100
213219 
from line 259
253259 
254260- `service_tiers: optional array of BetaAnalyticsServiceTier`
255261 
256 Filter to specific service tiers. Use `group_by[]=service_tier` to break out per-tier values. Claude Platform organizations only; matches nothing for a Claude Enterprise organization.
262 Filter to specific service tiers. Use `group_by[]=service_tier` to break out per-tier values.
257263 
258264 maxItems: 100
259265 
from line 277
271277 
272278- `session_ids: optional array of string`
273279 
274 Filter to usage incurred by specific Claude Managed Agents sessions, by tagged session ID (`sesn_...`). Use `group_by[]=session_id` to break out per-session values. Claude Platform organizations only.
280 Filter to usage incurred by specific Claude Managed Agents sessions, by tagged session ID (`sesn_...`). Use `group_by[]=session_id` to break out per-session values.
275281 
276282 maxItems: 100
277283 
from line 309
303309 
304310- `user_profile_ids: optional array of string`
305311 
306 Filter to usage attributed to specific user profiles, by tagged user profile ID (`uprof_...`). Use `group_by[]=user_profile_id` to break out per-profile values. Claude Platform organizations only.
312 Filter to usage attributed to specific user profiles, by tagged user profile ID (`uprof_...`). Use `group_by[]=user_profile_id` to break out per-profile values.
307313 
308314 maxItems: 100
309315 
310316- `workspace_ids: optional array of string`
311317 
312 Filter to usage in specific workspaces, by tagged workspace ID (`wrkspc_...`). Use `group_by[]=workspace_id` to break out per-workspace values. Claude Platform organizations only; matches nothing for a Claude Enterprise organization.
318 Filter to usage in specific workspaces, by tagged workspace ID (`wrkspc_...`). Use `group_by[]=workspace_id` to break out per-workspace values.
313319 
314320 maxItems: 100
315321 
from line 657
651657 
652658 - `service_tier: BetaAnalyticsServiceTier or null`
653659 
654 Service tier the usage was served at. Populated only when `service_tier` is in `group_by[]`; null for usage with no service tier (for example, code execution) and for Claude Enterprise usage.
660 Service tier the usage was served at. Populated only when `service_tier` is in `group_by[]`; null for usage with no service tier (for example, code execution).
655661 
656662 - `"batch"`
657663 
from line 689
683689 
684690 - `user_profile_id: string or null`
685691 
686 User profile the usage was attributed to, as a tagged `uprof_` ID. Populated only when `user_profile_id` is in `group_by[]`; null for usage that named no profile and for Claude Enterprise usage.
692 User profile the usage was attributed to, as a tagged `uprof_` ID. Populated only when `user_profile_id` is in `group_by[]`; null for usage that named no profile.
687693 
688694 - `workspace_id: string or null`
689695 
690 Workspace the usage occurred in, as a tagged workspace ID, including the organization's default workspace. Populated only when `workspace_id` is in `group_by[]`; null for Claude Enterprise usage.
696 Workspace the usage occurred in, as a tagged workspace ID, including a Claude Platform organization's default workspace. Populated only when `workspace_id` is in `group_by[]`; null for usage in a Claude Enterprise organization's default workspace, which is its only workspace.
691697 
692698 - `starting_at: string`
693699 
Feedback