Get usage projections v2
Project whole-term credit consumption from completed UTC days using v2 pricing rules.
Authorizations
The Checkly Public API uses API keys to authenticate requests. You can get the API Key here. Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL: curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Headers
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Path Parameters
Query Parameters
Inclusive completed UTC date. Defaults to yesterday UTC; today and future dates are rejected.
Response
Successful
Whole-term projections from v2-priced daily charges. Credit amounts use four decimals; percentages and exhaustion weeks use two. Reads are live, including historical asOf dates.
Requested completed UTC date, including when it falls outside the term.
Usage start through the earlier of asOf and term end. Null before usage starts.
x >= 0x >= 0Credits rounded to four decimals before aggregation: once per organization-day for uptime monitors, and per resource-day and applied rate for other usage. Rules absent from configured pricing contribute zero. Null means unavailable or incompatible pricing, or uncovered dates.
x >= 0Term budget minus credits used. Negative when over budget.
Term budget divided by inclusive days from usage start through contract end, rounded to four decimals. Null when the budget is unavailable.
x >= 0