Skip to main content

Anthropic

Overview

The Anthropic blueprint monitors API usage, token consumption, costs, and workspace-level spending across Claude models. It collects data from the Anthropic Admin API to provide visibility into how your organization uses Claude.

Resources Collected

  • Organization: Organization identity and metadata
  • Workspaces: All workspaces within the organization
  • API Keys: Registered API keys with status and metadata
  • Usage Reports: Token consumption (input/output) broken down by model, workspace, API key, and service tier (standard/batch/priority)
  • Cost Reports: Cost data in USD broken down by workspace and description

Prerequisites

  • Anthropic organization account (not individual)
  • Admin API key (prefix: sk-ant-admin...)
  • Admin role in the organization

Setup Instructions

1. Obtain Admin API Key

  1. Log in to the Claude Console
  2. Navigate to Settings > Admin API Keys
  3. Click Create Admin Key
  4. Copy the key (starts with sk-ant-admin...)

2. Configure Crawler

FieldDescriptionRequired
adminApiKeyAdmin API key from Claude ConsoleYes

The crawler automatically fetches all available usage and cost history by paginating through the API.

3. Required Permissions

The Admin API key provides access to all endpoints. Ensure the key creator has the Admin role in the organization.

  • read:organization - Organization info
  • read:workspaces - Workspace listing
  • read:api_keys - API key metadata
  • read:usage - Token usage reports
  • read:cost - Cost reports

Data Points

Data PointSourceDetails
Token consumptionUsage APIInput, output, cache creation, cache read tokens
Model usageUsage APIGrouped by model (Opus, Sonnet, Haiku)
API key identityAPI Keys API + Usage APIKey metadata and per-key usage
Request volumeUsage APIAggregated by time bucket
Cost per workspaceCost APIAmount in cents, grouped by workspace
Batch vs real-timeUsage APIFiltered by service_tier (batch, standard, priority)