Get condition rules by condition id

GET
/api/v2/conditions/{conditionId}/rules

Gets all rules for a specific condition by its unique identifier with pagination support. Returns a paginated list of rules for the specified condition.

AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'

In: header

Path Parameters

conditionId*string

The unique identifier of the condition whose rules to retrieve.

Formatuuid

Query Parameters

sort_by?string

Sort by field name (optional). supported fields: "Name", "connection.name", "CreatedDate", "ModifiedDate"

name?string

Condition rule name used for filtering.
Optional filter operators can be applied to refine the search:

  • equal (default)
  • contains
  • startswith
  • EndsWith
page?integer

Page number (1-based). Default is 1. Ignored when get_all = true.

Formatint32
Range1 <= value <= 2147483647
page_size?integer

Number of items per page. Default is 10. Maximum is 100. Ignored when get_all = true.

Formatint32
Range1 <= value <= 50
get_all?boolean

When true, pagination is disabled and all items are returned.

sort_direction?string

Sort direction: "asc" or "desc". Default is "asc" (optional)

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/conditions/497f6eca-6276-4993-bfeb-53cbbbba6f08/rules"
{  "isSuccess": true,  "error": {},  "errorDetails": "string",  "message": "string",  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "conditionId": "1e06e0eb-07f6-4fcd-8750-870cbafd1693",      "name": "string",      "connectionId": "84b500d7-71c8-4b1f-adf4-f1eb0000973d",      "connection": "string",      "numberOfValues": 0,      "conditionRuleValues": [        {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "conditionRuleId": "c1500357-2ca4-46d9-9ef2-7dc5a211829b",          "type": "string",          "variable": "string",          "comparisonValue": "string",          "chart": "string",          "chartHasValue": true,          "operator": "string",          "lastReloadSuccessful": true,          "order": 0        }      ]    }  ],  "resultInfo": {    "page": 0,    "perPage": 0,    "totalCount": 0,    "totalPages": 0,    "hasPreviousPage": true,    "hasNextPage": true  }}