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
- Log in to the Claude Console
- Navigate to Settings > Admin API Keys
- Click Create Admin Key
- Copy the key (starts with
sk-ant-admin...)
2. Configure Crawler
| Field | Description | Required |
|---|---|---|
adminApiKey | Admin API key from Claude Console | Yes |
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 inforead:workspaces- Workspace listingread:api_keys- API key metadataread:usage- Token usage reportsread:cost- Cost reports
Data Points
| Data Point | Source | Details |
|---|---|---|
| Token consumption | Usage API | Input, output, cache creation, cache read tokens |
| Model usage | Usage API | Grouped by model (Opus, Sonnet, Haiku) |
| API key identity | API Keys API + Usage API | Key metadata and per-key usage |
| Request volume | Usage API | Aggregated by time bucket |
| Cost per workspace | Cost API | Amount in cents, grouped by workspace |
| Batch vs real-time | Usage API | Filtered by service_tier (batch, standard, priority) |