List prioritized attention items for the dashboard: unresolved incidents, down monitors, expiring TLS certificates and domains, and monitors trending slow.
const url = 'https://api.siteqwality.com/monitors/attention';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/attention \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Prioritized attention items
Response for GET /monitors/attention. items is capped; total_count
reports how many qualified before the cap.
object
A single actionable item on the dashboard “Needs Attention” list.
object
Discriminates the kinds of items the dashboard “Needs Attention” list can surface, in priority order (incidents first, slow monitors last).
One-line human-readable description rendered verbatim by the UI.
Incident severity (minor / major / critical); incidents only.
The monitor this item points at, when it concerns a single monitor.
Display name for the affected monitor or domain.
The incident this item points at; incidents only.
Reference instant for the item: when the incident started, when the monitor went down, or when the cert/domain expires.
SPA-relative link to the detail page for this item.
Example
{ "items": [ { "type": "incident" } ]}Missing or invalid authentication
Internal server error