By default, this endpoint lists all enabled checks defined in the system. If all is provided with a 1
value, list all checks (enabled or not).
all | boolean Default: false Enum: false true Should we display all checks or enabled checks only |
group | string <uuid> UUID of the group of which to return the checks |
kind | string Slug for the handler types to return |
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}, - "alerter": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}, - "spec": {
- "kind": "ping",
- "host": "string"
}
}
]
The definition of a check
name required | string Human-friendly name |
enabled | boolean Default: true Whether the check should run or not |
sites | Array of strings Default: ["@controller"] List of site identifier where the check should run. If omitted, defaults to |
interval required | string Period of time between two run of the check |
site_threshold | integer Default: 1 Number of site outages required to confirm an outage |
passing_threshold required | integer Number of consecutive fails required to consider a site failed |
failing_threshold required | integer Number of consecutive passes required to consider a site recovered |
silent | boolean Default: false Should an outage for this check trigger an alert |
group | string <uuid> Default: null Group to which the check is assigned |
alerter | string <uuid> Default: null Unique identifier for the alerter linked to the check |
required | object |
{- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": null,
- "alerter": null,
- "spec": {
- "kind": "ping",
- "host": "string"
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}, - "alerter": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}, - "spec": {
- "kind": "app_store",
- "bundle_id": "string"
}
}
Update a check by providing a full valid definition. Note that the handler type (spec.kind
) cannot be updated in-place.
uuid required | string <uuid> Unique identifier |
The definition of a check
name required | string Human-friendly name |
enabled | boolean Default: true Whether the check should run or not |
sites | Array of strings Default: ["@controller"] List of site identifier where the check should run. If omitted, defaults to |
interval required | string Period of time between two run of the check |
site_threshold | integer Default: 1 Number of site outages required to confirm an outage |
passing_threshold required | integer Number of consecutive fails required to consider a site failed |
failing_threshold required | integer Number of consecutive passes required to consider a site recovered |
silent | boolean Default: false Should an outage for this check trigger an alert |
group | string <uuid> Default: null Group to which the check is assigned |
alerter | string <uuid> Default: null Unique identifier for the alerter linked to the check |
required | object |
{- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": null,
- "alerter": null,
- "spec": {
- "kind": "ping",
- "host": "string"
}
}
Update some of the attributes of a check through a partial definition. Note that the handler type (spec.kind
) cannot be updated in-place and that you have to specify the full handler definition (spec
) if you wish to update it.
uuid required | string <uuid> Unique identifier |
The partial definition of a check
name | string Human-friendly name |
enabled | boolean Default: true Whether the check should run or not |
sites | Array of strings Default: ["@controller"] List of site identifier where the check should run. If omitted, defaults to |
interval | string Period of time between two run of the check |
site_threshold | integer Default: 1 Number of site outages required to confirm an outage |
passing_threshold | integer Number of consecutive fails required to consider a site failed |
failing_threshold | integer Number of consecutive passes required to consider a site recovered |
silent | boolean Default: false Should an outage for this check trigger an alert |
group | string <uuid> Default: null Group to which the check is assigned |
alerter | string <uuid> Default: null Unique identifier for the alerter linked to the check |
{- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": null,
- "alerter": null
}
uuid | string <uuid> Unique identifier |
from | string <date> Display outages from this date |
to | string <date> Display outages until this date |
limit | int Number of items per page of results |
page | int Page number to return |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "started_on": "2019-08-24T14:15:22Z",
- "ended_on": "2019-08-24T14:15:22Z",
- "comment": "string",
- "check": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}, - "alerter": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}, - "spec": {
- "kind": "ping",
- "host": "string"
}
}
}
uuid | string <uuid> Unique identifier |
from | string <date-time> Display events from this date |
to | string <date-time> Display events until this date |
limit | int Number of items per page of results |
page | int Page number to return |
{- "site": "string",
- "status": 0,
- "message": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
Update a group by providing a full valid definition.
uuid required | string <uuid> Unique identifier |
The definition of a group
name required | string <uuid> Unique identifier |
{- "name": "9ffa9185-7453-4fb2-aa6a-3105a6ae83a8"
}
The definition of an alerter
kind required | string Enum: "webhook" "slack" "pagerduty" Type of alerter |
webhook required | string <url> URL to the incoming webhook |
username | string Username to use in the HTTP Basic auth to the webhook |
password | string Password to use in the HTTP Basic auth to the webhook |
{- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}
uuid required | string <uuid> Unique identifier |
The definition of an alerter
kind required | string Enum: "webhook" "slack" "pagerduty" Type of alerter |
webhook required | string <url> URL to the incoming webhook |
username | string Username to use in the HTTP Basic auth to the webhook |
password | string Password to use in the HTTP Basic auth to the webhook |
{- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}
uuid required | string <uuid> Unique identifier |
The definition of an alerter
kind | string Enum: "webhook" "slack" "pagerduty" Type of alerter |
webhook | string <url> URL to the incoming webhook |
username | string Username to use in the HTTP Basic auth to the webhook |
password | string Password to use in the HTTP Basic auth to the webhook |
{- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}
check | string <uuid> UUID for a check to list outages for |
from | string <date> Display resolved outages from this date |
to | string <date> Display resolved outages until this date |
limit | int Number of items per page of results |
page | int Page number to return |
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "started_on": "2019-08-24T14:15:22Z",
- "ended_on": "2019-08-24T14:15:22Z",
- "comment": "string",
- "check": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}, - "alerter": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}, - "spec": {
- "kind": "ping",
- "host": "string"
}
}
}
]
uuid | string <uuid> Unique identifier |
limit | int Number of items per page of results |
page | int Page number to return |
{- "site": "string",
- "status": 0,
- "message": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
from | string <date> Display resolved outages from this date |
to | string <date> Display resolved outages until this date |
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "site": "string",
- "passing_strikes": 0,
- "failing_strikes": 0,
- "started_on": "2019-08-24T14:15:22Z",
- "ended_on": "2019-08-24T14:15:22Z",
- "check": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": null,
- "alerter": null,
- "spec": {
- "kind": "ping",
- "host": "string"
}
}
}
]
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "site": "string",
- "passing_strikes": 0,
- "failing_strikes": 0,
- "started_on": "2019-08-24T14:15:22Z",
- "ended_on": "2019-08-24T14:15:22Z",
- "check": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": null,
- "alerter": null,
- "spec": {
- "kind": "ping",
- "host": "string"
}
}
}
from | string <date> Display resolved outages from this date |
to | string <date> Display resolved outages until this date |
{- "property1": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "started_on": "2019-08-24T14:15:22Z",
- "ended_on": "2019-08-24T14:15:22Z",
- "comment": "string",
- "check": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}, - "alerter": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}, - "spec": {
- "kind": "ping",
- "host": "string"
}
}
}
], - "property2": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "started_on": "2019-08-24T14:15:22Z",
- "ended_on": "2019-08-24T14:15:22Z",
- "comment": "string",
- "check": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "enabled": true,
- "sites": [
- "@controller"
], - "interval": "string",
- "site_threshold": 1,
- "passing_threshold": 0,
- "failing_threshold": 0,
- "silent": false,
- "group": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}, - "alerter": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "kind": "webhook",
- "webhook": "string",
- "username": "string",
- "password": "string"
}, - "spec": {
- "kind": "ping",
- "host": "string"
}
}
}
]
}