Workspace-wide LLM cost analytics
costs
Workspace-wide LLM cost analytics
Returns totals + by_agent + by_model + by_day rollups.
Window capped at 180 days to keep the query bounded. For longer horizons, a daily-rollup materialization would be required.
GET
Workspace-wide LLM cost analytics
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Headers
Query Parameters
Required range:
1 <= x <= 180When true, include platform-harness fixture agents (__, live-, cuj*, …) in the spend aggregates. Off by default.
Cookies
Response
Successful Response
The response is of type Response Get Costs Api V1 Costs Get · object.