Get uptime
Get uptime
Query Parameters
interval?string
Value in
"5m" | "15m" | "1h" | "1d" | "1mo"keyword?string
limit?integer
Default
0offset?integer
Default
0Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/metrics/uptime?interval=1m&keyword=&limit=10&offset=10"{
"data": [
{
"alias": "string",
"avg_latency": 0,
"current_status": "healthy",
"downtime": 0,
"idle": 0,
"statuses": [
{
"latency": 0,
"status": "healthy",
"timestamp": 0
}
],
"uptime": 0
}
],
"total": 0
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}