Claude Code Analytics API launches
Organisations gained a programmatic endpoint for daily aggregated Claude Code usage metrics — productivity measures, tool-use statistics and cost data — instead of reading them off the Console dashboard.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingYou can now pull daily Claude Code usage, tool-use and spend data into your own dashboards instead of checking the Console. Useful if you are trying to justify or cap Claude Code seats.
Engineer
What to change, what breaks, what to test Worth knowingCall the Claude Code Analytics API with an Admin API key, not a workspace key. It returns per-day aggregates only — no session transcripts.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an admin reporting tool for organisations.
The Claude Code Analytics API exposes per-day aggregated metrics for an organisation’s Claude Code usage: activity and productivity measures, tool usage breakdowns, and spend.
It is an admin-scoped API, so it needs an Admin API key rather than a normal workspace key, and it reports aggregates rather than session transcripts.
This was the first programmatic reporting surface for Claude Code fleet usage; later governance surfaces (the Compliance API’s session transcripts, for example) came much later and answer a different question.
Topics: Coding tools