What you need
- An Anthropic organization. The Admin API is not available for individual accounts.
- An Admin API key. Its name starts with
sk-ant-admin, and it differs from a regular API key. Only organization members with the admin role can create one.
1
Create an Admin API key
In the Claude Console, open Settings, then Organization, and create an Admin API key. Copy it, because the Console shows it only once.
2
Add the source
ANTHROPIC_ADMIN_KEY where Varne runs. See Configuration.3
Pull
On the Dashboard, click Pull next to the source.
Fields
What you see
A chart of cost per day, with one series for each line item of the report, such as the model and token type. Each row also carries the workspace id.Limits
- The cost report does not include Priority Tier costs, which Anthropic bills differently.
- Anthropic describes this endpoint as legacy and recommends a newer analytics endpoint for Enterprise plans. Varne uses the cost report, which works with an Admin API key.