First request changedmanage-claude/usage-cost-api
Nearest release: v2.1.307, 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+6added
Lines−6removed
From line
10
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 10, old and new numbered
/
from line 10
1010
1111The Usage and Cost Admin API provides programmatic and granular access to historical API usage and cost data for your organization. This data is similar to the information available on the [Usage](https://platform.claude.com/usage) page (`platform.claude.com/usage`) and the [Cost](https://platform.claude.com/cost) page (`platform.claude.com/cost`) in the Claude Console.
1212
13This API enables you to better monitor, analyze, and optimize your Claude implementations:
13This API allows you to better monitor, analyze, and optimize your Claude implementations:
1414
1515* **Accurate usage tracking:** Get precise token counts and usage patterns instead of relying solely on response token counting
1616* **Cost reconciliation:** Match internal records with Anthropic billing for finance and accounting teams
1717* **Product performance and improvement:** Monitor product performance while measuring if changes to the system have improved it, or set up alerting
18* **[Rate limit](https://platform.claude.com/docs/en/api/rate-limits) optimization:** Optimize features like [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) or specific prompts to make the most of your allocated capacity.
18* **[Rate limit](https://platform.claude.com/docs/en/api/rate-limits) optimization:** Optimize features such as [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) or specific prompts to use your allocated capacity efficiently.
1919* **Advanced analysis:** Perform deeper data analysis than what's available in Console
2020
2121<Check>
from line 286
286286
287287## Common use cases
288288
289Explore detailed implementations in [Claude Cookbook](https://platform.claude.com/cookbook):
289Explore detailed implementations in the [Claude Cookbook](https://platform.claude.com/cookbook):
290290
291291* **Daily usage reports:** Track token consumption trends
292292* **Cost attribution:** Allocate expenses by workspace for chargebacks
from line 298
298298
299299### How fresh is the data?
300300
301Usage and cost data typically appears within 5 minutes of API request completion, though delays may occasionally be longer.
301Usage and cost data typically appears within 5 minutes of API request completion, though delays might occasionally be longer.
302302
303303### What's the recommended polling frequency?
304304
from line 314
314314
315315### What happens with playground usage?
316316
317API usage from playground in the Claude Console (and from the legacy Workbench before it) is not associated with an API key, so `api_key_id` will be `null` even when grouping by that dimension.
317API usage from playground in the Claude Console (and from the legacy Anthropic Workbench before it) is not associated with an API key, so `api_key_id` is `null` even when grouping by that dimension.
318318
319319### How is the default workspace represented?
320320
from line 333
333333* [Analytics APIs](https://platform.claude.com/docs/en/manage-claude/analytics-api) - Which analytics API and key type your organization needs
334334* [Pricing](https://platform.claude.com/docs/en/about-claude/pricing)
335335* [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) - Optimize costs with caching
336* [Batch processing](https://platform.claude.com/docs/en/build-with-claude/batch-processing) - 50% discount on batch requests
336* [Batch processing](https://platform.claude.com/docs/en/build-with-claude/batch-processing) - 50 percent discount on batch requests
337337* [Rate limits](https://platform.claude.com/docs/en/api/rate-limits) - Understand usage tiers
338338* [Rate Limits API](https://platform.claude.com/docs/en/manage-claude/rate-limits-api) - Read your configured rate limits
339339* [Data residency](https://platform.claude.com/docs/en/manage-claude/data-residency) - Control inference geography
No line in this hunk matches that.