Interface UserCostReportService
-
- All Implemented Interfaces:
public interface UserCostReportService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceUserCostReportService.WithRawResponseA view of UserCostReportService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract UserCostReportService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract UserCostReportServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. UserCostReportListPagelist(UserCostReportListParams params)Legacy Get per-user cost in USD across a date range. abstract UserCostReportListPagelist(UserCostReportListParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract UserCostReportService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract UserCostReportService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
UserCostReportListPage list(UserCostReportListParams params)
Legacy Get per-user cost in USD across a date range.
Returns cost per user, ranked by spend;
group_by[]orbucket_widthsplits 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, so cost with no user account, such as Code Review usage and Claude Tag usage in Slack channels, is left out. Claude Tag one-to-one direct messages are included, with productclaude-tag, only for members who have connected a Claude account. Available to organizations on a Claude Enterprise plan. Requires an API key with theread:analyticsscope.This endpoint is one of the legacy Claude Enterprise usage and cost reports. For new integrations, use /docs/en/api/beta/organization/analytics/cost/list in the Usage and Cost Analytics API instead. To move an existing integration, see /docs/en/manage-claude/usage-cost-analytics-api#migrate-from-enterprise-analytics-reports.
-
list
abstract UserCostReportListPage list(UserCostReportListParams params, RequestOptions requestOptions)
-
-
-
-