Skip to main content
GET
Measured outcomes of the organisation's cost decisions

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.

Response

Successful response

The measured outcomes of the organisation's cost decisions, newest first. measured_total_cents sums measured rows only, never expectations; running_total_cents sums the expectations of the changes in flight (approved, running, or succeeded and still inside their verification window). An approved or running change holds no stored expectation until it succeeds, so it is counted, and its row's expected_monthly_cents filled, at what its surface stated; one that stated nothing is not counted and its row says null. A negative measured row counts against the total as it stands.

currency
string
required
generated_at
string<date-time>
required
measured_total_cents
integer
required
month
string
required

The UTC calendar month measured_this_month_cents covers, as YYYY-MM.

measured_this_month_cents
integer
required

measured_total_cents restricted to the rows measured in the current UTC calendar month (month): the figure a "saved this month" reading shows. Aggregated over every row, like the other totals.

running_total_cents
integer
required
counts
CloudCostLedgerCounts · object
required

How many ledger rows sit in each measurement state.

rows
CloudCostLedgerRow · object[]
required
truncated
boolean
required

True when the organisation holds more rows than the read returns (the newest 500); the totals and counts still cover every row.