API Reference

/costs

Return all Costs for a CostReport.

Log in to see full request history
Query Params
string
required

The CostReport token.

string

First date you would like to filter costs from. ISO 8601 formatted.

string

Last date you would like to filter costs to. ISO 8601 formatted.

array of strings

Group the results by specific field(s). 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, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region

groupings
string
Defaults to desc

Whether to order costs by date in an ascending or descending manner.

int32

The amount of results to return. The maximum is 1000.

boolean
Defaults to false

Results will include credits.

boolean
Defaults to false

Results will include refunds.

boolean
Defaults to true

Results will include discounts.

boolean
Defaults to true

Results will include tax.

boolean
Defaults to true

Results will amortize.

boolean
Defaults to false

Results will show unallocated costs.

string
Defaults to cost

Results will aggregate by cost or usage.

Responses

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