get_cost_report
Retrieve dollar-amount cost data for your Anthropic organization, grouped by operation or workspace, to answer spending questions.
Instructions
Get dollar-amount cost data for the organization.
Returns costs in US dollars (already converted from the API's native cents representation by the client wrapper) broken down by operation description (input tokens, output tokens, cache writes /reads, code execution, web search, etc.) and optionally by workspace. Use for questions like 'what did we spend last week' or 'which workspace cost the most this month'. Priority Tier costs are NOT included here — track those via usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| starting_at | Yes | RFC 3339 start time, e.g. '2026-05-01T00:00:00Z' | |
| ending_at | No | ||
| group_by | No | Dimensions to group by. Any subset of: 'workspace_id', 'description'. Omit for an org-wide total. | |
| limit | No | ||
| page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||