Overview
ConfigView integrates with Claude’s Admin API to provide visibility into:- Token Usage: Granular tracking of token consumption across models and workspaces.
- Cost Analysis: Service-level cost breakdowns in USD.
- Workspace Governance: Inventory of workspaces and their settings.
- Access Management: Organization-wide member list and workspace-specific membership.
Setup Guide
ConfigView uses two separate keys for Claude: an Admin API Key for Console-side data (usage, cost, workspaces, members) and a Compliance Access Key for Claude.ai chat analytics. The chat key is only required if you want the per-user Chat Usage Analytics dataset.1. Provision an Admin API Key (Console)
- Log in to the Claude Console as an Organization Admin.
- Navigate to Settings > API Keys.
- Create a new key. Ensure it is an Admin API Key (starts with
sk-ant-admin...). - Copy the key and store it securely.
2. Provision a Compliance Access Key (Claude.ai chat analytics)
The Claude.ai chat analytics endpoint is gated by a separate Compliance Access Key with theread:analytics scope. This is distinct from the Console Admin API Key above.
- As the Primary Owner of your Claude.ai organization, enable Compliance API access in Settings > Data and Privacy.
- Create a Compliance Access Key and grant it the
read:analyticsscope (this is theanalytics_apicapability, separate from the standard compliance scopes). - Copy the key and store it securely.
3. Configure Secrets
In ConfigView, add the following secrets:CLAUDE_ADMIN_API_KEY: The Console Admin API key from step 1.CLAUDE_CHAT_ADMIN_API_KEY: The Claude.ai Compliance Access Key from step 2 (only required for Chat Usage Analytics).
Data Points Indexed
Usage Data
ConfigView tracks the following metrics for each model and workspace:input_tokens_uncachedinput_tokens_cache_readinput_tokens_cache_creationoutput_tokens
Cost Data
cost_cents: Total cost in USD cents for service usage.
Workspaces
name: Workspace display name.created_at: Date the workspace was created.archived_at: Date the workspace was archived (if applicable).
Member Management
- Organization Members: Full list of users in the organization with their roles (
admin,developer,billing, etc.). - Workspace Membership: Mapping of users to specific workspaces and their workspace-specific roles.
Chat Usage Analytics
ConfigView retrieves per-user analytics for the Claude.ai chat interface:- Engagement: Total
conversationsandmessages_sentper user. - Consumption: Token breakdown (
input,output,cache_read,cache_write) per user. - Cost: Actual USD spend attributed to individual users.