get_cloud_diagram_cost_snapshot
Get total spend, period-over-period trend, top resources by cost, and cost trend for a specific infrastructure diagram layer over a date range.
Instructions
Use this when the user wants a cost snapshot for a specific cloud infrastructure diagram layer over a time period — total spend, period-over-period trend percentage, the top resources and services by cost, and a cost trend over time. Requires the diagram layer ID and a startDate/endDate (YYYY-MM-DD). Do NOT use this for account-wide cost analysis (use run_query) or budgets (use list_budgets).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End of the period (calendar date, YYYY-MM-DD, e.g. 2026-04-30). | |
| layerId | Yes | The diagram layer (statussheet) ID to get a cost snapshot for. | |
| interval | No | Bucket granularity for the cost trend. Possible values: day, week, month (defaults to day). | |
| startDate | Yes | Start of the period (calendar date, YYYY-MM-DD, e.g. 2026-04-01). |