rulvar API reference / @rulvar/rulvar / buildCostReport
Function: buildCostReport()
ts
function buildCostReport(attribution, totalUsd): CostReport;Defined in: packages/core/dist/index.d.ts
Folds the per-run attribution buckets into the normative CostReport.
Parameters
| Parameter | Type |
|---|---|
attribution | CostAttribution |
totalUsd | number |