Get started with the Claude Enterprise Analytics API (original) (raw)

  1. All Collections
  2. Team and Enterprise plans
  3. Analytics and usage
  4. Get started with the Claude Enterprise Analytics API

The Analytics API gives Enterprise plan Primary Owners programmatic access to engagement, adoption, usage, and cost data for their organization. Use it to build internal dashboards, track adoption trends, reconcile spend against your monthly bill, and feed Claude data into your existing reporting tools.

How is this different from the analytics dashboard and Compliance API?

All three options give you different views into your organization's data:

The Analytics dashboard (accessed via Analytics) shows visualized usage data in the product. It's the right tool for day-to-day monitoring when you don't need to integrate data elsewhere. You can also leverage the analytics chat feature to ask questions of the underlying data.

The Analytics API returns the more comprehensive, aggregated metrics, but programmatically. You can pull them into BI tools, map them against org charts, automate reporting workflows, and reconcile cost data against internal records. Engagement and adoption data is aggregated per organization, per day. Usage and cost data is available with finer-grained per-user and time-bucketed breakdowns.

The Compliance API is for governance and auditing use cases. It gives you access to individual user actions, raw activity events, and conversation content. If you need aggregated engagement metrics for dashboards, rather than raw events for auditing, use the Analytics API.

Get started

To access the Analytics API, you need Primary Owner access to your Enterprise organization.

Follow these steps:

Partner solutions

Leading observability platforms offer ready-to-use integrations for monitoring your Claude API usage and cost, without writing custom code. These integrations provide dashboards, alerting, and analytics to help you manage your API usage effectively.

What data is available?

The Analytics API includes nine endpoints across two categories.

Engagement and adoption

These endpoints return aggregated engagement metrics, per organization, per day. Data is available for up to the past 90 days (not before January 1, 2026).

Usage and cost

These endpoints return token usage and USD cost data across Claude surfaces. Use them to track usage between monthly invoices, reconcile Anthropic billing against internal cost centers, and inform spend limits based on actual user behavior.

Data is refreshed every four hours, and may take up to 24 hours. Values can be revised for up to 30 days as late events reconcile, so for invoicing-grade totals, query dates at least 30 days in the past.

Note: The cost and usage endpoints of the Analytics API export include both discounted price and list price.

Data limits

Engagement and adoption endpoints return data for a single date or date range. Data is only available after January 1, 2026, and for dates more than three days ago.

Usage and cost endpoints let you query up to a 31-day window, going back as far as 365 days from today. For invoicing-grade totals, query dates at least 30 days in the past so late events have time to reconcile.

The API has a default rate limit of 60 requests per minute. If this doesn't meet your organization's needs, reach out to your Anthropic Contact or our Sales team.


Related Articles

Claude Console roles and permissionsView usage analytics for Team and Enterprise plansClaude Enterprise Analytics API reference guideClaude Enterprise consumption guideGet started with Claude Compliance API integrations