Account-wide monthly SLA report: every HTTP monitor with its attainment per calendar month and breach flags. Targets come from status-page links where configured (strictest wins), else the 99.9 default.
GET
/monitors/sla
const url = 'https://api.siteqwality.com/monitors/sla';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/sla \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” months
integer format: int32
Calendar months to report (default 3, max 24)
Responses
Section titled “ Responses ”Per-monitor monthly SLA attainment
Media type application/json
Response for GET /monitors/sla.
object
months
required
Month labels newest first, e.g. [“2026-08”, “2026-07”, …].
Array<string>
default_target
required
Target applied when a monitor has none configured.
number format: double
monitors
required
Array<object>
One monitor in the account SLA report.
object
http_job_id
required
string format: uuid
friendly_name
string | null
uri
required
string
target
required
number format: double
target_source
required
string
breached_months
required
Number of months in the report window with attained == false.
integer format: int32
months
required
Newest month first, aligned with the response’s months labels.
Array<object>
Attainment of one calendar month against the monitor’s target.
object
month
required
“YYYY-MM” (UTC calendar month; the newest month is partial).
string
uptime_percentage
Average of daily uptime percentages, 3 decimals. null when the
month has no check data.
number | null format: double
days_with_data
required
integer format: int32
target
required
number format: double
attained
uptime >= target; null when there is no data to judge.
boolean | null
Example generated
{ "months": [ "example" ], "default_target": 1, "monitors": [ { "http_job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "friendly_name": "example", "uri": "example", "target": 1, "target_source": "example", "breached_months": 1, "months": [ { "month": "example", "uptime_percentage": 1, "days_with_data": 1, "target": 1, "attained": true } ] } ]}Missing or invalid authentication
Internal server error