{ "info": { "_postman_id": "2e576c22-4acc-43cb-9b6c-412119c86e47", "name": "ThingsBoard Admin admin-controller rule-chain-controller API", "description": "ThingsBoard Admin API \u2014 subset of the ThingsBoard REST API (open-source IoT platform). Covers: Admin, Audit Log, Event, Usage Info, Queue, Queue Stats, Mail Config Template, Qr Code Settings, Job.\n\nContact Support:\n Name: ThingsBoard team\n Email: info@thingsboard.io", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:13:09.000Z", "updatedAt": "2026-07-28T03:13:09.000Z", "lastUpdatedBy": "35240", "uid": "35240-2e576c22-4acc-43cb-9b6c-412119c86e47" }, "item": [ { "name": "api", "item": [ { "name": "ruleChains", "item": [ { "name": "import", "item": [ { "name": "Import Rule Chains", "id": "a1710006-263a-4b1e-9f72-b71eb35228f4", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"metadata\": [\n {\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n },\n {\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n }\n ],\n \"ruleChains\": [\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"EDGE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChains/import?overwrite=false", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChains", "import" ], "query": [ { "description": "Enables overwrite for existing rule chains with the same name.", "key": "overwrite", "value": "false" } ] }, "description": "Imports all tenant rule chains as one JSON.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "a021eafb-5355-4763-9054-5544a14221fa", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"metadata\": [\n {\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n },\n {\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n }\n ],\n \"ruleChains\": [\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"EDGE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChains/import?overwrite=false", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChains", "import" ], "query": [ { "description": "Enables overwrite for existing rule chains with the same name.", "key": "overwrite", "value": "false" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"ruleChainName\": \"\",\n \"updated\": \"\",\n \"error\": \"\"\n },\n {\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"ruleChainName\": \"\",\n \"updated\": \"\",\n \"error\": \"\"\n }\n]", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-a021eafb-5355-4763-9054-5544a14221fa" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-a1710006-263a-4b1e-9f72-b71eb35228f4" } ], "id": "0b66bae2-6937-4cf1-899f-cc3c5ec26a88", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-0b66bae2-6937-4cf1-899f-cc3c5ec26a88" }, { "name": "export", "item": [ { "name": "Export Rule Chains", "id": "3bf063ac-ab66-4d2f-b926-34d791d01744", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChains/export?limit=", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChains", "export" ], "query": [ { "description": "(Required) A limit of rule chains to export.", "key": "limit", "value": "" } ] }, "description": "Exports all tenant rule chains as one JSON.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "ac5d94e2-e1ab-4de4-8815-54d43de33837", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChains/export?limit=", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChains", "export" ], "query": [ { "description": "(Required) A limit of rule chains to export.", "key": "limit", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"metadata\": [\n {\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n },\n {\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n }\n ],\n \"ruleChains\": [\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"EDGE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ]\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-ac5d94e2-e1ab-4de4-8815-54d43de33837" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-3bf063ac-ab66-4d2f-b926-34d791d01744" } ], "id": "0bbfd29b-d91f-4170-8972-68935863b33f", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-0bbfd29b-d91f-4170-8972-68935863b33f" }, { "name": "Get Rule Chains (getRuleChains)", "id": "be449902-e5e1-4538-a239-4d7af71a5760", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChains?ruleChainIds=&ruleChainIds=&pageSize=&page=&type=EDGE&textSearch=&sortProperty=createdTime&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChains" ], "query": [ { "description": "(Required) A list of rule chain ids, separated by comma ','", "key": "ruleChainIds", "value": "" }, { "description": "(Required) A list of rule chain ids, separated by comma ','", "key": "ruleChainIds", "value": "" }, { "description": "(Required) Maximum amount of entities in a one page", "key": "pageSize", "value": "" }, { "description": "(Required) Sequence number of page starting from 0", "key": "page", "value": "" }, { "description": "Rule chain type (CORE or EDGE)", "key": "type", "value": "EDGE" }, { "description": "The case insensitive 'substring' filter based on the rule chain name.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "createdTime" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ] }, "description": "Returns a page of Rule Chains owned by tenant. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "f3ea7bf3-f995-4ac0-b296-e56a860cf159", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChains?ruleChainIds=&pageSize=&page=&type=EDGE&textSearch=&sortProperty=createdTime&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChains" ], "query": [ { "description": "(Required) A list of rule chain ids, separated by comma ','", "key": "ruleChainIds", "value": "" }, { "description": "(Required) Maximum amount of entities in a one page", "key": "pageSize", "value": "" }, { "description": "(Required) Sequence number of page starting from 0", "key": "page", "value": "" }, { "description": "Rule chain type (CORE or EDGE)", "key": "type", "value": "EDGE" }, { "description": "The case insensitive 'substring' filter based on the rule chain name.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "createdTime" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"EDGE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"EDGE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"totalPages\": \"\",\n \"totalElements\": \"\",\n \"hasNext\": \"\"\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-f3ea7bf3-f995-4ac0-b296-e56a860cf159" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-be449902-e5e1-4538-a239-4d7af71a5760" } ], "id": "c72ec82a-0b00-450e-8ae9-59ef73aa9f74", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-c72ec82a-0b00-450e-8ae9-59ef73aa9f74" }, { "name": "ruleChain", "item": [ { "name": "{ruleChainId}", "item": [ { "name": "root", "item": [ { "name": "Set Root Rule Chain (setRootRuleChain)", "id": "9f5899c5-5f8a-4be8-99fd-d9ba2b9eef4d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/root", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "root" ], "variable": [ { "id": "afaf1024-c48b-4c79-b2c5-368f0591d2a9", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Makes the rule chain to be root rule chain. Updates previous root rule chain as well. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "ad0a7dc9-5696-4588-8298-3c9de4c80fb9", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/root", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "root" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-ad0a7dc9-5696-4588-8298-3c9de4c80fb9" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-9f5899c5-5f8a-4be8-99fd-d9ba2b9eef4d" } ], "id": "91ad153a-368e-407f-ac11-33a187de9c9d", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-91ad153a-368e-407f-ac11-33a187de9c9d" }, { "name": "edgeTemplateRoot", "item": [ { "name": "Set Edge Template Root Rule Chain (setEdgeTemplateRootRuleChain)", "id": "368e9357-6c6f-4c51-ad6c-ca2653ada04e", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/edgeTemplateRoot", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "edgeTemplateRoot" ], "variable": [ { "id": "c5763fa5-df63-4258-8bb5-30ec4fc11142", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Makes the rule chain to be root rule chain for any new edge that will be created. Does not update root rule chain for already created edges. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "1ba20a6c-bb87-4ece-8c72-d14a775ae453", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/edgeTemplateRoot", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "edgeTemplateRoot" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-1ba20a6c-bb87-4ece-8c72-d14a775ae453" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-368e9357-6c6f-4c51-ad6c-ca2653ada04e" } ], "id": "63193f78-d91b-43ed-9ee2-10c269f4e4db", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-63193f78-d91b-43ed-9ee2-10c269f4e4db" }, { "name": "autoAssignToEdge", "item": [ { "name": "Set Auto Assign to Edge Rule Chain (setAutoAssignToEdgeRuleChain)", "id": "c3ecf32a-90b3-4d6b-a03d-c4d28e1fc972", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/autoAssignToEdge", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "autoAssignToEdge" ], "variable": [ { "id": "0fe3ccf3-c334-47f5-9dd5-7a1081a050ae", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Makes the rule chain to be automatically assigned for any new edge that will be created. Does not assign this rule chain for already created edges. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "ea35e6da-912b-44ad-b4dc-9bce6435961c", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/autoAssignToEdge", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "autoAssignToEdge" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-ea35e6da-912b-44ad-b4dc-9bce6435961c" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-c3ecf32a-90b3-4d6b-a03d-c4d28e1fc972" }, { "name": "Unset Auto Assign to Edge Rule Chain (unsetAutoAssignToEdgeRuleChain)", "id": "60a84685-7d3a-4941-92f0-82a17f9607de", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/autoAssignToEdge", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "autoAssignToEdge" ], "variable": [ { "id": "0e6860c5-0481-400e-8585-80492b3308e3", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Removes the rule chain from the list of rule chains that are going to be automatically assigned for any new edge that will be created. Does not unassign this rule chain for already assigned edges. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "bdfdb591-ad3f-4879-8aa3-15c6331c8b7d", "name": "OK", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/autoAssignToEdge", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "autoAssignToEdge" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-bdfdb591-ad3f-4879-8aa3-15c6331c8b7d" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-60a84685-7d3a-4941-92f0-82a17f9607de" } ], "id": "6fb6227c-daf6-4581-a005-8d7fc2b55a9f", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-6fb6227c-daf6-4581-a005-8d7fc2b55a9f" }, { "name": "output", "item": [ { "name": "labels", "item": [ { "name": "usage", "item": [ { "name": "Get Output Labels Usage (getRuleChainOutputLabelsUsage)", "id": "da8b7468-265a-4621-a704-080921e5e6f1", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/output/labels/usage", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "output", "labels", "usage" ], "variable": [ { "id": "91a012c4-94b2-401b-83ae-2396e6b90e71", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Fetch the list of rule chains and the relation types (labels) they use to process output of the current rule chain based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "611ad6a6-7a53-4708-a02d-ef6e2ec4867f", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/output/labels/usage", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "output", "labels", "usage" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"labels\": [\n \"\",\n \"\"\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"ruleChainName\": \"\",\n \"ruleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"ruleNodeName\": \"\"\n },\n {\n \"labels\": [\n \"\",\n \"\"\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"ruleChainName\": \"\",\n \"ruleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"ruleNodeName\": \"\"\n }\n]", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-611ad6a6-7a53-4708-a02d-ef6e2ec4867f" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-da8b7468-265a-4621-a704-080921e5e6f1" } ], "id": "15c0cea5-d4e4-40c8-bc50-bcfad4d224d4", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-15c0cea5-d4e4-40c8-bc50-bcfad4d224d4" }, { "name": "Get Rule Chain Output Labels (getRuleChainOutputLabels)", "id": "662e602b-1f8a-464d-8d63-de0bcc3cacb0", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/output/labels", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "output", "labels" ], "variable": [ { "id": "ced0bc35-c716-4c7f-877e-6f6c8156834f", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Fetch the unique labels for the \"output\" Rule Nodes that belong to the Rule Chain based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "ef9c2633-e1e5-4536-8cca-55f409348eba", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/output/labels", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "output", "labels" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n \"\",\n \"\"\n]", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-ef9c2633-e1e5-4536-8cca-55f409348eba" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-662e602b-1f8a-464d-8d63-de0bcc3cacb0" } ], "id": "9916acac-3fae-43dc-b393-e98539818c9a", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-9916acac-3fae-43dc-b393-e98539818c9a" } ], "id": "a5d9f861-ae9b-494a-b4fd-b841935a336a", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-a5d9f861-ae9b-494a-b4fd-b841935a336a" }, { "name": "metadata", "item": [ { "name": "Get Rule Chain (getRuleChainById)", "id": "9e683902-d1ce-4295-8124-75e155b94c60", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/metadata", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "metadata" ], "variable": [ { "id": "2010c073-10e3-4382-af27-f70aa8cbde73", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Fetch the Rule Chain Metadata object based on the provided Rule Chain Id. The metadata object contains information about the rule nodes and their connections.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "c2e72f64-91f3-4f23-b74c-356cac2227f7", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId/metadata", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId", "metadata" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-c2e72f64-91f3-4f23-b74c-356cac2227f7" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-9e683902-d1ce-4295-8124-75e155b94c60" } ], "id": "62e2763a-0c4e-498f-93c8-e7ffcbe2b57d", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-62e2763a-0c4e-498f-93c8-e7ffcbe2b57d" }, { "name": "Get Rule Chain (getRuleChainById)", "id": "73e8b7b9-b9af-4ac0-b764-12dfedc0b9a8", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId" ], "variable": [ { "id": "2520ca86-55f8-4cb4-8693-e341a3573898", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Fetch the Rule Chain object based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "2174a685-32c7-475d-a72c-dc572c8db79f", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-2174a685-32c7-475d-a72c-dc572c8db79f" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-73e8b7b9-b9af-4ac0-b764-12dfedc0b9a8" }, { "name": "Delete Rule Chain (deleteRuleChain)", "id": "edda27ca-1f30-407c-a052-751b489b091a", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId" ], "variable": [ { "id": "2f31825e-bea2-41fa-929d-e2b26c2bbcb0", "key": "ruleChainId", "value": "", "description": "(Required) A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Deletes the rule chain. Referencing non-existing rule chain Id will cause an error. Referencing rule chain that is used in the device profiles will cause an error.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "acf12a56-800b-403f-a30e-71f933b75763", "name": "OK", "originalRequest": { "method": "DELETE", "header": [], "url": { "raw": "{{baseUrl}}/api/ruleChain/:ruleChainId", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", ":ruleChainId" ], "variable": [ { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-acf12a56-800b-403f-a30e-71f933b75763" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-edda27ca-1f30-407c-a052-751b489b091a" } ], "id": "2edb9f5b-153d-4316-824b-177198e0c661", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-2edb9f5b-153d-4316-824b-177198e0c661" }, { "name": "testScript", "item": [ { "name": "Test Script Function", "id": "7f3e7bb5-dedc-45fb-bd79-fac49df46e8b", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChain/testScript?scriptLang=JS", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "testScript" ], "query": [ { "description": "Script language: JS or TBEL", "key": "scriptLang", "value": "JS" } ] }, "description": "Execute the Script function and return the result. The format of request: \n\n```json\n{\n \"script\": \"Your Function as String\",\n \"scriptType\": \"One of: update, generate, filter, switch, json, string\",\n \"argNames\": [\"msg\", \"metadata\", \"type\"],\n \"msg\": \"{\\\"temperature\\\": 42}\", \n \"metadata\": {\n \"deviceName\": \"Device A\",\n \"deviceType\": \"Thermometer\"\n },\n \"msgType\": \"POST_TELEMETRY_REQUEST\"\n}\n```\n\n Expected result JSON contains \"output\" and \"error\".\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "37c7a151-5e0d-4270-9f4d-667159f06579", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChain/testScript?scriptLang=JS", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "testScript" ], "query": [ { "description": "Script language: JS or TBEL", "key": "scriptLang", "value": "JS" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-37c7a151-5e0d-4270-9f4d-667159f06579" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-7f3e7bb5-dedc-45fb-bd79-fac49df46e8b" } ], "id": "5c6ac5d3-8134-4ab8-8efa-5fa65837eeb2", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-5c6ac5d3-8134-4ab8-8efa-5fa65837eeb2" }, { "name": "metadata", "item": [ { "name": "Update Rule Chain Metadata", "id": "416ea5bc-627f-4c64-a51e-72d35a284682", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChain/metadata?updateRelated=true", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "metadata" ], "query": [ { "description": "Update related rule nodes.", "key": "updateRelated", "value": "true" } ] }, "description": "Updates the rule chain metadata. The metadata object contains information about the rule nodes and their connections.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "07c97ac9-e71e-477a-b767-560b9d19d15d", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChain/metadata?updateRelated=true", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "metadata" ], "query": [ { "description": "Update related rule nodes.", "key": "updateRelated", "value": "true" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"connections\": [\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n },\n {\n \"fromIndex\": \"\",\n \"toIndex\": \"\",\n \"type\": \"\"\n }\n ],\n \"firstNodeIndex\": \"\",\n \"nodes\": [\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"name\": \"\",\n \"debugMode\": \"\",\n \"debugSettings\": {\n \"failuresEnabled\": \"\",\n \"allEnabled\": \"\",\n \"allEnabledUntil\": \"\"\n },\n \"singletonMode\": \"\",\n \"queueName\": \"\",\n \"configurationVersion\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"externalId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"ruleChainConnections\": [\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n },\n {\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"fromIndex\": \"\",\n \"targetRuleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"ruleChainId\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"version\": \"\"\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-07c97ac9-e71e-477a-b767-560b9d19d15d" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-416ea5bc-627f-4c64-a51e-72d35a284682" } ], "id": "c9fcbdce-6daf-4441-ac47-2c3fc457a89d", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-c9fcbdce-6daf-4441-ac47-2c3fc457a89d" }, { "name": "device", "item": [ { "name": "default", "item": [ { "name": "Create Default Rule Chain", "id": "af70ab20-6685-4481-9750-9251b83040f2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChain/device/default", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "device", "default" ] }, "description": "Create rule chain from template, based on the specified name in the request. Creates the rule chain based on the template that is used to create root rule chain. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "54f753a6-8cae-4b23-b0e7-01caa6489f4b", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChain/device/default", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "device", "default" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-54f753a6-8cae-4b23-b0e7-01caa6489f4b" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-af70ab20-6685-4481-9750-9251b83040f2" } ], "id": "a1a63453-f210-4ee5-aa15-a029f02749d3", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-a1a63453-f210-4ee5-aa15-a029f02749d3" } ], "id": "8667eaea-893c-4e26-87ae-9474a41cbd53", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-8667eaea-893c-4e26-87ae-9474a41cbd53" }, { "name": "tbelEnabled", "item": [ { "name": "Is TBEL Script Executor Enabled", "id": "763ad215-ca4a-4277-bbbc-4715eee45a3f", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/tbelEnabled", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "tbelEnabled" ] }, "description": "Returns 'True' if the TBEL script execution is enabled\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "32e87bd2-3f39-4700-b40a-723ab8d9658b", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/tbelEnabled", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "tbelEnabled" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-32e87bd2-3f39-4700-b40a-723ab8d9658b" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-763ad215-ca4a-4277-bbbc-4715eee45a3f" } ], "id": "f8f1fbc5-360b-46cd-bd02-99e855931dcc", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-f8f1fbc5-360b-46cd-bd02-99e855931dcc" }, { "name": "autoAssignToEdgeRuleChains", "item": [ { "name": "Get Auto Assign to Edge Rule Chains (getAutoAssignToEdgeRuleChains)", "id": "5f9ab59a-9620-41cd-9795-90d9d986006d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/autoAssignToEdgeRuleChains", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "autoAssignToEdgeRuleChains" ] }, "description": "Returns a list of Rule Chains that will be assigned to a newly created edge. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "d20acfe1-8f01-413e-b2ee-a892454068fd", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleChain/autoAssignToEdgeRuleChains", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain", "autoAssignToEdgeRuleChains" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"EDGE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n]", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-d20acfe1-8f01-413e-b2ee-a892454068fd" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-5f9ab59a-9620-41cd-9795-90d9d986006d" } ], "id": "3e0421e7-91c5-4258-9c94-70887b935fb3", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-3e0421e7-91c5-4258-9c94-70887b935fb3" }, { "name": "Create or Update Rule Chain (saveRuleChain)", "id": "667d6213-eafc-4c21-94d2-999565f11d23", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChain", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain" ] }, "description": "Create or update the Rule Chain. When creating Rule Chain, platform generates Rule Chain Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Rule Chain Id will be present in the response. Specify existing Rule Chain id to update the rule chain. Referencing non-existing rule chain Id will cause 'Not Found' error.\n\nThe rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.Remove 'id', 'tenantId' from the request body example (below) to create new Rule Chain entity.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "e438b177-146c-4093-ad5b-1ae3a7fe5047", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/ruleChain", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleChain" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-e438b177-146c-4093-ad5b-1ae3a7fe5047" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-667d6213-eafc-4c21-94d2-999565f11d23" } ], "id": "fe43f0b3-25b3-47d2-9d67-dfb9814e33b5", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-fe43f0b3-25b3-47d2-9d67-dfb9814e33b5" }, { "name": "edge", "item": [ { "name": "{edgeId}", "item": [ { "name": "ruleChain", "item": [ { "name": "{ruleChainId}", "item": [ { "name": "Assign Rule Chain to Edge (assignRuleChainToEdge)", "id": "88a3e2aa-7b91-48b1-a0fb-da63aa816b0c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/edge/:edgeId/ruleChain/:ruleChainId", "host": [ "{{baseUrl}}" ], "path": [ "api", "edge", ":edgeId", "ruleChain", ":ruleChainId" ], "variable": [ { "id": "7999286c-1d73-4e4d-a551-63ae4ff715fa", "key": "edgeId", "value": "", "description": "(Required) " }, { "id": "6099f666-78d3-4ed7-9c91-b75019bcfa37", "key": "ruleChainId", "value": "", "description": "(Required) " } ] }, "description": "Creates assignment of an existing rule chain to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment rule chain (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once rule chain will be delivered to edge service, it's going to start processing messages locally. \n\nOnly rule chain with type 'EDGE' can be assigned to edge.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "05196545-0a06-44d3-b9b5-baf57881739d", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/edge/:edgeId/ruleChain/:ruleChainId", "host": [ "{{baseUrl}}" ], "path": [ "api", "edge", ":edgeId", "ruleChain", ":ruleChainId" ], "variable": [ { "key": "edgeId" }, { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-05196545-0a06-44d3-b9b5-baf57881739d" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-88a3e2aa-7b91-48b1-a0fb-da63aa816b0c" }, { "name": "Unassign Rule Chain from Edge (unassignRuleChainFromEdge)", "id": "9b69b3a0-8e78-4b53-948c-1b3cd23705f6", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/edge/:edgeId/ruleChain/:ruleChainId", "host": [ "{{baseUrl}}" ], "path": [ "api", "edge", ":edgeId", "ruleChain", ":ruleChainId" ], "variable": [ { "id": "7fd34e2a-675f-49c5-a51c-486f3f1f2281", "key": "edgeId", "value": "", "description": "(Required) " }, { "id": "aa8781bd-f6bb-4280-b686-8454eedad702", "key": "ruleChainId", "value": "", "description": "(Required) " } ] }, "description": "Clears assignment of the rule chain to the edge. Unassignment works in async way - first, 'unassign' notification event pushed to edge queue on platform. Second, remote edge service will receive an 'unassign' command to remove rule chain (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once 'unassign' command will be delivered to edge service, it's going to remove rule chain locally.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "98972cf8-25d6-4b5e-b147-d040d3d7e715", "name": "OK", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/edge/:edgeId/ruleChain/:ruleChainId", "host": [ "{{baseUrl}}" ], "path": [ "api", "edge", ":edgeId", "ruleChain", ":ruleChainId" ], "variable": [ { "key": "edgeId" }, { "key": "ruleChainId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"CORE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-98972cf8-25d6-4b5e-b147-d040d3d7e715" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-9b69b3a0-8e78-4b53-948c-1b3cd23705f6" } ], "id": "15959028-1605-4397-a2b1-e91c354678bf", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-15959028-1605-4397-a2b1-e91c354678bf" } ], "id": "fdc6d939-dc4a-4b24-abe9-a839696d1b08", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-fdc6d939-dc4a-4b24-abe9-a839696d1b08" }, { "name": "ruleChains", "item": [ { "name": "Get Edge Rule Chains (getEdgeRuleChains)", "id": "0997f7b2-8a56-45d9-b4aa-44b04fb832f3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/edge/:edgeId/ruleChains?pageSize=&page=&textSearch=&sortProperty=createdTime&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "edge", ":edgeId", "ruleChains" ], "query": [ { "description": "(Required) Maximum amount of entities in a one page", "key": "pageSize", "value": "" }, { "description": "(Required) Sequence number of page starting from 0", "key": "page", "value": "" }, { "description": "The case insensitive 'substring' filter based on the rule chain name.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "createdTime" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ], "variable": [ { "id": "0c32ae40-61e3-4232-a40e-8fb65293368a", "key": "edgeId", "value": "", "description": "(Required) A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Returns a page of Rule Chains assigned to the specified edge. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "6f4064cd-5d28-444f-89df-c252777b4560", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/edge/:edgeId/ruleChains?pageSize=&page=&textSearch=&sortProperty=createdTime&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "edge", ":edgeId", "ruleChains" ], "query": [ { "description": "(Required) Maximum amount of entities in a one page", "key": "pageSize", "value": "" }, { "description": "(Required) Sequence number of page starting from 0", "key": "page", "value": "" }, { "description": "The case insensitive 'substring' filter based on the rule chain name.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "createdTime" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ], "variable": [ { "key": "edgeId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"EDGE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"name\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"id\": {\n \"entityType\": \"RULE_CHAIN\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"type\": \"EDGE\",\n \"firstRuleNodeId\": {\n \"entityType\": \"RULE_NODE\",\n \"id\": \"\"\n },\n \"root\": \"\",\n \"debugMode\": \"\",\n \"version\": \"\",\n \"configuration\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"totalPages\": \"\",\n \"totalElements\": \"\",\n \"hasNext\": \"\"\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-6f4064cd-5d28-444f-89df-c252777b4560" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-0997f7b2-8a56-45d9-b4aa-44b04fb832f3" } ], "id": "223c65cf-3c3b-4e71-8bc3-8ebfa7f92d1b", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-223c65cf-3c3b-4e71-8bc3-8ebfa7f92d1b" } ], "id": "11238a7f-2f5c-4eb7-a6fb-5f853131f3c3", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-11238a7f-2f5c-4eb7-a6fb-5f853131f3c3" } ], "id": "e13bf9fd-0fd5-4c44-bcf7-907ada6cbcc5", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-e13bf9fd-0fd5-4c44-bcf7-907ada6cbcc5" }, { "name": "ruleNode", "item": [ { "name": "{ruleNodeId}", "item": [ { "name": "debugIn", "item": [ { "name": "Get Latest Input Message (getLatestRuleNodeDebugInput)", "id": "730994e6-f9d8-435a-a969-b65c8dcf2d8f", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleNode/:ruleNodeId/debugIn", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleNode", ":ruleNodeId", "debugIn" ], "variable": [ { "id": "260a8ad4-be73-423e-a950-e2d822b1a6ca", "key": "ruleNodeId", "value": "", "description": "(Required) A string value representing the rule node id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Gets the input message from the debug events for specified Rule Chain Id. Referencing non-existing rule chain Id will cause an error. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "ce6648ff-6953-4200-b2ed-b8861b253b11", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/ruleNode/:ruleNodeId/debugIn", "host": [ "{{baseUrl}}" ], "path": [ "api", "ruleNode", ":ruleNodeId", "debugIn" ], "variable": [ { "key": "ruleNodeId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n}", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-ce6648ff-6953-4200-b2ed-b8861b253b11" } ], "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-730994e6-f9d8-435a-a969-b65c8dcf2d8f" } ], "id": "ca46abca-80c5-4e40-a616-4cc72ef5d536", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-ca46abca-80c5-4e40-a616-4cc72ef5d536" } ], "id": "11fec962-2d95-4f9d-9979-53ec08633bb2", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-11fec962-2d95-4f9d-9979-53ec08633bb2" } ], "id": "e9524abc-094e-4700-be61-cc519dcad4ff", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-e9524abc-094e-4700-be61-cc519dcad4ff" } ], "id": "bbc1844f-1d64-4273-b463-15a441257762", "createdAt": "2026-07-28T03:13:10.000Z", "updatedAt": "2026-07-28T03:13:10.000Z", "uid": "35240-bbc1844f-1d64-4273-b463-15a441257762" } ], "variable": [ { "key": "baseUrl", "value": "https://demo.thingsboard.io" } ] }