Skip to main content

CreateMonitorRequest

Properties

NameTypeRequiredDescription
monitorCreateMonitorMonitor1

CreateMonitorMonitor1

Properties

NameTypeRequiredDescription
collectionstringThe unique ID of the monitor's associated collection.
environmentstringThe unique ID of the monitor's associated environment.
namestringThe monitor's name.
scheduleMonitorSchedule1Information about the monitor's schedule.

MonitorSchedule1

Information about the monitor's schedule.

Properties

NameTypeRequiredDescription
cronstringThe monitor's run frequency, based on the given cron pattern: | Frequency | Pattern | | --------- | ------- | | Every 5 minutes | */5 * * * | | Every 30 minutes |/30 * * * * | | Every hour | 0 */1 * * _| | Every 6 hours |0 _/6 * * * | | Every day at 5 pm | 0 17 * * * | | Every Monday at 12 pm | 0 12 * * MON | | Every weekday (Mon — Fri) at 6 am | 0 6 * * MON-FRI | At this time you can only create monitors with limited schedules.
timezonestringThe monitor's timezone.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →