# Checkly

> Create and run Checkly checks and monitors, read their results and alerts, and manage check groups, alert channels, dashboards and maintenance windows.

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

## Actions

### Create alert channel

Create an email, Slack or webhook alert channel that Checkly notifies when checks fail, degrade or recover.

**Inputs**

- Type (`type`, text, required): Where alerts go. One of: `EMAIL`, `SLACK` (Slack (incoming webhook)), `WEBHOOK`.
- Email address (`email`, text): For email: the address to alert.
- URL (`url`, text): For Slack: the incoming webhook URL. For a webhook: the URL Checkly calls.
- Slack channel (`slack_channel`, text): For Slack: the channel to post in, such as #alerts.
- Webhook name (`name`, text): For a webhook: a name for it in Checkly.
- Webhook method (`method`, text): For a webhook: the HTTP method to call it with. Leave empty for POST. One of: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`.
- Alert on failure (`send_failure`, true/false): Alert when a check fails.
- Alert on recovery (`send_recovery`, true/false): Alert when a check recovers.
- Alert when degraded (`send_degraded`, true/false): Alert when a check is degraded.
- Alert on SSL expiry (`ssl_expiry`, true/false): Alert when an SSL certificate is about to expire.
- Subscribe new checks (`auto_subscribe`, true/false): Subscribe checks created from now on to this channel.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "autoSubscribe": true,
    "config": {},
    "created_at": "example",
    "id": 1,
    "sendDegraded": true,
    "sendFailure": true,
    "sendRecovery": true,
    "sslExpiry": true,
    "type": "example",
    "updated_at": "example"
  }
}
```

### Create check group

Create a check group, to run and alert on several checks together.

**Inputs**

- Name (`name`, text, required): The group's name.
- Locations (`locations`, list): Data center locations to run from. Leave empty for Checkly's default.
- Tags (`tags`, list): Tags for the group.
- Run at once (`concurrency`, number): How many of its checks run at once when the group is run together. Leave empty for 3. At least 1.
- Running (`activated`, true/false): Whether it runs. Leave empty to turn it on.
- Muted (`muted`, true/false): Turn off alerts when it fails or recovers.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "activated": true,
    "concurrency": 1,
    "created_at": "example",
    "id": 1,
    "locations": [
      "example"
    ],
    "muted": true,
    "name": "example",
    "tags": [
      "example"
    ],
    "updated_at": "example"
  }
}
```

### Create dashboard

Create a dashboard that shows the status of checks with the tags you choose, at an address under checklyhq.com.

**Inputs**

- Title (`header`, text, required): The title at the top of the dashboard.
- Address name (`custom_url`, text, required): The dashboard's address: this name followed by .checklyhq.com. It must be unique across Checkly.
- Description (`description`, text): Text shown under the title.
- Tags (`tags`, list): Show only checks with these tags. Leave empty for every check.
- Private (`is_private`, true/false): Make the dashboard private, so only people in the account can see it.
- Width (`width`, text): How wide the dashboard is. Leave empty for full width. One of: `FULL` (Full width), `960PX` (Centered (960 pixels)).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "customDomain": "example",
    "customUrl": "example",
    "dashboardId": "example",
    "description": "example",
    "header": "example",
    "id": 1,
    "isPrivate": true,
    "tags": [
      "example"
    ],
    "width": "example"
  }
}
```

### Create heartbeat monitor

Create a heartbeat monitor that alerts when a scheduled job stops pinging Checkly. Its ping URL is built from the returned ping token.

**Inputs**

- Name (`name`, text, required): The monitor's name.
- Period (`period`, number, required): How often the job should ping, in Period unit. At least 1.
- Period unit (`period_unit`, text, required): The unit of Period. One of: `seconds`, `minutes`, `hours`, `days`.
- Grace (`grace`, number, required): How long to wait past the period before alerting, in Grace unit. At least 0.
- Grace unit (`grace_unit`, text, required): The unit of Grace. One of: `seconds`, `minutes`, `hours`, `days`.
- Tags (`tags`, list): Tags for organizing and filtering checks.
- Running (`activated`, true/false): Whether it runs. Leave empty to turn it on.
- Muted (`muted`, true/false): Turn off alerts when it fails or recovers.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "activated": true,
    "checkType": "example",
    "created_at": "example",
    "description": "example",
    "frequency": 1,
    "groupId": 1,
    "heartbeat": {
      "grace": 1,
      "graceUnit": "example",
      "period": 1,
      "periodUnit": "example",
      "pingToken": "example"
    },
    "id": "example",
    "locations": [
      "example"
    ],
    "muted": true,
    "name": "example",
    "request": {
      "method": "example",
      "url": "example"
    },
    "tags": [
      "example"
    ],
    "updated_at": "example"
  }
}
```

### Create maintenance window

Schedule a maintenance window that pauses the checks with the tags you choose, once or on repeat.

**Inputs**

- Name (`name`, text, required): The window's name.
- Starts at (`starts_at`, date and time, required): When the window starts.
- Ends at (`ends_at`, date and time, required): When the window ends.
- Check tags (`tags`, list): Tags of the checks and check groups the window applies to.
- Repeat unit (`repeat_unit`, text): How the window repeats, with Repeat every. Leave empty for days. One of: `DAY` (Days), `WEEK` (Weeks), `MONTH` (Months).
- Repeat every (`repeat_interval`, number): Repeat the window every this many units, up to 365. Leave empty for a window that doesn't repeat. From 1 to 365.
- Stop repeating on (`repeat_ends_at`, date and time): The last day the window may start on when it repeats.
- Time zone (`timezone`, text): Time zone for a repeating window, such as Europe/Berlin. Leave empty for UTC.
- Description (`description`, text): A description of the window.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "description": "example",
    "endsAt": "example",
    "id": 1,
    "name": "example",
    "repeatEndsAt": "example",
    "repeatInterval": 1,
    "repeatUnit": "example",
    "startsAt": "example",
    "tags": [
      "example"
    ],
    "timezone": "example",
    "updated_at": "example"
  }
}
```

### Create URL monitor

Start monitoring a web page or API address, checking that it answers with a successful status.

**Inputs**

- Name (`name`, text, required): The monitor's name.
- URL (`url`, text, required): The address to monitor, starting with https:// or http://.
- Run every (`frequency`, number): How often it runs. Leave empty for every 10 minutes. One of: `1` (Every minute), `2` (Every 2 minutes), `5` (Every 5 minutes), `10` (Every 10 minutes), `15` (Every 15 minutes), `30` (Every 30 minutes), `60` (Every hour), `120` (Every 2 hours), `180` (Every 3 hours), `360` (Every 6 hours), `720` (Every 12 hours), `1440` (Every day).
- Locations (`locations`, list): Data center locations to run from. Leave empty for Checkly's default.
- Follow redirects (`follow_redirects`, true/false): Follow redirects to the final page.
- Degraded after (ms) (`degraded_response_time`, number): Milliseconds after which a response counts as degraded, up to 45000. Leave empty for 3000. From 0 to 45000.
- Failed after (ms) (`max_response_time`, number): Milliseconds after which a response counts as failed, up to 45000. Leave empty for 5000. From 0 to 45000.
- Check group (`group_id`, number): The check group to put it in. At least 1.
- Tags (`tags`, list): Tags for organizing and filtering checks.
- Running (`activated`, true/false): Whether it runs. Leave empty to turn it on.
- Muted (`muted`, true/false): Turn off alerts when it fails or recovers.
- Description (`description`, text): A description of the check.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "activated": true,
    "checkType": "example",
    "created_at": "example",
    "description": "example",
    "frequency": 1,
    "groupId": 1,
    "heartbeat": {
      "grace": 1,
      "graceUnit": "example",
      "period": 1,
      "periodUnit": "example",
      "pingToken": "example"
    },
    "id": "example",
    "locations": [
      "example"
    ],
    "muted": true,
    "name": "example",
    "request": {
      "method": "example",
      "url": "example"
    },
    "tags": [
      "example"
    ],
    "updated_at": "example"
  }
}
```

### Delete alert channel

Delete an alert channel.

**Inputs**

- Alert channel (`channel_id`, number, required): The alert channel. At least 1.

**Outputs**

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

**Example output**

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

### Delete check

Delete a check or monitor and its results.

**Inputs**

- Check (`check_id`, text, required): The check or monitor.

**Outputs**

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

**Example output**

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

### Delete check group

Delete a check group. It must have no checks left in it.

**Inputs**

- Check group (`group_id`, number, required): The check group. At least 1.

**Outputs**

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

**Example output**

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

### Delete dashboard

Delete a dashboard.

**Inputs**

- Dashboard (`dashboard_id`, text, required): The dashboard.

**Outputs**

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

**Example output**

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

### Delete maintenance window

Delete a maintenance window.

**Inputs**

- Maintenance window (`window_id`, number, required): The maintenance window. At least 1.

**Outputs**

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

**Example output**

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

### Get check

Get a check or monitor's settings.

**Inputs**

- Check (`check_id`, text, required): The check or monitor.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "activated": true,
    "checkType": "example",
    "created_at": "example",
    "description": "example",
    "frequency": 1,
    "groupId": 1,
    "heartbeat": {
      "grace": 1,
      "graceUnit": "example",
      "period": 1,
      "periodUnit": "example",
      "pingToken": "example"
    },
    "id": "example",
    "locations": [
      "example"
    ],
    "muted": true,
    "name": "example",
    "request": {
      "method": "example",
      "url": "example"
    },
    "tags": [
      "example"
    ],
    "updated_at": "example"
  }
}
```

### Get check result

Get one check result in full, including the response or browser details of that run.

**Inputs**

- Check (`check_id`, text, required): The check or monitor.
- Result ID (`result_id`, text, required): The result's ID, from List check results.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "apiCheckResult": {},
    "attempts": 1,
    "browserCheckResult": {},
    "checkId": "example",
    "checkRunId": 1,
    "created_at": "example",
    "hasErrors": true,
    "hasFailures": true,
    "id": "example",
    "isDegraded": true,
    "multiStepCheckResult": {},
    "name": "example",
    "overMaxResponseTime": true,
    "responseTime": 1,
    "resultType": "example",
    "runLocation": "example",
    "startedAt": "example",
    "stoppedAt": "example"
  }
}
```

### Get check session

Get how a check run started with Run checks went: its status and when it finished.

**Inputs**

- Check session ID (`session_id`, text, required): The check session's ID, which Run checks returns.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "checkId": "example",
    "checkSessionId": "example",
    "checkSessionLink": "example",
    "checkType": "example",
    "name": "example",
    "runLocations": [
      "example"
    ],
    "startedAt": "example",
    "status": "example",
    "stoppedAt": "example",
    "timeElapsed": 1
  }
}
```

### List alert channels

List the account's alert channels and the checks subscribed to each.

**Inputs**

- How many (`limit`, number): How many to return, up to 100. Leave empty for 10. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The response from Checkly.

**Example output**

```json
{
  "data": [
    {
      "autoSubscribe": true,
      "config": {},
      "created_at": "example",
      "id": 1,
      "sendDegraded": true,
      "sendFailure": true,
      "sendRecovery": true,
      "sslExpiry": true,
      "type": "example",
      "updated_at": "example"
    }
  ]
}
```

### List alerts

List the alerts Checkly sent, such as a check failing or recovering. Without times, it covers the last six hours.

**Inputs**

- Since (`since`, date and time): Only alerts from this time on. Checkly returns at most six hours from here.
- Until (`until`, date and time): Only alerts before this time.
- How many (`limit`, number): How many to return, up to 100. Leave empty for 10. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The response from Checkly.

**Example output**

```json
{
  "data": [
    {
      "alertType": "example",
      "checkId": "example",
      "checkType": "example",
      "created_at": "example",
      "error": "example",
      "id": "example",
      "name": "example",
      "responseTime": 1,
      "runLocation": "example",
      "startedAt": "example",
      "statusCode": "example"
    }
  ]
}
```

### List check groups

List the account's check groups.

**Inputs**

- How many (`limit`, number): How many to return, up to 100. Leave empty for 10. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The response from Checkly.

**Example output**

```json
{
  "data": [
    {
      "activated": true,
      "concurrency": 1,
      "created_at": "example",
      "id": 1,
      "locations": [
        "example"
      ],
      "muted": true,
      "name": "example",
      "tags": [
        "example"
      ],
      "updated_at": "example"
    }
  ]
}
```

### List check results

List a check's recent results, newest first, optionally only failures or only within a time range. Checkly keeps raw results for 30 days.

**Inputs**

- Check (`check_id`, text, required): The check or monitor.
- Failed (`has_failures`, true/false): Only results that failed (on), or only ones that passed (off).
- Results (`result_type`, text): Which results to include. Leave empty for final results only. One of: `FINAL` (Final results only), `ATTEMPT` (Retry attempts only), `ALL` (All results).
- Since (`since`, date and time): Only results from this time on.
- Until (`until`, date and time): Only results before this time.
- How many (`limit`, number): How many to return, up to 100. Leave empty for 10. From 1 to 100.
- Next page (`next_id`, text): The nextId from the last page, to read the next page.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "entries": [
      {
        "checkId": "example",
        "created_at": "example",
        "hasErrors": true,
        "hasFailures": true,
        "id": "example",
        "isDegraded": true,
        "name": "example",
        "overMaxResponseTime": true,
        "responseTime": 1,
        "resultType": "example",
        "runLocation": "example",
        "startedAt": "example",
        "stoppedAt": "example"
      }
    ],
    "length": 1,
    "nextId": "example"
  }
}
```

### List check statuses

Get the current state of every check: failing, degraded or passing, with response times.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Checkly.

**Example output**

```json
{
  "data": [
    {
      "checkId": "example",
      "created_at": "example",
      "hasErrors": true,
      "hasFailures": true,
      "isDegraded": true,
      "lastCheckRunId": "example",
      "lastRunLocation": "example",
      "longestRun": 1,
      "name": "example",
      "shortestRun": 1,
      "sslDaysRemaining": 1,
      "updated_at": "example"
    }
  ]
}
```

### List checks

List the account's checks and monitors, optionally by name, type, status or tag.

**Inputs**

- Name contains (`search`, text): Only checks whose name contains this text.
- Type (`check_type`, text): Only checks of this type. One of: `API` (API check), `BROWSER` (Browser check), `HEARTBEAT` (Heartbeat monitor), `MULTI_STEP` (Multistep check), `PLAYWRIGHT` (Playwright check suite), `URL` (URL monitor), `TCP` (TCP monitor), `ICMP` (ICMP (ping) monitor), `DNS` (DNS monitor), `SSL` (SSL monitor), and 3 more.
- Status (`status`, text): Only checks in this state. One of: `passing`, `failing`, `degraded`.
- Tags (`tags`, list): Only checks with at least one of these tags.
- How many (`limit`, number): How many to return, up to 100. Leave empty for 10. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The response from Checkly.

**Example output**

```json
{
  "data": [
    {
      "activated": true,
      "checkType": "example",
      "created_at": "example",
      "description": "example",
      "frequency": 1,
      "groupId": 1,
      "heartbeat": {
        "grace": 1,
        "graceUnit": "example",
        "period": 1,
        "periodUnit": "example",
        "pingToken": "example"
      },
      "id": "example",
      "locations": [
        "example"
      ],
      "muted": true,
      "name": "example",
      "request": {
        "method": "example",
        "url": "example"
      },
      "tags": [
        "example"
      ],
      "updated_at": "example"
    }
  ]
}
```

### List dashboards

List the account's dashboards.

**Inputs**

- How many (`limit`, number): How many to return, up to 100. Leave empty for 10. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The response from Checkly.

**Example output**

```json
{
  "data": [
    {
      "created_at": "example",
      "customDomain": "example",
      "customUrl": "example",
      "dashboardId": "example",
      "description": "example",
      "header": "example",
      "id": 1,
      "isPrivate": true,
      "tags": [
        "example"
      ],
      "width": "example"
    }
  ]
}
```

### List maintenance windows

List the account's maintenance windows.

**Inputs**

- How many (`limit`, number): How many to return, up to 100. Leave empty for 10. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The response from Checkly.

**Example output**

```json
{
  "data": [
    {
      "created_at": "example",
      "description": "example",
      "endsAt": "example",
      "id": 1,
      "name": "example",
      "repeatEndsAt": "example",
      "repeatInterval": 1,
      "repeatUnit": "example",
      "startsAt": "example",
      "tags": [
        "example"
      ],
      "timezone": "example",
      "updated_at": "example"
    }
  ]
}
```

### Run checks

Run checks now, as the Schedule now button does, without waiting for them to finish. Returns a session for each check.

**Inputs**

- Checks (`check_ids`, list): The checks to run.
- Tags (`tags`, list): Run every check that has all of these tags.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "sessions": [
      {
        "checkId": "example",
        "checkSessionId": "example",
        "checkSessionLink": "example",
        "checkType": "example",
        "name": "example",
        "runLocations": [
          "example"
        ],
        "startedAt": "example",
        "status": "example",
        "stoppedAt": "example",
        "timeElapsed": 1
      }
    ]
  }
}
```

### Update maintenance window

Change a maintenance window. Only the fields filled in change.

**Inputs**

- Maintenance window (`window_id`, number, required): The maintenance window. At least 1.
- Name (`name`, text): The window's new name.
- Starts at (`starts_at`, date and time): When the window starts.
- Ends at (`ends_at`, date and time): When the window ends.
- Check tags (`tags`, list): Tags of the checks and check groups the window applies to.
- Repeat unit (`repeat_unit`, text): How the window repeats, with Repeat every. Leave empty for days. One of: `DAY` (Days), `WEEK` (Weeks), `MONTH` (Months).
- Repeat every (`repeat_interval`, number): Repeat the window every this many units, up to 365. Leave empty for a window that doesn't repeat. From 1 to 365.
- Stop repeating on (`repeat_ends_at`, date and time): The last day the window may start on when it repeats.
- Time zone (`timezone`, text): Time zone for a repeating window, such as Europe/Berlin. Leave empty for UTC.
- Description (`description`, text): A description of the window.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "description": "example",
    "endsAt": "example",
    "id": 1,
    "name": "example",
    "repeatEndsAt": "example",
    "repeatInterval": 1,
    "repeatUnit": "example",
    "startsAt": "example",
    "tags": [
      "example"
    ],
    "timezone": "example",
    "updated_at": "example"
  }
}
```

### Update URL monitor

Change a URL monitor's name, address, schedule or locations, or pause or mute it. Only the fields filled in change.

**Inputs**

- URL monitor (`check_id`, text, required): The URL monitor.
- Name (`name`, text): The monitor's new name.
- URL (`url`, text): The new address to monitor.
- Run every (`frequency`, number): How often it runs. Leave empty for every 10 minutes. One of: `1` (Every minute), `2` (Every 2 minutes), `5` (Every 5 minutes), `10` (Every 10 minutes), `15` (Every 15 minutes), `30` (Every 30 minutes), `60` (Every hour), `120` (Every 2 hours), `180` (Every 3 hours), `360` (Every 6 hours), `720` (Every 12 hours), `1440` (Every day).
- Locations (`locations`, list): Data center locations to run from. Leave empty for Checkly's default.
- Follow redirects (`follow_redirects`, true/false): Follow redirects to the final page.
- Degraded after (ms) (`degraded_response_time`, number): Milliseconds after which a response counts as degraded, up to 45000. Leave empty for 3000. From 0 to 45000.
- Failed after (ms) (`max_response_time`, number): Milliseconds after which a response counts as failed, up to 45000. Leave empty for 5000. From 0 to 45000.
- Check group (`group_id`, number): The check group to put it in. At least 1.
- Tags (`tags`, list): Tags for organizing and filtering checks.
- Running (`activated`, true/false): Whether it runs. Leave empty to turn it on.
- Muted (`muted`, true/false): Turn off alerts when it fails or recovers.
- Description (`description`, text): A description of the check.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "activated": true,
    "checkType": "example",
    "created_at": "example",
    "description": "example",
    "frequency": 1,
    "groupId": 1,
    "heartbeat": {
      "grace": 1,
      "graceUnit": "example",
      "period": 1,
      "periodUnit": "example",
      "pingToken": "example"
    },
    "id": "example",
    "locations": [
      "example"
    ],
    "muted": true,
    "name": "example",
    "request": {
      "method": "example",
      "url": "example"
    },
    "tags": [
      "example"
    ],
    "updated_at": "example"
  }
}
```
