Get uptime statistics

View as markdown
GET /sla/uptime

Get detailed uptime statistics for a time period

Query parameters

  • start_date string(date-time)

    Start date for statistics (ISO 8601)

  • end_date string(date-time)

    End date for statistics (ISO 8601)

Responses

  • 200 application/json

    Uptime statistics

    Hide response attributes Show response attributes object
    • uptime_percentage number(float)
    • total_downtime_minutes number
    • sla_target number
    • sla_met boolean
GET /sla/uptime
curl \
 --request GET 'https://zenux-api.redglacier-fb4abe56.southafricanorth.azurecontainerapps.io/sla/uptime' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "uptime_percentage": 99.95,
  "total_downtime_minutes": 21.6,
  "sla_target": 99.9,
  "sla_met": true
}