Server monitors
GET https://uptime.condoo.systems/api/server-monitors/
curl --request GET \
--url 'https://uptime.condoo.systems/api/server-monitors/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://uptime.condoo.systems/api/server-monitors/' \
--header 'Authorization: Bearer {api_key}' \
Parameters | Details | Description |
---|---|---|
page | Optional Integer | The page number that you want results from. Defaults to 1 . |
results_per_page | Optional Integer | How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Defaults to 25 . |
{ "data": [ { "id": 1, "project_id": 0, "name": "Sample", "target": "123.123.123.123", "settings": { "server_check_interval_seconds": 60 }, "cpu_usage": 0.7, "ram_usage": 30.65, "disk_usage": 16.49, "cpu_load_1": 0, "cpu_load_5": 0, "cpu_load_15": 0, "is_enabled": true, "total_logs": 100, "last_log_datetime": "2024-01-14 02:45:05", "datetime": "2025-09-13 07:08:27", "last_datetime": null } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://uptime.condoo.systems/api/server-monitors?page=1", "last": "https://uptime.condoo.systems/api/server-monitors?page=1", "next": null, "prev": null, "self": "https://uptime.condoo.systems/api/server-monitors?page=1" } }
GET https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}
curl --request GET \
--url 'https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "project_id": 0, "name": "Sample", "target": "123.123.123.123", "settings": { "server_check_interval_seconds": 60 }, "cpu_usage": 0.7, "ram_usage": 30.65, "disk_usage": 16.49, "cpu_load_1": 0, "cpu_load_5": 0, "cpu_load_15": 0, "is_enabled": true, "total_logs": 100, "last_log_datetime": "2024-01-14 02:45:05", "datetime": "2025-09-13 07:08:27", "last_datetime": null } }
POST https://uptime.condoo.systems/api/server-monitors
Parameters | Details | Description |
---|---|---|
name | Required String | - |
target | Required String | - |
project_id | Optional Integer | - |
notifications | Optional Array | Notification handler ids |
server_check_interval_seconds | Optional Integer | Allowed values: 60 , 300 , 600 , 900 , 1800 (seconds) |
alert_metric[key] | Optional String | Allowed values: cpu_usage , disk_usage , ram_usage |
alert_rule[key] | Optional String | Allowed values: is_higher , is_lower |
alert_value[key] | Optional String | Allowed values: 1-99 |
alert_trigger[key] | Optional String | Allowed values: 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 |
is_enabled | Optional Boolean | - |
curl --request POST \
--url 'https://uptime.condoo.systems/api/server-monitors' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'target=example.com' \
--url 'https://uptime.condoo.systems/api/server-monitors' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'target=example.com' \
{ "data": { "id": 1 } }
POST https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}
Parameters | Details | Description |
---|---|---|
name | Required String | - |
target | Required String | - |
project_id | Optional Integer | - |
notifications | Optional Array | Notification handler ids |
server_check_interval_seconds | Optional Integer | Allowed values: 60 , 300 , 600 , 900 , 1800 (seconds) |
alert_metric[key] | Optional String | Allowed values: cpu_usage , disk_usage , ram_usage |
alert_rule[key] | Optional String | Allowed values: is_higher , is_lower |
alert_value[key] | Optional String | Allowed values: 1-99 |
alert_trigger[key] | Optional String | Allowed values: 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 |
is_enabled | Optional Boolean | - |
curl --request POST \
--url 'https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--url 'https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
{ "data": { "id": 1 } }
DELETE https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}
curl --request DELETE \
--url 'https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://uptime.condoo.systems/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \