v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01485121699.8 KB

Get Costs

Aggregate cost data across all runs.

Scans every persisted cost file in .sdd/runtime/costs/, aggregates per-agent and per-model totals, and computes cost attainment as (total_spent / total_budget) * 100. Budget of zero is treated as unlimited - attainment is reported as 0.0 in that case.

get/costs

Query parameters

tenantstring nullable

Response

Successful Response

{"stackTrail":"paths:/costs:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}