Skip to main content
GET
The fleet's run rate per day, with coverage drawn apart from spend

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Query Parameters

days
integer
default:30

How many UTC days the trend covers, ending today (1..34: the cost snapshots are kept 35 days).

Required range: 1 <= x <= 34
project_id
string

The project to read: a project's id, or all for the whole organisation. Absent reads the caller's current project (the whole organisation while projects are off). A token pinned to a project, or a member limited to projects, may name only their own project.

Response

Successful response

The fleet's run rate per day with the coverage drawn apart from the spend (ankra-cozgu.1.7).

currency
string
required
generated_at
string<date-time>
required
days
integer
required
points
FleetCostTrendPoint · object[]
required

Every day of the window, oldest first; the last is the current run rate.

coverage_changes
CostCoverageChange · object[]
required

The days the set of priced clusters changed, oldest first.

clusters
FleetCostTrendCluster · object[]
required

Every cluster priced on at least one day of the window.

scope
CostReadScope · object
required

What a fleet cost read covered (ADR 0022): the project it read, or the whole organisation, and whether the caller's cluster permissions hid clusters from it.