Interface UserCostReportServiceAsync

    • Constructor Detail

    • Method Detail

      • list

         CompletableFuture<UserCostReportListPageAsync> list(UserCostReportListParams params)

        Legacy Get per-user cost in USD across a date range.

        Returns 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, 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 product claude-tag, only for members who have connected a Claude account. Available to organizations on a Claude Enterprise plan. Requires an API key with the read:analytics scope.

        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.