API REFERENCE
Rules
Get rules
1min
Get the rules set of a monitor
GET
Request
Path Params
id
String
required
ID of the monitor
Header Parameters
Authorization
String
required
Bearer access token, it returned by the /auth
Curl
Node.js
JS
Python
Ruby
1curl --location --globoff 'https://api-sandbox.klavi.ai/monitor/v1/monitors/{id}/rules' \
2--header 'Authorization: string'
Responses
200
1{
2 "rule":
3 {
4 "relation": "and",
5 "children":
6 [
7 {
8 "field": "BALANCE_INCREASE",
9 "value": 12,
10 "operator": ">="
11 },
12 {
13 "field": "BALANCE_AMOUNT",
14 "value": 12,
15 "operator": ">="
16 }
17 ]
18 },
19 "createAt": "2025-03-20T19:03:59Z",
20 "updateAt": "2025-03-20T19:03:59Z"
21
22}
Updated 06 May 2025
Did this page help you?