reader session; write endpoints for fiscal outlook configuration require admin. Report data reflects the active analytical snapshot (or live store) as indicated by /api/session.
GET /api/reports/cost
Returns a cost summary for the requested period and scope, a per-resource breakdown, and a forward forecast series. Authentication:reader
Query parameters
Response
Example
GET /api/reports/cost/export
Streams the cost summary as a flat resource-level CSV or XLSX file. Authentication:reader
Query parameters
Same asGET /api/reports/cost plus:
CSV/XLSX columns
costType, currency, periodStart, periodEnd, subscriptionId, resourceId, resourceName, resourceType, resourceGroup, region, cost
XLSX exports include a Metadata sheet with generation timestamp, analytics read mode, active snapshot version, and applied filters.
GET /api/reports/focus-cost
Returns FOCUS v1.0 charge-level data for the requested period and scope, including billed, effective, contracted, and list costs alongside pricing model, commitment discount, and manifest lineage fields. Authentication:reader
Query parameters
GET /api/reports/workload
Returns a workload optimization report covering resource value classification, retirement candidates, and coverage gaps. Authentication:reader
No query parameters.
The response contains sections for overall workload health, retirement candidates ranked by risk-adjusted savings, and resources where coverage signals are insufficient for a confident recommendation.
GET /api/reports/governance
Returns Azure Policy compliance posture and a per-resource drilldown. Authentication:reader
Query parameters
GET /api/reports/catalog
Returns the governed report catalog — the read-only set of approved measures, dimensions, filters, lineage declarations, and guardrails that constrain what report requests can specify. Authentication:reader
No query parameters.
Use this endpoint to discover available report models before calling POST /api/reports/catalog/validate or the semantic layer.
POST /api/reports/catalog/validate
Validates a governed report request against the approved catalog — checking that every measure, dimension, and filter key is declared and that no prohibited field is requested. Authentication:reader
Request body
Returns a validation result object. Returns
422 if any field falls outside the approved catalog.
GET /api/reports/fiscal-outlook
Returns fiscal-year actuals to date, projected remaining months with confidence bounds, and budget variance. The fiscal year start month and projection assumptions are configured by admins viaPUT /api/reports/fiscal-outlook/config.
Authentication: reader
No query parameters.
PUT /api/reports/fiscal-outlook/config
Persists the fiscal year projection assumptions. Returns the updated fiscal outlook report immediately after saving. Authentication:admin
Request body
GET /api/reports/commitments
Returns the active commitment inventory providing a directional cost-mix view by pricing model (on-demand, reserved instance, savings plan, spot, and other). Authentication:reader
No query parameters.
GET /api/reports/budgets
Returns the budget report with actuals-vs-targets comparison across configured estate and subscription scopes. Authentication:reader
No query parameters.
GET /api/reports/executive-summary/export
Streams an XLSX executive summary workbook containing key KPIs, cost trends, top opportunities, and governance posture in a format suitable for distribution to non-Flux users. Authentication:reader
No query parameters.
The response is an application/vnd.openxmlformats-officedocument.spreadsheetml.sheet file with a date-stamped filename (e.g. flux-executive-2024-06-10.xlsx).