API Reference

/cost_reports/{cost_report_token}

Update a CostReport.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string

The title of the CostReport.

string

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

string

The filter query language to apply to the CostReport. Additional documentation available at https://docs.vantage.sh/vql.

array of strings

The tokens of the SavedFilters to apply to the CostReport.

saved_filter_tokens
array of objects

The tokens for any BusinessMetrics to attach to the CostReport, and the unit scale.

business_metric_tokens_with_metadata
string

The token of the Folder to add the CostReport to. Determines the Workspace the report is assigned to.

object

Report settings.

string

The previous period start date of the CostReport. ISO 8601 Formatted.

string

The previous period end date of the CostReport. ISO 8601 Formatted.

string

The start date of the CostReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.

string

The end date of the CostReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.

string

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.

string
Defaults to line

The chart type of the CostReport.

string
Defaults to cumulative

The date bin of the CostReport.

Responses

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here! Or choose an example:
application/json