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.
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.
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.
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.
Before you begin
- LinearB role: Company Admin.
- Anthropic access: Primary Owner or equivalent admin access.
- Required scope: An Anthropic API key with
read:analyticsaccess. - License: Claude Enterprise.
Step 1 — Create an Analytics API key in Anthropic
- Log in to your Anthropic admin environment.
- Create or retrieve an API key for Analytics API access.
- Confirm that the key includes the
read:analyticsscope. - Store the key securely. You will need it when configuring the connector in LinearB.
Step 2 — Add the Claude Enterprise Analytics API connector in LinearB
- In LinearB, go to Settings → Company Settings → AI Tools.
- Open Claude Code.
- Select Add connector.
- Select Analytics API as the connector type.
- Enter the required Anthropic API key and organization details.
- 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.
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:analyticsscope. - 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.
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