Request
Bodyapplication/json
namestringrequired
Name of the healthcheck
Example:"Daily Backup Job"
period_valuenumberoptional
Expected ping interval value. Required for simple mode (when
cron is not provided)Example:1
period_typeenum<string>optional
Unit for the period value. Required for simple mode
grace_period_valuenumberrequired
Grace period value before alerting after a missed ping
Example:5
grace_period_typeenum<string>required
Unit for the grace period value
cronstringoptional
A cron expression for scheduled jobs. If provided, the healthcheck uses cron mode instead of simple mode
Example:"0 2 * * *" (daily at 2 AM)
timezonestringoptional
Timezone for the cron expression
Default:
UTCResponse
Returns the newly created healthcheck object.
