Create a new monitor
5 min
Create a new monitor
Create a new monitor base information
POST
https://api-sandbox.klavi.ai/monitor/v1/monitors
curl --location 'https://api-sandbox.klavi.ai/monitor/v1/monitors' \
--header 'Authorization: string' \
--data '{"name":"String","onlineStatus":"Number","monitorWeekDay":"Array","monitorTimes":"Number","notificationEmails":"Array","rules":"Object","resultDeliveries":"Object"}'Parameter
children
field
Currently only supports monitoring balance related indicators, including: BALANCE_AMOUNT and BALANCE_INCREASE.
operator
Comparison operator, currently only supports >=, !=.
value
Amount, numeric type.
rule
field | operator | value |
|---|---|---|
BALANCE_AMOUNT | >=, != | If operator is equal to >=, then value can only be a number. If operator is equal to !=, then value can only be null. |
BALANCE_INCREASE | >= | Only numbers. |