Skip to main content
GET
Every move on the cost line, named by what happened

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

Response

Successful response

Every move on the cost line, named by what happened (ankra-cozgu.1.7.3).

currency
string
required
generated_at
string<date-time>
required
days
integer
required
events
CostEvent · object[]
required

Newest first.

truncated
boolean
required

More than 500 events; the newest 500 are served.

sources
CostEventSource · object[]
required

Which kinds of event could be read; an unavailable kind is missing from events, not quiet.