Connector docs — Anthropic
Exactly what CostMon asks for to read Anthropic
CostMon calls two read-only Anthropic Admin API endpoints: the organization cost report, then the messages usage report to add a token breakdown.
What CostMon calls
The literal API surface, nothing more
- GET /v1/organizations/cost_report
- Daily cost, grouped by workspace and model.
- GET /v1/organizations/usage_report/messages
- Per-model input/output token counts for the same window, merged onto the cost rows.
What you supply
Credential and config fields
admin_api_keyAdmin API keysecretrequired
Accepted by the fetcher, not yet in the setup form
- days_back
- The fetcher's config struct accepts a days_back override, but it isn't exposed as a declared setup-form field.
Minimum permission
Copy this, not a broader role
Scope of access
What Anthropic access can't reach
- Prompts, completions, or any message content
- Workspace settings, members, or API keys other than the one you provide
FAQ
Common questions about the Anthropic connector
Can CostMon read my prompts or completions?
No. Both endpoints CostMon calls return cost and token counts only. Message content isn't part of either response.
Will a regular Anthropic API key work?
No. Both endpoints require an Admin API key. A regular workspace key returns a permission error.
A rate you looked up will change again.
Provider pricing pages change without notice. CostMon tracks the bill that pays for it.