Get the spending cap
The overage spending cap of the account, and its overage so far in the current billing period.
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
Response
Successful
Where a STARTER or TEAM account stands in its billing period: its runs, overage and spending cap. Null when nothing is judged, which is not $0 of overage: for other plans, after a renewal before the new period's runs are measured, and past the period end while the renewal is not paid.