Skip to main content

List monitors

get/v1/monitors

Request​

Authorization

  • Authorizationstringheaderrequired

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

Query Parameters

  • page_size integer<int64>
  • page integer<int64>
  • search string

    Case-insensitive search by name, address, and host

  • type string

    Possible values: [dns, heartbeat, http, icmp, job, tcp]

    Type: job, heartbeat, http, tcp, dns, icmp

  • status string

    Status: new, up, running, down

  • order_by string

    Sort order: name (default, alphabetical), created_at (newest first), last_event_at (most recent event first), last_fail_at (most recent problem first), last_duration (longest first)

Response

  • Array [
  • avg_durationnumber<double>

    Average check duration in seconds

    created_atstring<date-time>

    Creation date

    event_countinteger<int64>

    Number of events

    Example: 42
    idstring

    Monitor ID

    Example: 2cUapHVcvLZQEDXJ8fRgQJ8q5qL
    last_durationnumber<double>

    Duration of the last check in seconds

    last_event_atstring<date-time>

    Last event date

    last_fail_atstring<date-time>

    Last failed check date

    namestring

    Name

    Example: API healthcheck
    pausedboolean

    Alerts are paused

    statusstring

    Monitor status

    Possible values: [new, up, running, down]

    Example: up
    typestring

    Monitor type

    Possible values: [job, heartbeat, http, tcp, dns, icmp]

    Example: http
    updated_atstring<date-time>

    Update date

  • ]