Skip to main content
GET
Get usage projections

Authorizations

Authorization
string
header
required

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

x-checkly-account
string<uuid>

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Path Parameters

id
string<uuid>
required

Query Parameters

asOf
string<date>

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.

usageTermsId
string<uuid>
required
asOf
string<date>
required

Requested completed UTC date, including when it falls outside the term.

period
object | null
required

Usage start through the earlier of asOf and term end. Null before usage starts.

weeksSinceStart
integer
required
Required range: x >= 0
weeksRemaining
integer
required
Required range: x >= 0
creditsUsed
number | null
required

Credits 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.

Required range: x >= 0
remainingCredits
number | null
required

Term budget minus credits used. Negative when over budget.

budgetedDailyCredits
number | null
required

Term budget divided by inclusive days from usage start through contract end, rounded to four decimals. Null when the budget is unavailable.

Required range: x >= 0
windows
object
required