Appearance
Claude Console
The Claude Console Source connects an AI System to a Claude API organization on platform.claude.com. Modulos reads the Claude Code usage, the API cost, the members, the API keys, and the rate limits of that organization. Modulos only reads.
| Used by | Metric Tests, Agent Tests, Scout, Risk Agent |
| Mode | Pull |
| Credentials | An Admin API key |
| Metric selection | Type the metric name |
For a Claude Enterprise organization on claude.ai, use the Claude Enterprise Source. It uses different keys.
What this is
The Claude Console Source reads the Claude Code usage of the API keys of the organization. It does not read Claude Code use through Amazon Bedrock, Google Cloud, or Microsoft Foundry, or through claude.ai Enterprise and Team seats.
Where in Modulos
AI System → Settings → Sources → Add Source → Claude Consoleadds the Source.
Before you start
- An Organization Admin makes Claude Console available. See Source & Connectors.
- You must be an organization admin on platform.claude.com.
How to create the Admin API key
- Sign in to platform.claude.com.
- Open
Settings → Admin keys. - Create a key.
An Admin API key starts with sk-ant-admin01-.
How to connect Claude Console
- Open
AI System → Settings → Sources. - Select Add Source.
- Select Claude Console.
- Type a Source Name.
- Paste the key into Admin API Key.
- Select Save.

- 1Admin API KeyAn Admin API key. It starts with sk-ant-admin01-.
If the key does not start with sk-ant-admin01-, the dialog tells you to use an Admin API key from Settings → Admin keys. When you save, Modulos reads the organization with the key. If Anthropic rejects the key, Modulos shows a general error and does not save the Source.
Metrics for Metric Tests
A Metric Test on a Claude Console Source reads one of these metrics:
- In the test dialog, type a metric name from the table.
- Select Check.
The first ten metrics give the Claude Code usage of the most recent closed UTC day that has data. Modulos looks back 7 to 31 days, more for a longer schedule period. us_inference_token_share covers the full look-back period.
| Metric | Value |
|---|---|
tool_acceptance_rate | Part of the edit and write suggestions of Claude Code that users accepted, from 0 to 1 |
tool_rejection_count | Suggestions of Claude Code that users rejected |
lines_of_code_added | Lines of code that Claude Code added |
commits_by_claude_code | Commits that Claude Code created |
pull_requests_by_claude_code | Pull requests that Claude Code created |
active_users | Users or API keys that used Claude Code. Each counts one time. |
sessions_total | Claude Code sessions |
estimated_cost_cents | Estimated spend of Claude Code for each currency, in the smallest unit of the currency (cents for USD). The value is a JSON object, for example {"EUR":1200,"USD":50000}. |
distinct_models_used | Different models used through Claude Code |
subscription_record_count | Usage records of the subscription type. A Claude Console organization usually has none. |
us_inference_token_share | Part of the tokens, from 0 to 1, that used US-only inference, from the tokens with a known inference location (US or global) |
requests_per_minute_limit | The lowest requests-per-minute limit of the model groups of the organization |
org_user_count | Members of the Claude Console organization, in all roles |
estimated_cost_cents is a text metric. All other metrics are number metrics.
Scout, Agent Tests, and the Risk Agent
Scout, Agent Tests, and the Risk Agent read a Claude Console Source with read-only queries:
- Usage: the Claude Code data of each user, totaled for 1 to 14 days, with sessions, lines of code, commits, pull requests, accepted and rejected suggestions, estimated cost, and models.
- Cost: the spend in USD for a period of days, for each billing line item. It includes Claude Code and other API use.
- Organization posture: members and roles, open invites, API keys with their status and age, workspaces, and rate limits.
Modulos does not read prompts, transcripts, file contents, or the secret values of API keys. Usage data appears about 1 hour late.
Important considerations
- Give the Admin API key to Modulos only. Do not use it for other tools.
- Scout marks active API keys that are older than 90 days and have no expiry date.