Skip to main content
GET
Get all unit costs for a cost report

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

cost_report_token
string
required

The CostReport token.

start_date
string

First date you would like to filter unit costs from. Defaults to the report's default. ISO 8601 formatted.

end_date
string

Last date you would like to filter unit costs to. Defaults to the report's default. ISO 8601 formatted.

date_bin
enum<string>

The date bin of the unit costs. Defaults to the report's default or day.

Available options:
day,
week,
month,
quarter,
hour
order
enum<string>
default:desc

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

Available options:
asc,
desc
limit
integer<int32>

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

Required range: 1 <= x <= 1000
page
integer<int32>

The page of results to return.

Response

UnitCosts model

unit_costs
object[]
required