v1
latestOpenAPI 3.0.12026-07-26152262362.2 KBCloud Diagrams
Get diagram cost snapshot
Returns a bounded cost snapshot for the specified diagram layer over a date window. The response composes the diagram's total spend, period-over-period change, top resources by cost (capped at 5), top services by cost (capped at 5), and a trend series (most recent 12 buckets at the requested interval).
get/clouddiagrams/v1/statussheet/{id}/costs
Path parameters
idstring required
Layer ID.
Query parameters
startDatestring date required
Inclusive start of the cost window (ISO date, e.g. 2026-04-01).
endDatestring date required
Inclusive end of the cost window (ISO date, e.g. 2026-04-28).
interval'day' | 'week' | 'month'
Bucket interval for the trend series. Defaults to day when omitted.
Response
OK - Diagram cost snapshot returned.