Get the rate card in force
GET/api/v1/billing/rate-card
The rate card that prices today's usage: one EHU weight per metric
and the price per EHU at each tier. A metric's charge is
quantity × ehu_weight EHU, priced at the organization's tier.
This can differ from /api/v1/pricing, which shows the latest
published card — a new price is published ahead of the day it takes
effect.
Requires no scope: any valid key can read it.
Authorization
Responses
200
The rate card.
dataRateCardShow RateCard properties
versionintegereffective_fromstring (date-time)When this card starts pricing usage.usd_per_ehuobjectThe price of one EHU at each tier, in US dollars.on_demandnumbercommitmentnumberprepaidnumberThe price of credit bought in bundles.
metricsarray of objectOne weight per metric, sorted bymetric_key.metric_keystringehu_weightnumberEHU charged for one unit of the metric.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
The rate card could not be loaded (RATE_CARD_FAILED). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X GET 'https://evohub.io/api/v1/billing/rate-card' \
-H 'Authorization: Bearer <TOKEN>'
