Get token usage stats across all user projects, optionally filtered to one project.
If since is provided, it takes precedence and days is ignored. Pass
days=0 (and no since) for all-time history — the resulting total
reconciles with the user’s remaining balance, which is also computed
against all usage.
Aggregated by (day, model). The previous shape additionally bucketed by task_id, but every consumer (the dashboard chart, the Odoo connector’s project-scoped pull) re-aggregated up to (day, model) on the client — so the task dimension only inflated payload size and risked rounding drift from summing client-side floats. Per-task usage lives on the org endpoint /api/organizations//usage which streams per-event rows.
Documentation Index
Fetch the complete documentation index at: https://docs.codecobra.ai/llms.txt
Use this file to discover all available pages before exploring further.