OpenAPI 3.1.0raw.githubusercontent.com2026-08-14485121706.3 KB

d52fab9681ed

Get Cost Budget

Return budget status for a specific run, within the caller's scope.

Loads the persisted cost tracker from .sdd/runtime/costs/{run_id}.json and returns its BudgetStatus as JSON.

Scope: every figure is the caller's tenant's share of the run, not the run's total - the run file holds the spend of every tenant that spent against it, and only the caller's is replayed. tenant_id in the response names the scope the figures belong to.

get/costs/{run_id}

Path parameters

run_idstring required

Response

Successful Response

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