# Cronitor

> Watch your Cronitor jobs, heartbeats and uptime checks, manage monitors and groups, and track issues and maintenance.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/cronitor

## Actions

### Create group

Create a group of monitors.

**Inputs**

- Name (`name`, text, required): The group's name.
- Key (`key`, text): A unique key for it. Made from the name when empty.
- Monitors (`monitors`, list): The keys of the monitors to put in it.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "created": "2026-06-15T10:30:00Z",
    "key": "production-services",
    "monitors": [
      "api-health"
    ],
    "name": "Production Services"
  }
}
```

### Create issue

Open an issue to track a problem, and optionally show it on status pages.

**Inputs**

- Name (`name`, text, required): What the problem is.
- Severity (`severity`, text): How bad it is. One of: `outage`, `minor_outage` (Minor outage), `degraded_performance` (Degraded performance), `maintenance`, `operational`, `missing_data` (Missing data).
- State (`state`, text): Where it stands. One of: `unresolved`, `investigating`, `identified`, `monitoring`, `resolved`, `update`.
- Assigned to (`assigned_to`, text): The email address of the teammate to assign it to.
- Environment (`environment`, text): The environment it affects.
- Status pages (`statuspages`, list): The keys of the status pages to show it on.
- Affected components (`affected_components`, list): The keys of the status page components it affects.
- Started (`started`, date and time): When the problem started. Now when empty.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "affected_components": [
      "comp123"
    ],
    "assigned_to": "developer@example.com",
    "created": "2026-06-02T09:39:31Z",
    "duration": 5751,
    "key": "c096dd184de20330",
    "name": "Service Unavailable",
    "severity": "outage",
    "started": "2026-06-02T09:39:31Z",
    "state": "investigating",
    "statuspages": [
      "988ae49478f12afd"
    ],
    "updated": "2026-06-02T09:39:31Z",
    "updates": [
      {
        "key": "upd123",
        "message": "We are investigating reports of service unavailability",
        "state": "investigating",
        "timestamp": "2026-06-02T09:39:31Z"
      }
    ]
  }
}
```

### Create maintenance window

Schedule a maintenance window that holds back alerts for chosen monitors, groups or status pages.

**Inputs**

- Name (`name`, text, required): What the maintenance is.
- Start (`start`, date and time, required): When it starts.
- End (`end`, date and time, required): When it ends.
- Description (`description`, text): More about it.
- All monitors (`affects_all_monitors`, true/false): Turn on to cover every monitor.
- Monitors (`monitors`, list): The keys of the monitors it covers.
- Groups (`groups`, list): The keys of the groups it covers.
- Status pages (`statuspages`, list): The keys of the status pages it covers.
- Status page components (`affects_statuspage_components`, true/false): Turn on to show it on the components of those status pages.
- Environment (`environment`, text): The environment it covers.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "affects_all_monitors": false,
    "created": "2026-11-15T10:00:00Z",
    "description": "Monthly database optimization",
    "duration": 7200,
    "end": "2026-12-01T04:00:00Z",
    "groups": [
      "web-services"
    ],
    "key": "mw_abc123def456",
    "monitors": [
      "api-health"
    ],
    "name": "Database Maintenance",
    "start": "2026-12-01T02:00:00Z",
    "state": "upcoming",
    "statuspages": [
      "sp_abc123def456"
    ]
  }
}
```

### Create monitor

Create a job, heartbeat, check or site monitor.

**Inputs**

- Key (`key`, text, required): A unique key for it, such as nightly-backup. Jobs use it to send events.
- Type (`type`, text, required): What kind of monitor it is. One of: `job`, `heartbeat`, `check`, `site`.
- Name (`name`, text): A name for alerts and the dashboard. Cronitor uses the key when empty.
- Schedules (`schedules`, list): When it should run or report: cron expressions like 0 2 * * *, or phrases like every 5 minutes.
- Time zone (`timezone`, text): The time zone for its schedule, such as America/New_York. The account's when empty.
- Rules (`assertions`, list): Rules to check, such as metric.duration < 30min or response.code = 200.
- Notify (`notify`, list): Notification list keys, or destinations like email:ops@example.com. The default list when empty.
- Group (`group`, text): The group to put it in. Pick one, or enter its key.
- Tags (`tags`, list): Tags for it.
- Note (`note`, text): Notes for whoever gets the alert.
- Platform (`platform`, text): Where it runs, such as linux cron, kubernetes or sidekiq for jobs, or http, browser, tcp or udp for checks.
- Grace period (`grace_seconds`, number): Seconds to wait after a late run or heartbeat before alerting. At least 0.
- Failures tolerated (`failure_tolerance`, number): How many failures to allow before alerting. At least 0.
- Repeat alerts every (`realert_interval`, text): How long to wait before repeating an alert, such as 8 hours.
- Paused (`paused`, true/false): Turn on to create it with alerts paused.
- Check address (`request_url`, text): For a check: the address to request, such as https://example.com, or host:port for TCP and UDP.
- Check method (`request_method`, text): For a check: the HTTP method, or TCP or UDP. One of: `GET`, `HEAD`, `POST`, `PUT`, `PATCH`, `TCP`, `UDP`.
- Check timeout (`request_timeout_seconds`, number): For a check: seconds before the request times out. At least 1.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "assertions": [
      "metric.duration < 30min"
    ],
    "created": "2026-06-01T10:00:00Z",
    "disabled": false,
    "environments": [
      "production"
    ],
    "failure_tolerance": 1,
    "grace_seconds": 300,
    "group": "production",
    "initialized": true,
    "key": "nightly-backup",
    "name": "Nightly backup",
    "next_expected_at": 1767317400.0,
    "note": "Backs up production database to S3",
    "notify": [
      "devops-team"
    ],
    "passing": true,
    "paused": false,
    "platform": "linux cron",
    "running": false,
    "schedules": [
      "0 2 * * *"
    ],
    "tags": [
      "database"
    ],
    "timezone": "America/New_York",
    "type": "job"
  }
}
```

### Delete group

Delete a group. Its monitors stay, ungrouped.

**Inputs**

- Group (`group`, text, required): The group. Pick one, or enter its key.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {}
}
```

### Delete issue

Delete an issue.

**Inputs**

- Issue (`issue`, text, required): The issue's key, from List issues.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {}
}
```

### Delete maintenance window

Delete a maintenance window.

**Inputs**

- Maintenance window (`window`, text, required): The window's key, from List maintenance windows.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {}
}
```

### Delete monitor

Delete a monitor and its history.

**Inputs**

- Monitor (`monitor`, text, required): The monitor. Pick one, or enter its key.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {}
}
```

### Get group

Get a group and the keys of its monitors.

**Inputs**

- Group (`group`, text, required): The group. Pick one, or enter its key.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "created": "2026-06-15T10:30:00Z",
    "key": "production-services",
    "monitors": [
      "api-health"
    ],
    "name": "Production Services"
  }
}
```

### Get issue

Get an issue with its updates.

**Inputs**

- Issue (`issue`, text, required): The issue's key, from List issues.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "affected_components": [
      "comp123"
    ],
    "assigned_to": "developer@example.com",
    "created": "2026-06-02T09:39:31Z",
    "duration": 5751,
    "key": "c096dd184de20330",
    "name": "Service Unavailable",
    "severity": "outage",
    "started": "2026-06-02T09:39:31Z",
    "state": "investigating",
    "statuspages": [
      "988ae49478f12afd"
    ],
    "updated": "2026-06-02T09:39:31Z",
    "updates": [
      {
        "key": "upd123",
        "message": "We are investigating reports of service unavailability",
        "state": "investigating",
        "timestamp": "2026-06-02T09:39:31Z"
      }
    ]
  }
}
```

### Get metrics

Get monitors' run counts, durations and success rates over time, point by point.

**Inputs**

- Monitors (`monitor`, list): The keys of the monitors to include.
- Groups (`group`, list): Include every monitor in these groups.
- Tags (`tag`, list): Include every monitor with these tags.
- Types (`type`, list): Include only these kinds of monitor. One or more of: `job`, `heartbeat`, `check`, `site`.
- Period (`time`, text): A named period. The last hour when no period, start or end is given. One of: `24h` (Last 24 hours), `3d` (Last 3 days), `7d` (Last 7 days), `14d` (Last 14 days), `30d` (Last 30 days), `90d` (Last 90 days), `180d` (Last 180 days), `365d` (Last 365 days), `today`, `yesterday`.
- Start (`start`, date and time): The start of a custom period.
- End (`end`, date and time): The end of a custom period.
- Environment (`env`, text): Only this environment.
- Figures (`fields`, list): Which figures to return, such as run_count or duration_p50. One or more of: `duration_p10` (Duration p10), `duration_p50` (Duration median), `duration_p90` (Duration p90), `duration_p95` (Duration p95), `duration_p99` (Duration p99), `duration_mean` (Duration mean), `success_rate` (Success rate), `run_count` (Run count), `complete_count` (Complete count), `fail_count` (Fail count), and 5 more.
- Custom metric (`metric`, text): One custom metric to read instead of the figures, such as queue_depth.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "monitors": {
      "nightly-backup": {
        "production": [
          {
            "run_count": 24
          }
        ]
      }
    }
  }
}
```

### Get monitor

Get a monitor's settings and whether it is healthy.

**Inputs**

- Monitor (`monitor`, text, required): The monitor. Pick one, or enter its key.
- Environment (`env`, text): The environment to report status for. The default when empty.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "assertions": [
      "metric.duration < 30min"
    ],
    "created": "2026-06-01T10:00:00Z",
    "disabled": false,
    "environments": [
      "production"
    ],
    "failure_tolerance": 1,
    "grace_seconds": 300,
    "group": "production",
    "initialized": true,
    "key": "nightly-backup",
    "name": "Nightly backup",
    "next_expected_at": 1767317400.0,
    "note": "Backs up production database to S3",
    "notify": [
      "devops-team"
    ],
    "passing": true,
    "paused": false,
    "platform": "linux cron",
    "running": false,
    "schedules": [
      "0 2 * * *"
    ],
    "tags": [
      "database"
    ],
    "timezone": "America/New_York",
    "type": "job"
  }
}
```

### Get status page

Get a status page's settings.

**Inputs**

- Status page (`status_page`, text, required): The status page. Pick one, or enter its key.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "access": "public",
    "components_count": "3",
    "created": "2026-06-01T10:00:00Z",
    "custom_domain": "status.example.com",
    "environment": "production",
    "hosted_subdomain": "mystatus",
    "key": "sp_abc123def456",
    "name": "My Service Status",
    "updated": "2026-06-01T10:00:00Z",
    "website_url": "https://myservice.com"
  }
}
```

### Get totals

Get monitors' totals over a period, such as runs, failures and uptime.

**Inputs**

- Monitors (`monitor`, list): The keys of the monitors to include.
- Groups (`group`, list): Include every monitor in these groups.
- Tags (`tag`, list): Include every monitor with these tags.
- Types (`type`, list): Include only these kinds of monitor. One or more of: `job`, `heartbeat`, `check`, `site`.
- Period (`time`, text): A named period. The last hour when no period, start or end is given. One of: `24h` (Last 24 hours), `3d` (Last 3 days), `7d` (Last 7 days), `14d` (Last 14 days), `30d` (Last 30 days), `90d` (Last 90 days), `180d` (Last 180 days), `365d` (Last 365 days), `today`, `yesterday`.
- Start (`start`, date and time): The start of a custom period.
- End (`end`, date and time): The end of a custom period.
- Environment (`env`, text): Only this environment.
- Figures (`fields`, list, required): Which totals to return. Pick at least one. One or more of: `run_count` (Run count), `complete_count` (Complete count), `fail_count` (Fail count), `tick_count` (Tick count), `alert_count` (Alert count), `event_count` (Event count), `duration_mean` (Duration mean), `downtime_seconds` (Downtime seconds), `uptime`.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "monitors": {
      "nightly-backup": {
        "production": {
          "run_count": 720
        }
      }
    }
  }
}
```

### List environments

List the environments monitors report from, such as production and staging.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "count": 1,
    "environments": [
      {
        "active_monitors": 45,
        "created": "2026-01-01T00:00:00Z",
        "default": true,
        "key": "production",
        "name": "Production",
        "with_alerts": true
      }
    ],
    "page": 1,
    "page_size": 50
  }
}
```

### List groups

List one page of the groups monitors are organized into.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`page_size`, number): How many groups a page holds. Cronitor uses 50 when empty. At least 1.
- Environment (`env`, text): Only this environment.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "count": 1,
    "groups": [
      {
        "created": "2026-06-15T10:30:00Z",
        "key": "production-services",
        "monitors": [
          "api-health"
        ],
        "name": "Production Services"
      }
    ],
    "page": 1,
    "page_size": 50
  }
}
```

### List issues

List one page of incidents and outages, filtered as you choose.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`page_size`, number): How many issues a page holds, up to 1000. From 1 to 1000.
- States (`state`, list): Only issues in these states. One or more of: `unresolved`, `investigating`, `identified`, `monitoring`, `resolved`, `update`.
- Severities (`severity`, list): Only issues of these severities. One or more of: `outage`, `minor_outage` (Minor outage), `degraded_performance` (Degraded performance), `maintenance`, `operational`, `missing_data` (Missing data).
- Search (`search`, text): Only issues whose name, or a monitor's name or key, contains this.
- Period (`time`, text): Only issues in this period. One of: `24h` (Last 24 hours), `7d` (Last 7 days), `30d` (Last 30 days).
- Monitors (`job`, list): Only issues on these monitors, by key.
- Groups (`group`, list): Only issues on monitors in these groups.
- Tags (`tag`, list): Only issues on monitors with these tags.
- Status page (`statuspage`, text): Only issues on this status page.
- Environment (`env`, text): Only this environment.
- Sort by (`order_by`, text): The order to list them in. One of: `-started` (Newest first), `started` (Oldest first), `-relevance` (Most relevant first).

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "affected_components": [
          "comp123"
        ],
        "assigned_to": "developer@example.com",
        "created": "2026-06-02T09:39:31Z",
        "duration": 5751,
        "key": "c096dd184de20330",
        "name": "Service Unavailable",
        "severity": "outage",
        "started": "2026-06-02T09:39:31Z",
        "state": "investigating",
        "statuspages": [
          "988ae49478f12afd"
        ],
        "updated": "2026-06-02T09:39:31Z",
        "updates": [
          {
            "key": "upd123",
            "message": "We are investigating reports of service unavailability",
            "state": "investigating",
            "timestamp": "2026-06-02T09:39:31Z"
          }
        ]
      }
    ],
    "page": 1,
    "page_count": 1,
    "page_size": 50,
    "total_count": 1
  }
}
```

### List maintenance windows

List one page of maintenance windows, when alerts are held back.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`page_size`, number): How many windows a page holds. Cronitor uses 50 when empty. At least 1.
- Include past (`past`, true/false): Turn on to include windows that have ended.
- Only ongoing (`ongoing`, true/false): Turn on for only windows happening now.
- Only upcoming (`upcoming`, true/false): Turn on for only windows yet to start.
- Status page (`statuspage`, text): Only windows on this status page.
- Environment (`env`, text): Only this environment.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "affects_all_monitors": false,
        "created": "2026-11-15T10:00:00Z",
        "description": "Monthly database optimization",
        "duration": 7200,
        "end": "2026-12-01T04:00:00Z",
        "groups": [
          "web-services"
        ],
        "key": "mw_abc123def456",
        "monitors": [
          "api-health"
        ],
        "name": "Database Maintenance",
        "start": "2026-12-01T02:00:00Z",
        "state": "upcoming",
        "statuspages": [
          "sp_abc123def456"
        ]
      }
    ],
    "page": 1,
    "page_count": 1,
    "page_size": 50,
    "total_count": 1
  }
}
```

### List monitors

List one page of your jobs, heartbeats, checks and sites, with whether each is healthy.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`page_size`, number): How many monitors a page holds, up to 1000. From 1 to 1000.
- Search (`search`, text): Only monitors whose name or key contains this.
- Types (`type`, list): Only monitors of these kinds. One or more of: `job`, `heartbeat`, `check`, `site`.
- States (`state`, list): Only monitors in these states, such as failing or paused.
- Tags (`tag`, list): Only monitors with every one of these tags.
- Group (`group`, text): Only monitors in this group. Pick one, or enter its key.
- Environment (`env`, text): The environment to report status for. The default when empty.
- Sort by (`sort`, text): The order to list them in. One of: `-created` (Newest first), `created` (Oldest first), `name` (Name A to Z), `-name` (Name Z to A).

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "monitors": [
      {
        "assertions": [
          "metric.duration < 30min"
        ],
        "created": "2026-06-01T10:00:00Z",
        "disabled": false,
        "environments": [
          "production"
        ],
        "failure_tolerance": 1,
        "grace_seconds": 300,
        "group": "production",
        "initialized": true,
        "key": "nightly-backup",
        "name": "Nightly backup",
        "next_expected_at": 1767317400.0,
        "note": "Backs up production database to S3",
        "notify": [
          "devops-team"
        ],
        "passing": true,
        "paused": false,
        "platform": "linux cron",
        "running": false,
        "schedules": [
          "0 2 * * *"
        ],
        "tags": [
          "database"
        ],
        "timezone": "America/New_York",
        "type": "job"
      }
    ],
    "page": 1,
    "page_size": 50,
    "total_monitor_count": 1
  }
}
```

### List notification lists

List the notification lists that decide where alerts go.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`page_size`, number): How many lists a page holds. Cronitor uses 50 when empty. At least 1.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "page": 1,
    "page_size": 50,
    "templates": [
      {
        "created": "2026-06-20T14:30:00Z",
        "key": "devops-team",
        "monitors": 12,
        "name": "DevOps Team",
        "notifications": {
          "emails": [
            "oncall@example.com"
          ]
        },
        "status": "active"
      }
    ],
    "total_template_count": 1
  }
}
```

### List status pages

List one page of your status pages.

**Inputs**

- Page (`page`, number): Which page to read, starting at 1. At least 1.
- Page size (`page_size`, number): How many status pages a page holds. Cronitor uses 50 when empty. At least 1.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "access": "public",
        "components_count": "3",
        "created": "2026-06-01T10:00:00Z",
        "custom_domain": "status.example.com",
        "environment": "production",
        "hosted_subdomain": "mystatus",
        "key": "sp_abc123def456",
        "name": "My Service Status",
        "updated": "2026-06-01T10:00:00Z",
        "website_url": "https://myservice.com"
      }
    ],
    "page": 1,
    "page_count": 1,
    "page_size": 50,
    "total_count": 1
  }
}
```

### Pause or resume group

Pause alerts for every monitor in a group for some hours, or resume them.

**Inputs**

- Group (`group`, text, required): The group. Pick one, or enter its key.
- Hours (`hours`, number, required): How many hours to pause for. Enter 0 to resume now. At least 0.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "created": "2026-06-15T10:30:00Z",
    "key": "production-services",
    "monitors": [
      "api-health"
    ],
    "name": "Production Services"
  }
}
```

### Pause or resume monitor

Pause a monitor's alerts for some hours, or resume them.

**Inputs**

- Monitor (`monitor`, text, required): The monitor. Pick one, or enter its key.
- Hours (`hours`, number, required): How many hours to pause for. Enter 0 to resume now. At least 0.

**Outputs**

- `data` (object): Cronitor's answer; the docs don't describe it. Use Get monitor to see paused.

**Example output**

```json
{
  "data": {}
}
```

### Update group

Rename a group or replace the monitors in it.

**Inputs**

- Group (`group`, text, required): The group. Pick one, or enter its key.
- Name (`name`, text): A new name.
- Monitors (`monitors`, list): Every monitor key the group should hold. Monitors left out are taken out of it.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "created": "2026-06-15T10:30:00Z",
    "key": "production-services",
    "monitors": [
      "api-health"
    ],
    "name": "Production Services"
  }
}
```

### Update issue

Change an issue's name, severity, state or assignee. Fields left empty stay as they are.

**Inputs**

- Issue (`issue`, text, required): The issue's key, from List issues.
- Name (`name`, text): A new name.
- Severity (`severity`, text): How bad it is. One of: `outage`, `minor_outage` (Minor outage), `degraded_performance` (Degraded performance), `maintenance`, `operational`, `missing_data` (Missing data).
- State (`state`, text): Where it stands. One of: `unresolved`, `investigating`, `identified`, `monitoring`, `resolved`, `update`.
- Assigned to (`assigned_to`, text): The email address of the teammate to assign it to.
- Environment (`environment`, text): The environment it affects.
- Status pages (`statuspages`, list): The keys of the status pages to show it on.
- Affected components (`affected_components`, list): The keys of the status page components it affects.

**Outputs**

- `data` (object): The response from Cronitor.

**Example output**

```json
{
  "data": {
    "affected_components": [
      "comp123"
    ],
    "assigned_to": "developer@example.com",
    "created": "2026-06-02T09:39:31Z",
    "duration": 5751,
    "key": "c096dd184de20330",
    "name": "Service Unavailable",
    "severity": "outage",
    "started": "2026-06-02T09:39:31Z",
    "state": "investigating",
    "statuspages": [
      "988ae49478f12afd"
    ],
    "updated": "2026-06-02T09:39:31Z",
    "updates": [
      {
        "key": "upd123",
        "message": "We are investigating reports of service unavailability",
        "state": "investigating",
        "timestamp": "2026-06-02T09:39:31Z"
      }
    ]
  }
}
```
