Get LLM-spend breakdown
Breaks LLM spend down by agent, model, or conversation over a date window, returning the top-N rows by cost plus window-wide totals (tokens, cents, conversation count) that back the breakdown table’s share-of-cost column. Use it to see which agent or model drove the most cost for a period. All money is integer cents. Read-only, tenant-scoped.
Authorizations
Dashboard JWT token from Clerk
Query Parameters
Window start, ISO-8601 with offset. Defaults to 30 days before to.
Window end, ISO-8601 with offset. Defaults to now.
Dimension to group spend by.
agent, model, conversation Maximum rows returned (top-N by cost).
Response
Top-N spend groups for the window plus window-wide totals used as the share-of-cost denominator.
The response is of type object.