Skip to main content

Get aggregated monitor statistics

get/v1/monitors/{monitor_id}/aggregates

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • monitor_id stringrequired

    Monitor ID

Response

    alert_countinteger<int64>

    Number of alerts sent

    Example: 3
    avg_durationnumber<double>

    Average check duration in seconds

    Example: 0.35
    complete_countinteger<int64>

    Number of successful checks

    Example: 1428
    event_countinteger<int64>

    Total number of events

    Example: 1440
    fail_countinteger<int64>

    Number of failed checks

    Example: 12