Create a CostReport.
The access token received from the authorization server in the OAuth 2.0 flow.
Create a CostReport.
The title of the CostReport.
The previous period end date of the CostReport. ISO 8601 Formatted.
The end date of the CostReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
The token of the Workspace to add the Cost Report to. Ignored if 'folder_token' is set. Required if the API token is associated with multiple Workspaces.
Grouping values for aggregating costs on the report. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region
The filter query language to apply to the CostReport. Additional documentation available at https://docs.vantage.sh/vql.
The tokens of the SavedFilters to apply to the CostReport.
The tokens for any BusinessMetrics to attach to the CostReport, and the unit scale.
The token of the Folder to add the CostReport to. Determines the Workspace the report is assigned to.
Report settings.
The previous period start date of the CostReport. ISO 8601 Formatted.
The start date of the CostReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
The date interval of the CostReport. Incompatible with 'start_date' and 'end_date' parameters. Defaults to 'this_month' if start_date and end_date are not provided.
this_month, last_7_days, last_30_days, last_month, last_3_months, last_6_months, custom, last_12_months, last_24_months, last_36_months, next_month, next_3_months, next_6_months, next_12_months, year_to_date, last_3_days, last_14_days The chart type of the CostReport.
area, line, pie, bar, multi_bar The date bin of the CostReport.
cumulative, day, week, month, quarter Report chart settings.
CostReport model
The title of the CostReport.
"Production Environment"
The token for the Folder the CostReport is a part of.
The tokens for the SavedFilters assigned to the CostReport.
The tokens for the BusinessMetrics assigned to the CostReport, the unit scale, and label filter.
The filter applied to the CostReport. Additional documentation available at https://docs.vantage.sh/vql.
The grouping aggregations applied to the filtered data.
"provider, service"
Report settings.
The date and time, in UTC, the report was created. ISO 8601 Formatted.
"2021-07-09T00:00:00Z"
The token for the Workspace the CostReport is a part of.
The previous period start date of the CostReport. ISO 8601 Formatted.
"2024-06-01"
The previous period end date of the CostReport. ISO 8601 Formatted.
"2024-06-15"
The start date of the CostReports. ISO 8601 Formatted. Overwrites 'date_interval' if set.
"2024-07-01"
The end date of the CostReports. ISO 8601 Formatted. Overwrites 'date_interval' if set.
"2024-07-15"
The date interval of the CostReport.
The chart type of the CostReport.
The date bin of the CostReport.