Skip to main content

Resume a monitor

post/v1/monitors/{monitor_id}/resume

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_max_attemptsinteger<uint16>

    Maximum number of consecutive alerts

    Example: 3
    alert_repeatinteger<uint16>

    Alert repeat interval in minutes

    Example: 60
    aliasstring

    Monitor alias in the ping URL (job and heartbeat types)

    Example: nightly-backup
    avg_durationnumber<double>

    Average check duration in seconds

    bodystring

    Request body (http type)

    body_assertions object[]

    Response body assertions

  • Array [
  • comparatorstring

    Comparison operator

    Possible values: [eq, not_eq, contains, not_contains, empty, not_empty, gt, gte, lt, lte]

    Example: contains
    targetstring

    Expected response body content

    Example: OK
  • ]
  • certificate object
    issuer_common_namestring

    Certificate issuer

    Example: Let's Encrypt
    not_afterstring<date-time>

    Validity end date

    not_beforestring<date-time>

    Validity start date

    contact_groups object[]

    Contact groups for notifications

  • Array [
  • contactsinteger<int64>

    Number of contacts in the group

    Example: 4
    created_atstring<date-time>

    Creation date

    idinteger<int64>

    Contact group ID

    Example: 11
    namestring

    Group name

    Example: On-call engineers
  • ]
  • created_atstring<date-time>

    Creation date

    degraded_atinteger<int64>

    Threshold in milliseconds after which a check is considered degraded

    Example: 1000
    follow_redirectsboolean

    Follow redirects (http type)

    grace_periodinteger<uint16>

    Minutes to wait after the scheduled start before the monitor is considered not started

    Example: 5
    header_assertions object[]

    Response header assertions

  • Array [
  • comparatorstring

    Comparison operator

    Possible values: [eq, not_eq, contains, not_contains, empty, not_empty, gt, gte, lt, lte]

    Example: eq
    keystring

    Header name

    Example: Content-Type
    targetstring

    Expected header value

    Example: application/json
  • ]
  • headers object[]

    Request headers (http type)

  • Array [
  • keystring

    Header name

    Example: Authorization
    valuestring

    Header value

    Example: Bearer token
  • ]
  • hoststring

    Host to check (dns and icmp types)

    Example: example.com
    idstring

    Monitor ID

    Example: 2cUapHVcvLZQEDXJ8fRgQJ8q5qL
    intervalinteger<uint16>

    Run interval in minutes, an alternative to a schedule

    Example: 5
    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

    last_finish_atstring<date-time>

    Last finish date

    last_ping_atstring<date-time>

    Last ping date

    last_start_atstring<date-time>

    Last start date

    methodstring

    Request HTTP method (http type)

    Possible values: [GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE]

    Example: GET
    namestring

    Name

    Example: API healthcheck
    next_start_atstring<date-time>

    Next run date

    notestring

    Note

    pausedboolean

    Alerts are paused; checks keep running

    record_assertions object[]

    DNS record assertions (dns type)

  • Array [
  • comparatorstring

    Comparison operator

    Possible values: [eq, not_eq, contains, not_contains]

    Example: eq
    recordstring

    DNS record type, for example A, CNAME, MX

    Example: A
    targetstring

    Expected record value

    Example: 93.184.216.34
  • ]
  • regions object[]

    Regions the check runs from

  • Array [
  • continentstring

    Continent

    Example: Europe
    flagstring

    Country flag emoji

    Example: 🇩🇪
    idstring

    Region ID

    Example: 550e8400-e29b-41d4-a716-446655440000
    locationstring

    City or location where the checker is hosted

    Example: Frankfurt
    pausedboolean

    Region is disabled; no checks run from it

    providerstring

    Provider that hosts the checker

    Example: hetzner
    regionstring

    Region code, for example eu-central

    Example: eu-central
  • ]
  • retryinteger<int64>

    Number of retries after a failed check

    Example: 3
    running_timeinteger<uint16>

    Minutes a job can run before it is considered stuck

    Example: 30
    schedulestring

    Schedule in cron format

    Example: */5 * * * *
    statusstring

    Monitor status

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

    Example: up
    status_code_assertions object[]

    Response status code assertions

  • Array [
  • comparatorstring

    Comparison operator

    Possible values: [eq, not_eq, gt, gte, lt, lte]

    Example: eq
    targetinteger<int64>

    Expected response code

    Example: 200
  • ]
  • timeoutinteger<int64>

    Check timeout in milliseconds

    Example: 5000
    timezonestring

    Schedule time zone in IANA format, for example Europe/Moscow

    Example: Europe/Moscow
    typestring

    Monitor type

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

    Example: http
    updated_atstring<date-time>

    Update date

    updated_by_user_atstring<date-time>

    Date of the last change by a user

    uristring

    host:port address to check (tcp type)

    Example: db.example.com:5432
    urlstring

    URL to check (http type)

    Example: https://example.com/health
    whois object
    domain_expiration_datestring<date-time>

    Domain registration expiration date

    registrar_namestring

    Domain registrar

    Example: RU-CENTER