curl "https://kodostatus.com/api/v1/uptime-monitors" \
-H "X-API-Key: your_api_key"
{
"monitors": [
{
"id": "uuid",
"name": "API Health Check",
"url": "https://api.example.com/health",
"interval_seconds": 300,
"enabled": true,
"status": "up",
"last_checked_at": "2024-01-15T10:30:00Z",
"service_id": "uuid"
}
]
}
Get all uptime monitors for your organization
curl "https://kodostatus.com/api/v1/uptime-monitors" \
-H "X-API-Key: your_api_key"
{
"monitors": [
{
"id": "uuid",
"name": "API Health Check",
"url": "https://api.example.com/health",
"interval_seconds": 300,
"enabled": true,
"status": "up",
"last_checked_at": "2024-01-15T10:30:00Z",
"service_id": "uuid"
}
]
}
Show monitor object
up, down, degradedcurl "https://kodostatus.com/api/v1/uptime-monitors" \
-H "X-API-Key: your_api_key"
{
"monitors": [
{
"id": "uuid",
"name": "API Health Check",
"url": "https://api.example.com/health",
"interval_seconds": 300,
"enabled": true,
"status": "up",
"last_checked_at": "2024-01-15T10:30:00Z",
"service_id": "uuid"
}
]
}