Get costs for cost report or VQL filter
Return all Costs for a CostReport or VQL filter.
Authorizations
Query Parameters
Group the results by specific field(s). When omitted with cost_report_token, the report's saved groupings are used; otherwise defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, usage_unit, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region
Sort by one of the selected groupings, amount, or usage_amount. amount orders each grouping by its total cost over the requested start and end dates, then orders that grouping's rows by date. usage_amount does the same for usage and requires settings[aggregate_by]=usage. Sorting by amount or usage_amount is rejected when settings[aggregate_by] is count. settings[show_previous_period] does not change this ordering, because this response only includes the requested dates. sort_direction defaults to asc. The order parameter still chooses ascending or descending dates within a grouping. Groupings with the same total stay in ascending grouping order so later pages continue the same ranking. Pagination counts date-by-grouping rows, not whole groupings; a grouping can continue onto the next page. usage_amount sorting is not supported for segment reports. When sort_column is omitted, results are ordered by date. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, usage_unit, tag:<tag_value>.
Response
Costs model