List rules
GET/rules
List rules.
Authorization Action:
ruleengine:rules:list
Request
Query Parameters
ids string[]
tagLabels string[]
tagLabelValues string[]
severity string
Possible values: [info
, warning
, critical
]
status string
Possible values: [active
, inactive
]
page number
pageSize number
Default value: 1000
sort string
Possible values: Value must match regular expression sortingStringRegex
Default value: createdAt:desc
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
results object[]required
total numberrequired
{
"results": [
{
"conditions": [
{
"params": {},
"status": "active",
"createdAt": "2025-10-06T07:39:02.194Z",
"updatedAt": "2025-10-06T07:39:02.194Z",
"deletedAt": "2025-10-06T07:39:02.194Z",
"type": "threshold",
"id": "string"
}
],
"tags": [
{
"createdAt": "2025-10-06T07:39:02.194Z",
"updatedAt": "2025-10-06T07:39:02.194Z",
"deletedAt": "2025-10-06T07:39:02.194Z",
"label": "string",
"labelValue": "string",
"metadata": {},
"id": "string"
}
],
"status": "active",
"createdAt": "2025-10-06T07:39:02.194Z",
"updatedAt": "2025-10-06T07:39:02.194Z",
"deletedAt": "2025-10-06T07:39:02.194Z",
"name": "string",
"severity": "info",
"description": "string",
"processable": "enabled",
"notification": {
"messages": [
{
"target": "string",
"policy": "trigger",
"medium": "email",
"text": "string"
}
]
},
"id": "string"
}
],
"total": 0
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://connhex.com/rules' \
-H 'Accept: application/json'