API reference
Health
The organisation’s health at a glance: a summary and a map of what needs attention.
Get the health map
GET/v1/health/map
Returns the console’s heat map: for each requested resource type, the counts per health bucket and the cells themselves, worst first. A type the key may not view comes back as available: false and nothing else; incidents on a cell are left empty unless the key may also view incidents.
Query parameters
- typesarray of strings or nullOptional
The resource types to include: any of
servers,domains,services,log_sources,custom_metricsanddatabases; with none, all of them. A list: repeat the parameter (types=servers&types=domains) or send one value (types=servers);types[]=serversis accepted too.Values:serversdomainsserviceslog_sourcescustom_metricsdatabases(an open set: new values may be added) - include_healthystring or nullOptional
Whether healthy resources are returned as rows (
trueorfalse); they are left out by default. They still count incounts.Values:truefalse10(an open set: new values may be added) - limitinteger or nullOptional
How many rows to return for each type, from 1 to 100; 50 when omitted.
Returns
200 OK:
The health map, one section per resource type.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Get the health summary
GET/v1/health/summary
Returns the counts the console’s dashboard opens with: active, warning and critical resources for servers, domains, services and log sources, and how many domain and service scans ran recently. A section the key may not view comes back as available: false and nothing else, so the call never answers 403.
Returns
200 OK:
The health counts, one section per resource type.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.