v2

latestOpenAPI 3.0.02026-07-261859071.2 MB
Checks

Update a multi-step check

Updates a Multi-Step check.

put/v1/checks/multistep/{id}

Path parameters

idstring required

Query parameters

autoAssignAlertsboolean

Determines whether a new check will automatically be added as a subscriber to all existing alert channels when it gets created.

Determines whether a new check will automatically be added as a subscriber to all existing alert channels when it gets created.

Headers

x-checkly-accountstring

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

Request body

namestring

The name of the check.

activatedboolean

Determines if the check is running or not.

mutedboolean

Determines if any notifications will be send out when a check fails and/or recovers.

doubleCheckboolean

[Deprecated] Retry failed check runs. This property is deprecated, and retryStrategy can be used instead.

shouldFailboolean

Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.

locationsModel194[] nullable

An array of one or more data center locations where to run this check.

tagsstring[]

Tags for organizing and filtering checks.

useGlobalAlertSettingsboolean

When true, the account level alert setting will be used, not the alert setting defined on this check.

groupIdnumber nullable

The id of the check group this check is part of.

groupOrdernumber nullable

The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.

runtimeId'2026.04' | '2025.04' | '2024.09' | '2024.02' | '2023.09' | '2023.02' | '2022.10' nullable

The runtime version, i.e. fixed set of runtime dependencies, used to execute this check.

runParallelboolean

When true, the check will run in parallel in all selected locations.

descriptionstring nullable

A description of the check.

checkType'MULTI_STEP'
frequency1 | 2 | 5 | 10 | 15 | 30 | 60 | 120 | 180 | 360 | 720 | 1440

How often the check should run in minutes.

scriptstring nullable

A valid piece of Node.js javascript code describing a multi-step API interaction with the Playwright frameworks.

scriptPathstring nullable

Path of the script in the runtime.

privateLocationsstring[] nullable

An array of one or more private locations where to run the check.

Example request

{
  "name": "Check",
  "locations": [
    "us-east-1",
    "eu-central-1"
  ],
  "tags": [
    "production"
  ],
  "alertChannelSubscriptions": [],
  "environmentVariables": [],
  "script": "const { chromium } = require(\"playwright\");\n(async () => {\n\n  // launch the browser and open a new page\n  const browser = await chromium.launch();\n  const page = await browser.newPage();\n\n  // navigate to our target web page\n  await page.goto(\"https://danube-webshop.herokuapp.com/\");\n\n  // click on the login button and go through the login procedure\n  await page.click(\"#login\");\n  await page.type(\"#n-email\", \"user@email.com\");\n  await page.type(\"#n-password2\", \"supersecure1\");\n  await page.click(\"#goto-signin-btn\");\n\n  // wait until the login confirmation message is shown\n  await page.waitForSelector(\"#login-message\", { visible: true });\n\n  // close the browser and terminate the session\n  await browser.close();\n})();",
  "privateLocations": []
}

Response

Successful

idstring
namestring required

The name of the check.

activatedboolean

Determines if the check is running or not.

mutedboolean

Determines if any notifications will be send out when a check fails and/or recovers.

doubleCheckboolean

[Deprecated] Retry failed check runs. This property is deprecated, and retryStrategy can be used instead.

shouldFailboolean

Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.

locationsModel189[] nullable

An array of one or more data center locations where to run this check.

tagsstring[]

Tags for organizing and filtering checks.

useGlobalAlertSettingsboolean

When true, the account level alert setting will be used, not the alert setting defined on this check.

groupIdnumber nullable

The id of the check group this check is part of.

groupOrdernumber nullable

The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.

runtimeId'2026.04' | '2025.04' | '2024.09' | '2024.02' | '2023.09' | '2023.02' | '2022.10' nullable

The runtime version, i.e. fixed set of runtime dependencies, used to execute this check.

runParallelboolean

When true, the check will run in parallel in all selected locations.

descriptionstring nullable

A description of the check.

checkType'MULTI_STEP'
frequency1 | 2 | 5 | 10 | 15 | 30 | 60 | 120 | 180 | 360 | 720 | 1440

How often the check should run in minutes.

scriptstring nullable required

A valid piece of Node.js javascript code describing a multi-step API interaction with the Playwright frameworks.

privateLocationsstring[] nullable

An array of one or more private locations where to run the check.

created_atstring date
updated_atstring date-time nullable

Example response

{
  "id": "b9972e6a-5579-4080-b1d8-0e43f4847b82",
  "name": "Check",
  "locations": [
    "us-east-1",
    "eu-central-1"
  ],
  "tags": [
    "production"
  ],
  "privateLocations": [
    "data-center-eu"
  ],
  "alertChannels": {
    "sms": [
      {
        "number": "+549110000000",
        "name": "SMS Alert"
      }
    ]
  },
  "environmentVariables": [
    {
      "key": "API_KEY"
    }
  ]
}