Create a new cost and usage report. Reports visualize cloud billing data with configurable dimensions, measures, filters, and chart types.
Chart types: AREA, CLUSTERED_BAR, HORIZONTAL_BAR, KPI, KPI_TOP_ITEM, LINE, PIE, STACKED_AREA, STACKED_BAR, TABLE, VARIANCE, WATERFALL
Duration types: CUSTOM, INVOICE, LAST_MONTH, LAST_N_DAYS, LAST_N_MONTHS, LAST_NINETY_DAYS, LAST_SEVEN_DAYS, LAST_THIRTY_DAYS, MONTH_TO_DATE, QUARTER_TO_DATE, TODAY, YEAR_TO_DATE, YESTERDAY
Scope values: PUBLIC (visible within the organization), GLOBAL (visible to all), PRIVATE (visible to creator only), SHARED (visible to specific users)
See Reports for configuration guidance.
When scope is omitted, the API creates a PUBLIC report visible within the organization. PUBLIC differs from PRIVATE, SHARED, and GLOBAL; a UI-selected default does not change the API default.
PUBLIC still requires report-read permission and does not mean anonymous internet access. Set PRIVATE explicitly for a private API-created report; the standalone UI uses a Private default.
