v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Synthetics

Create a test suite

post/api/v2/synthetics/suites

Request body

Example request

{
  "data": {
    "attributes": {
      "message": "Notification message",
      "monitor_id": 12345678,
      "name": "Example suite name",
      "public_id": "123-abc-456",
      "tags": [
        "env:production"
      ],
      "tests": [
        {
          "alerting_criticality": "critical"
        }
      ],
      "type": "suite"
    },
    "type": "suites"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "message": "Notification message",
      "monitor_id": 12345678,
      "name": "Example suite name",
      "public_id": "123-abc-456",
      "tags": [
        "env:production"
      ],
      "tests": [
        {
          "alerting_criticality": "critical"
        }
      ],
      "type": "suite"
    },
    "id": "123-abc-456",
    "type": "suites"
  }
}