Monitors
List Monitors
Request
GET /monitors
Curl Example
curl -X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer d3d6763224e8f54ee5aeb08202b7eb101d97081876819cb48833d9f892185917" \
"https://api.statsignal.dev/v1/monitors"
Response Example
Status: 200 ok
{
"monitors": [
{
"uuid": "cbdd6425929a4c13bf9633292b4c8963",
"name": "Example Monitor",
"title": "",
"type": "https",
"urn": "example.com",
"httpFollowRedirects": false,
"timeout": 10,
"intervalId": 2,
"regions": [
1,
5
],
"description": "Description",
"groups": [
"2429fc0af1d9437fa770abc94c03341f",
"1ca46e77ad704f2894f9c0f73491a72a"
],
"alerts": null,
"tcpOptions": null,
"httpRequest": null,
"httpResponse": null,
"degradedThreshold": 2,
"apdexThreshold": 0.75,
"maintenance": null,
"createdAt": "2023-06-27T13:38:52.615931Z",
"updatedAt": "2023-06-27T13:38:52.615931Z"
},
{
"uuid": "f1bae3eb67884d49b96573975131b464",
"name": "Example Monitor 2",
"title": "Title for Example Monitor",
"type": "https",
"urn": "status.example.com",
"httpFollowRedirects": false,
"timeout": 10,
"intervalId": 2,
"regions": [
1,
5
],
"description": "Description",
"groups": [
"2429fc0af1d9437fa770abc94c03341f",
"1ca46e77ad704f2894f9c0f73491a72a"
],
"alerts": null,
"tcpOptions": null,
"httpRequest": null,
"httpResponse": null,
"degradedThreshold": 2,
"apdexThreshold": 0.75,
"maintenance": {
"days": [
0,
6
],
"times": [
{
"startHour": 12,
"startMinute": 0,
"stopHour": 13,
"stopMinute": 0
},
{
"startHour": 13,
"startMinute": 30,
"stopHour": 14,
"stopMinute": 0
}
],
"timeZone": "America/Chicago"
},
"createdAt": "2023-06-27T05:18:19.150642Z",
"updatedAt": "2023-06-27T13:36:18.416018Z"
}
],
"paginator": {
"recordOffset": 0,
"pageSize": 10,
"pagesCount": 1,
"recordsCount": 2,
"recordOffsetChanged": false
}
}