Skip to main content

GetMonitor

Properties

NameTypeRequiredDescription
monitorGetMonitorMonitor

GetMonitorMonitor

Properties

NameTypeRequiredDescription
idstringThe monitor's ID.
namestringThe monitor's name.
uidstringThe monitor's unique ID.
ownernumberThe ID of monitor's owner.
collectionUidstringThe unique ID of the monitor's associated collection.
environmentUidstringThe unique ID of the monitor's associated environment.
distributionstring[]A list of the monitor's geographic regions.
lastRunLastRunInformation about the monitor's previous run.
notificationsNotificationsInformation about the monitor's notification settings.
optionsOptionsInformation about the monitor's option settings.
scheduleMonitorSchedule2Information about the monitor's schedule.

LastRun

Information about the monitor's previous run.

Properties

NameTypeRequiredDescription
finishedAtstringThe date and time at which the monitor's previous run completed.
startedAtstringThe date and time at which the monitor's previous run started.
statsLastRunStatsInformation about the monitor's stats.
statusstringThe monitor's status after its last run.

LastRunStats

Information about the monitor's stats.

Properties

NameTypeRequiredDescription
assertionsStatsAssertions1Information about the monitor's assertions.
requestsStatsRequests1Information about the monitor's requests.

StatsAssertions1

Information about the monitor's assertions.

Properties

NameTypeRequiredDescription
failednumberThe total number of test failures.
totalnumberThe total number of tests performed.

StatsRequests1

Information about the monitor's requests.

Properties

NameTypeRequiredDescription
totalnumberThe total number of requests.

Notifications

Information about the monitor's notification settings.

Properties

NameTypeRequiredDescription
onErrorOnError[]
onFailureOnFailure[]

OnError

Properties

NameTypeRequiredDescription
emailstringThe email address of the user to notify on monitor error.

OnFailure

Properties

NameTypeRequiredDescription
emailstringThe email address of the user to notify on monitor failure.

Options

Information about the monitor's option settings.

Properties

NameTypeRequiredDescription
followRedirectsbooleanIf true, follow redirects enabled.
requestDelaynumberThe monitor's request delay value.
requestTimeoutnumberThe monitor's request timeout value.
strictSslbooleanIf true, strict SSL enabled.

MonitorSchedule2

Information about the monitor's schedule.

Properties

NameTypeRequiredDescription
cronstringThe monitor's cron frequency value.
nextRunstringThe date and time of monitor's next scheduled run.
timezonestringThe monitor's timezone.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →