Skip to main content

Configuring Claude Code (Enterprise Analytics API)

Configure the Claude Enterprise Analytics API connector in LinearB for Claude usage and adoption reporting through Anthropic analytics endpoints.

Steven Silverstone
Updated by Steven Silverstone

Claude Code Enterprise Analytics API lets LinearB collect Claude usage and adoption metrics through Anthropic’s Analytics API. Use this connector when your organization has a Claude Enterprise license and needs organization-level Claude usage reporting in LinearB.

This connector may not yet be available in your LinearB UI. If it is enabled for your organization, configure it under Settings > Company Settings > AI Tools > Claude Code.

Overview

LinearB supports multiple Claude integration paths under the Claude Code integration. Each path is designed for a different type of data collection.

  • Claude Code Admin API — Use this path for Claude Code activity data collected through the Claude Admin API.
  • Claude Enterprise Analytics API — Use this path for Claude usage and adoption reporting through Anthropic’s Analytics API.

The Enterprise Analytics API path is intended for customers who need Claude usage visibility without replacing or confusing other Claude connector workflows.

Additional Claude integration paths may be introduced in future releases.

When to use the Analytics API path

Use this connector when:

  • Your organization has a Claude Enterprise license.
  • You need Claude usage metrics through Anthropic’s Analytics API.
  • You want organization-level Claude usage and adoption reporting.
  • You do not need detailed tool-event telemetry from this connector path.
The Analytics API path is designed for usage summaries and adoption visibility. It is not intended to provide the most detailed tool-action attribution.

Before you begin
  • LinearB role: Company Admin.
  • Anthropic access: Primary Owner or equivalent admin access.
  • Required scope: An Anthropic API key with read:analytics access.
  • License: Claude Enterprise.

Step 1 — Create an Analytics API key in Anthropic
  1. Log in to your Anthropic admin environment.
  2. Create or retrieve an API key for Analytics API access.
  3. Confirm that the key includes the read:analytics scope.
  4. Store the key securely. You will need it when configuring the connector in LinearB.
Validation requirements differ between Claude connector types. A key used for one Claude connector path may not work for another connector path.

Step 2 — Add the Claude Enterprise Analytics API connector in LinearB
  1. In LinearB, go to Settings → Company Settings → AI Tools.
  2. Open Claude Code.
  3. Select Add connector.
  4. Select Analytics API as the connector type.
  5. Enter the required Anthropic API key and organization details.
  6. Click Save.

After saving the connector, LinearB validates the configuration and begins collecting available Claude analytics data according to the connector’s data availability rules.


Expected data behavior

The Analytics API path provides Claude usage and adoption reporting based on the data available through Anthropic’s analytics endpoints.

  • Analytics data is oriented toward usage and adoption summaries.
  • Anthropic documents a 3-day data delay for this path.
  • Available analytics data begins from January 1, 2026.
  • Data should not be treated as near-real-time telemetry.

What data this path provides
  • Organization-level Claude analytics summaries.
  • User-level usage summaries.
  • Claude adoption and activity reporting.
This connector is intended for analytics summaries. For detailed event-level behavior, review the other Claude connector paths available for your organization.

Where Claude Analytics API data appears

After data is collected and processed, Claude usage data may appear in the following LinearB areas:

  • AI Analytics
  • AI Insights
  • AI Adoption
  • AI Tools Usage, where available

Data availability depends on your LinearB configuration, connector status, and the data returned by Anthropic.


Connector validation and troubleshooting

If the connector cannot be saved or Claude analytics data does not appear as expected, check the following:

  • Confirm that the feature is enabled for your organization.
  • Confirm that your Anthropic account includes Claude Enterprise access.
  • Verify that the API key includes the required read:analytics scope.
  • Confirm that the key was created by a Primary Owner or equivalent Anthropic admin.
  • Allow for the documented Analytics API data delay before validating recent activity.
  • Confirm that you selected the correct Claude connector type in LinearB.
The Analytics API connector has different validation requirements from the Claude Code Admin API connector.

Known limitations
  • The Analytics API path is designed for usage and adoption summaries, not detailed tool-action attribution.
  • Analytics data is delayed and should not be treated as real-time data.
  • Available historical data depends on Anthropic’s Analytics API availability and retention behavior.
  • Connector requirements differ between Admin API and Analytics API paths.

Related Claude integration paths
  • Claude Code Admin API

Use the connector path that matches the type of Claude data your organization needs to collect.

How did we do?

Configuring Claude Code

Configuring Cursor

Contact