Get cron job checks
get_cron_check_definitionsRead-onlyIdempotent
List the cron job checks (heartbeat monitoring for scheduled tasks) configured on a monitor, with their schedule, current status and recent ping history, so you can see which scheduled jobs failed to report in. See https://ohdear.app/docs/api/cron-job-monitoring.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor_id | Yes | The ID of the monitor to get cron check definitions for | |
| include_log_items | No | Include recent log items for each cron check definition | |
| include_failed_days | No | Include days where the cron check failed in the past month |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | No | ||
| message | No | ||
| monitor | Yes | ||
| view_url | Yes | ||
| check_type | No | ||
| check_enabled | No | ||
| cron_definitions | No | Cron heartbeat definitions. | |
| cron_definitions_count | No |