sessions
Get Stats
Aggregate counters for the dashboard stat cards + status bar.
GET
Get Stats
Previous
Cost By ModelCost + token totals grouped by the model that produced them.
Aggregates ``session_model_usage`` rows (one per session × model),
so a session that used multiple models splits its cost correctly.
Filters on ``session_records.last_activity_at`` to scope by
range — requires a join back to the session row.
Next
Get Stats