Skip to main content
GET
Get aggregated costs

Authorizations

Authorization
string
header
required

Bearer token in the Authorization header (e.g. JWT / Cognito access token).

Headers

Tenant-Id
string
required

ID of the tenant (current tenant context).

Query Parameters

projects
string[]
environments
string[]
resources
string[]
start
string<date-time>
required
end
string<date-time>
required
granularity
enum<string>
Available options:
DAILY,
MONTHLY,
HOURLY

Response

OK

Map from target entity id to cost report (matches map[string]services.CostReport JSON).

{key}
object