Get Messages API token usage
One step with Anthropic. We can help you get access.
Look something up
Get Messages API token usage
with Anthropic
Use Anthropic: its Anthropic Organizations API lets you get Messages API token usage in a single step (GET /v1/organizations/usage_report/messages?beta=true). capabilities.work can help you get signed up and connected.
- How many tokens did we use on the Messages API last week?
- Can I break usage down by model, API key or workspace?
- Is it possible to see usage for only one service tier or inference geo?
Say it to your AI assistant
- Get Messages usage from {starting_at} to {ending_at}.
- Show token usage since {starting_at} for models {models}, grouped by {group_by}.
- Report usage since {starting_at} for workspace {workspace_ids} in {bucket_width} buckets.
For your developer
GET /v1/organizations/usage_report/messages?beta=true in Anthropic Organizations API. Full spec on APIs.io.