curl --request GET \
--url https://app.larm.dev/api/v1/monitors/{id}{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Marketing site",
"check_type": "http",
"enabled": true,
"interval_seconds": 180,
"timeout_ms": 10000,
"confirm_down_minutes": 0,
"confirm_up_minutes": 0,
"config": {
"url": "https://example.com",
"method": "GET",
"expected_status_codes": [200],
"follow_redirects": true
},
"current_state": "up",
"alert_channel_ids": ["660e8400-e29b-41d4-a716-446655440000"],
"inserted_at": "2025-03-01T12:00:00Z",
"updated_at": "2025-03-01T12:00:00Z"
}
}
Returns a single monitor by ID
curl --request GET \
--url https://app.larm.dev/api/v1/monitors/{id}{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Marketing site",
"check_type": "http",
"enabled": true,
"interval_seconds": 180,
"timeout_ms": 10000,
"confirm_down_minutes": 0,
"confirm_up_minutes": 0,
"config": {
"url": "https://example.com",
"method": "GET",
"expected_status_codes": [200],
"follow_redirects": true
},
"current_state": "up",
"alert_channel_ids": ["660e8400-e29b-41d4-a716-446655440000"],
"inserted_at": "2025-03-01T12:00:00Z",
"updated_at": "2025-03-01T12:00:00Z"
}
}
monitors:read permission.
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Marketing site",
"check_type": "http",
"enabled": true,
"interval_seconds": 180,
"timeout_ms": 10000,
"confirm_down_minutes": 0,
"confirm_up_minutes": 0,
"config": {
"url": "https://example.com",
"method": "GET",
"expected_status_codes": [200],
"follow_redirects": true
},
"current_state": "up",
"alert_channel_ids": ["660e8400-e29b-41d4-a716-446655440000"],
"inserted_at": "2025-03-01T12:00:00Z",
"updated_at": "2025-03-01T12:00:00Z"
}
}