A branded uptime report for one calendar month, as a printable page.
const url = 'https://api.siteqwality.com/monitors/report';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/monitors/report \ --header 'Authorization: Bearer <token>'Returns HTML, not JSON. The page is styled for paper: open it in a browser and use Print, or “Save as PDF”, to produce the document you send on. There is a print button on the page for exactly that.
month is a UTC calendar month, YYYY-MM. Omit it and you get the last
complete month, which is the one a monthly report normally covers. Asking
for the month in progress is allowed and the report says plainly that it
is not finished.
The page takes its logo, colours and title from your status page branding. An account with no branding gets a plain, unbranded document rather than ours, because this is a report you hand to somebody else.
Two things the report states about itself, and worth knowing before you send it:
- It covers HTTP monitors only. Heartbeat monitors and browser checks have no daily uptime figure behind them, so they are named as excluded rather than quietly dropped.
- Uptime comes from a rollup rebuilt daily at 03:00 UTC, so a report for the current month is month-to-date. The outage log is separate and is current to the minute.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”UTC calendar month as YYYY-MM (default: last complete month)
Responses
Section titled “ Responses ”Printable monthly report
Malformed, future, or out-of-range month
Missing or invalid authentication
Internal server error