Skip to Content
V1Using Lore SaaSAI Usage ConnectorsAnthropic (API & Claude Code)

Anthropic (API & Claude Code)

The anthropic-admin connector reads your Claude Console organization through Anthropic’s Admin API:

  • Cost report: daily billed cost by workspace and description (billed).
  • Usage report: daily tokens by model and workspace (no cost).
  • Claude Code Analytics: per-person daily Claude Code activity (sessions, lines, commits, pull requests) and tokens, with Anthropic’s estimated cost.

Requirements

  • A Claude Console organization (not an individual account).
  • An organization admin at Anthropic to create the key.

Create the credential

  1. Sign in to the Claude Console and open Settings → Admin keys.
  2. Create a new Admin key dedicated to Lore (for example, lore-usage). It starts with sk-ant-admin01-.
  3. Copy it. It is shown only once.

An Admin key has administrative rights over your Anthropic organization. Create one used only by Lore, so you can revoke it without affecting anything else.

Connect it in Lore

In the Lore panel, open Usage Connectors → Anthropic (Claude API & Claude Code), paste the key and click Connect.

What to expect

  • Totals use the cost report only. Claude Code Analytics amounts appear as estimated, because the same usage is already in the cost report.
  • Data arrives within about an hour. Lore re-reads the last 3 days on every sync.
  • Per-person data is available only for Claude Code (by email, or API key name for API-key users).

Revoke

Delete the key in Settings → Admin keys in the Claude Console, then disconnect it in Lore.

© 2025 Lore · Built by M1 Cloud