User Cost Report changedapi/beta/organization/analytics/user_cost_report
Nearest release: v2.1.314, published 6 hours 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+5added
Lines−9removed
From line
9
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits8to this page, all time
The whole hunk
from line 9, old and new numbered
/
from line 9
99
1010**GET** `/v1/organizations/analytics/user_cost_report`
1111
12Get per-user cost in USD across a date range.
12[Legacy] Get per-user cost in USD across a date range.
1313
14Returns one row per user, ranked by spend. Use this to see which users
15account for the most cost. Only cost attributable to a seat user is
16included; for organization-wide totals including direct API-key and
17automation traffic, use the bucketed
18`/v1/organizations/analytics/cost_report` endpoint. Available to
19organizations on a Claude Enterprise plan. Requires an API key with the
20`read:analytics` scope.
14Returns cost per user, ranked by spend; `group_by[]` or `bucket_width` splits a user across several rows. Use this to see which users account for the most cost. Only cost attributed to a user account is included; cost with no user attributed to it, such as requests attributed only to an API key, is left out. Available to organizations on a Claude Enterprise plan. Requires an API key with the `read:analytics` scope.
15
16This endpoint is one of the legacy Claude Enterprise usage and cost reports. For new integrations, use [`GET /v1/organizations/analytics/cost`](https://platform.claude.com/docs/en/api/beta/organization/analytics/cost/list?sdk_languages=http) in the Usage and Cost Analytics API instead. To move an existing integration, see [Migrate from the Claude Enterprise usage and cost reports](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api?sdk_languages=http#migrate-from-enterprise-analytics-reports).
2117
2218### Query parameters
2319
No line in this hunk matches that.