Skip to main content
POST
CreateMonitorTask

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

One JSON object with exact, case-sensitive root field names. Unknown and duplicate root fields are rejected. URL query parameters are not supported.

ClientToken
string
required

Required nonblank idempotency token, at most 128 UTF-8 bytes before trimming. Reuse only with the identical request.

Minimum string length: 1
Config
object
required

TaskName and RuleExpression are required and must be nonblank. Config fields follow Go JSON case-insensitive matching and last-value behavior; additional provider fields are forwarded. Required-field, whitespace and byte checks apply in the runtime validator.

Response

Successful response