Get workspace token usage
Aggregate LLM token usage (and cost) for one workspace over the last days days: workspace totals plus per-member, per-day and per-Computer breakdowns. Token counters are summed from each session’s usage ledger; dry-run (test) sessions are reported separately and excluded from the totals. Requires workspace owner or manager (or Athena admin) permissions — the same gate as the in-app Usage page.
Authentication
Path parameters
Headers
Query parameters
Reporting window in days, ending now (1-365)
Response
Portion of total_cost_usd produced by Computers
Portion of tokens produced by Computers’ LLM usage (already included in tokens, never additive)
Per-day breakdown, oldest first
Cost of dry-run (test) sessions
Number of dry-run (test) sessions
Token counters from dry-run (test) sessions, excluded from tokens
Per-Computer breakdown, highest cost first
Per-member breakdown, highest cost first
Token counters across the workspace’s sessions in the window, excluding dry-run (test) sessions
