attributesobject nullable required
Values derived from the monitor configuration.
assertionsstring[] nullable
Assertions such as "response.code = 200" or "metric.queue_depth < 100".
createdstring date-time required
failure_toleranceinteger nullable
Failures tolerated before an alert. Default 0.
grace_secondsinteger nullable
Seconds to wait after a missed or late event before alerting.
consecutive_alert_thresholdinteger
initializedboolean nullable required
Whether the monitor has received telemetry.
keystring nullable
Unique monitor key. Required when creating a monitor.
latest_eventsobject nullable required
Latest event of each kind, keyed by event name. Present with withEvents=true.
latest_invocationsobject[] nullable required
Present with withInvocations=true.
metric_namesstring[] nullable required
next_expected_atnumber nullable required
Unix timestamp of the next scheduled run. Null when the monitor has no schedule. May include fractional seconds.
passingboolean nullable required
Present when the request has withStatus=true (the default).
runningboolean nullable required
Present when the request has withStatus=true (the default).
schedulesstring[] nullable
Cron expressions, intervals such as "every 5 minutes", or RRULEs.
schedule_toleranceinteger nullable
Missed runs tolerated before an alert. Default 0.
timezonestring nullable
IANA timezone. Defaults to the account timezone.
type'job' | 'heartbeat' | 'check' | 'site'