Skip to main content
POST
/
api
/
v1
/
monitors
/
{id}
/
test
Test an existing monitor
curl --request POST \
  --url https://api.devhelm.io/api/v1/monitors/{id}/test \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "passed": true,
    "error": "<string>",
    "statusCode": 123,
    "responseTimeMs": 123,
    "responseHeaders": {},
    "bodyPreview": "<string>",
    "responseSizeBytes": 123,
    "redirectCount": 123,
    "finalUrl": "<string>",
    "assertionResults": [
      {
        "assertionType": "status_code",
        "passed": true,
        "severity": "fail",
        "message": "<string>",
        "expected": "<string>",
        "actual": "<string>"
      }
    ],
    "warnings": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

id
string<uuid>
required

Response

200 - */*

OK

data
object