{ "info": { "_postman_id": "9b2cb7bc-1a9a-42b9-8263-9e558f590b79", "name": "ThingsBoard Admin admin-controller event-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:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "lastUpdatedBy": "35240", "uid": "35240-9b2cb7bc-1a9a-42b9-8263-9e558f590b79" }, "item": [ { "name": "api", "item": [ { "name": "events", "item": [ { "name": "{entityType}", "item": [ { "name": "{entityId}", "item": [ { "name": "clear", "item": [ { "name": "Clear Events (clearEvents)", "id": "4847fac2-2cf2-44b7-b8ed-bf3b2e701d8d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"eventType\": \"DEBUG_RULE_CHAIN\",\n \"notEmpty\": \"\",\n \"server\": \"\",\n \"isError\": \"\",\n \"errorStr\": \"\",\n \"entityId\": \"\",\n \"entityType\": \"DEVICE\",\n \"msgId\": \"\",\n \"msgType\": \"\",\n \"arguments\": \"\",\n \"result\": \"\",\n \"error\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/events/:entityType/:entityId/clear?startTime=&endTime=", "host": [ "{{baseUrl}}" ], "path": [ "api", "events", ":entityType", ":entityId", "clear" ], "query": [ { "description": "Timestamp. Events with creation time before it won't be queried.", "key": "startTime", "value": "" }, { "description": "Timestamp. Events with creation time after it won't be queried.", "key": "endTime", "value": "" } ], "variable": [ { "id": "f04eaa71-d84d-46b2-ab72-1dfa194e7fca", "key": "entityType", "value": "", "description": "(Required) A string value representing the entity type. For example, 'DEVICE'" }, { "id": "60d3bc89-d71e-4bbf-aec7-fe4104501966", "key": "entityId", "value": "", "description": "(Required) A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Clears events by filter for specified entity." }, "response": [ { "id": "a3d9ff20-b9be-4752-9d23-5eb497fc99f7", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"eventType\": \"DEBUG_RULE_CHAIN\",\n \"notEmpty\": \"\",\n \"server\": \"\",\n \"isError\": \"\",\n \"errorStr\": \"\",\n \"entityId\": \"\",\n \"entityType\": \"DEVICE\",\n \"msgId\": \"\",\n \"msgType\": \"\",\n \"arguments\": \"\",\n \"result\": \"\",\n \"error\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/events/:entityType/:entityId/clear?startTime=&endTime=", "host": [ "{{baseUrl}}" ], "path": [ "api", "events", ":entityType", ":entityId", "clear" ], "query": [ { "description": "Timestamp. Events with creation time before it won't be queried.", "key": "startTime", "value": "" }, { "description": "Timestamp. Events with creation time after it won't be queried.", "key": "endTime", "value": "" } ], "variable": [ { "key": "entityType" }, { "key": "entityId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-a3d9ff20-b9be-4752-9d23-5eb497fc99f7" } ], "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-4847fac2-2cf2-44b7-b8ed-bf3b2e701d8d" } ], "id": "fc56be43-ef9d-407a-bc8e-d5b86579ca9a", "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-fc56be43-ef9d-407a-bc8e-d5b86579ca9a" }, { "name": "{eventType}", "item": [ { "name": "Get Events by Type (getEvents)", "id": "e81fe3fa-aa51-42de-8d5d-256aa79fc60f", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/events/:entityType/:entityId/:eventType?tenantId=&pageSize=&page=&textSearch=&sortProperty=ts&sortOrder=ASC&startTime=&endTime=", "host": [ "{{baseUrl}}" ], "path": [ "api", "events", ":entityType", ":entityId", ":eventType" ], "query": [ { "description": "(Required) A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'", "key": "tenantId", "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": "The value is not used in searching.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "ts" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "ASC" }, { "description": "Timestamp. Events with creation time before it won't be queried.", "key": "startTime", "value": "" }, { "description": "Timestamp. Events with creation time after it won't be queried.", "key": "endTime", "value": "" } ], "variable": [ { "id": "e27f27ae-1766-4de6-a992-34bf64e2268e", "key": "entityType", "value": "", "description": "(Required) A string value representing the entity type. For example, 'DEVICE'" }, { "id": "50656dd9-61d5-45d9-8c8c-96a5ec7b83f9", "key": "entityId", "value": "", "description": "(Required) A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" }, { "id": "901bdaf1-2abf-4d33-a12f-7e59b7a8acc6", "key": "eventType", "value": "", "description": "(Required) A string value representing event type" } ] }, "description": "Returns a page of events for specified entity by specifying event type. 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. " }, "response": [ { "id": "11eb33ab-f803-4d4f-8e9e-b1c999c5692b", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/events/:entityType/:entityId/:eventType?tenantId=&pageSize=&page=&textSearch=&sortProperty=ts&sortOrder=ASC&startTime=&endTime=", "host": [ "{{baseUrl}}" ], "path": [ "api", "events", ":entityType", ":entityId", ":eventType" ], "query": [ { "description": "(Required) A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'", "key": "tenantId", "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": "The value is not used in searching.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "ts" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "ASC" }, { "description": "Timestamp. Events with creation time before it won't be queried.", "key": "startTime", "value": "" }, { "description": "Timestamp. Events with creation time after it won't be queried.", "key": "endTime", "value": "" } ], "variable": [ { "key": "entityType" }, { "key": "entityId" }, { "key": "eventType" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"id\": {\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"uid\": \"\",\n \"entityId\": {\n \"entityType\": \"WIDGETS_BUNDLE\",\n \"id\": \"\"\n },\n \"body\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"uid\": \"\",\n \"entityId\": {\n \"entityType\": \"ASSET\",\n \"id\": \"\"\n },\n \"body\": {\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:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-11eb33ab-f803-4d4f-8e9e-b1c999c5692b" } ], "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-e81fe3fa-aa51-42de-8d5d-256aa79fc60f" } ], "id": "dd3714cc-1493-4b92-9687-81670031becd", "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-dd3714cc-1493-4b92-9687-81670031becd" }, { "name": "Get Events (Deprecated)", "id": "e10a9c1b-93d8-4db9-86c8-ad0fe7a6ad2d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/events/:entityType/:entityId?tenantId=&pageSize=&page=&textSearch=&sortProperty=ts&sortOrder=ASC&startTime=&endTime=", "host": [ "{{baseUrl}}" ], "path": [ "api", "events", ":entityType", ":entityId" ], "query": [ { "description": "(Required) A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'", "key": "tenantId", "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": "The value is not used in searching.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "ts" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "ASC" }, { "description": "Timestamp. Events with creation time before it won't be queried.", "key": "startTime", "value": "" }, { "description": "Timestamp. Events with creation time after it won't be queried.", "key": "endTime", "value": "" } ], "variable": [ { "id": "34081c61-3ef9-4009-b533-1b06b7b003e2", "key": "entityType", "value": "", "description": "(Required) A string value representing the entity type. For example, 'DEVICE'" }, { "id": "1b8c14a0-4b6a-4e68-adb6-6d8213e1d97a", "key": "entityId", "value": "", "description": "(Required) A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Returns a page of events for specified entity. Deprecated and will be removed in next minor release. The call was deprecated to improve the performance of the system. Current implementation will return 'Lifecycle' events only. Use 'Get events by type' or 'Get events by filter' instead. 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. " }, "response": [ { "id": "c3029816-953c-4fc7-8303-81980afe2abc", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/events/:entityType/:entityId?tenantId=&pageSize=&page=&textSearch=&sortProperty=ts&sortOrder=ASC&startTime=&endTime=", "host": [ "{{baseUrl}}" ], "path": [ "api", "events", ":entityType", ":entityId" ], "query": [ { "description": "(Required) A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'", "key": "tenantId", "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": "The value is not used in searching.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "ts" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "ASC" }, { "description": "Timestamp. Events with creation time before it won't be queried.", "key": "startTime", "value": "" }, { "description": "Timestamp. Events with creation time after it won't be queried.", "key": "endTime", "value": "" } ], "variable": [ { "key": "entityType" }, { "key": "entityId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"id\": {\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"uid\": \"\",\n \"entityId\": {\n \"entityType\": \"WIDGETS_BUNDLE\",\n \"id\": \"\"\n },\n \"body\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"uid\": \"\",\n \"entityId\": {\n \"entityType\": \"ASSET\",\n \"id\": \"\"\n },\n \"body\": {\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:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-c3029816-953c-4fc7-8303-81980afe2abc" } ], "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-e10a9c1b-93d8-4db9-86c8-ad0fe7a6ad2d" }, { "name": "Get Events by Event Filter (getEvents)", "id": "04043e20-a6ec-4a72-b19b-5b0a8d45d437", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"eventType\": \"DEBUG_RULE_CHAIN\",\n \"notEmpty\": \"\",\n \"server\": \"\",\n \"isError\": \"\",\n \"errorStr\": \"\",\n \"entityId\": \"\",\n \"entityType\": \"DEVICE\",\n \"msgId\": \"\",\n \"msgType\": \"\",\n \"arguments\": \"\",\n \"result\": \"\",\n \"error\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/events/:entityType/:entityId?tenantId=&pageSize=&page=&textSearch=&sortProperty=ts&sortOrder=ASC&startTime=&endTime=", "host": [ "{{baseUrl}}" ], "path": [ "api", "events", ":entityType", ":entityId" ], "query": [ { "description": "(Required) A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'", "key": "tenantId", "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": "The value is not used in searching.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "ts" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "ASC" }, { "description": "Timestamp. Events with creation time before it won't be queried.", "key": "startTime", "value": "" }, { "description": "Timestamp. Events with creation time after it won't be queried.", "key": "endTime", "value": "" } ], "variable": [ { "id": "c6005650-92cd-4866-ba16-b5c76637dd7e", "key": "entityType", "value": "", "description": "(Required) A string value representing the entity type. For example, 'DEVICE'" }, { "id": "956fdbf5-c2a3-424b-bf2f-b4bd84e1c11b", "key": "entityId", "value": "", "description": "(Required) A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Returns a page of events for the chosen entity by specifying the event filter. 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\n# Event Filter Definition\n\n6 different eventFilter objects could be set for different event types. The eventType field is required. Others are optional. If some of them are set, the filtering will be applied according to them. See the examples below for all the fields used for each event type filtering. \n\nNote,\n\n * 'server' - string value representing the server name, identifier or ip address where the platform is running;\n * 'errorStr' - the case insensitive 'contains' filter based on error message.\n\n## Error Event Filter\n\n```json\n{\n \"eventType\":\"ERROR\",\n \"server\":\"ip-172-31-24-152\",\n \"method\":\"onClusterEventMsg\",\n \"errorStr\":\"Error Message\"\n}\n```\n\n * 'method' - string value representing the method name when the error happened.\n\n## Lifecycle Event Filter\n\n```json\n{\n \"eventType\":\"LC_EVENT\",\n \"server\":\"ip-172-31-24-152\",\n \"event\":\"STARTED\",\n \"status\":\"Success\",\n \"errorStr\":\"Error Message\"\n}\n```\n\n * 'event' - string value representing the lifecycle event type;\n * 'status' - string value representing status of the lifecycle event.\n\n## Statistics Event Filter\n\n```json\n{\n \"eventType\":\"STATS\",\n \"server\":\"ip-172-31-24-152\",\n \"messagesProcessed\":10,\n \"errorsOccurred\":5\n}\n```\n\n * 'messagesProcessed' - the minimum number of successfully processed messages;\n * 'errorsOccurred' - the minimum number of errors occurred during messages processing.\n\n## Debug Rule Node Event Filter\n\n```json\n{\n \"eventType\":\"DEBUG_RULE_NODE\",\n \"msgDirectionType\":\"IN\",\n \"server\":\"ip-172-31-24-152\",\n \"dataSearch\":\"humidity\",\n \"metadataSearch\":\"deviceName\",\n \"entityName\":\"DEVICE\",\n \"relationType\":\"Success\",\n \"entityId\":\"de9d54a0-2b7a-11ec-a3cc-23386423d98f\",\n \"msgType\":\"POST_TELEMETRY_REQUEST\",\n \"isError\":\"false\",\n \"errorStr\":\"Error Message\"\n}\n```\n\n## Debug Rule Chain Event Filter\n\n```json\n{\n \"eventType\":\"DEBUG_RULE_CHAIN\",\n \"msgDirectionType\":\"IN\",\n \"server\":\"ip-172-31-24-152\",\n \"dataSearch\":\"humidity\",\n \"metadataSearch\":\"deviceName\",\n \"entityName\":\"DEVICE\",\n \"relationType\":\"Success\",\n \"entityId\":\"de9d54a0-2b7a-11ec-a3cc-23386423d98f\",\n \"msgType\":\"POST_TELEMETRY_REQUEST\",\n \"isError\":\"false\",\n \"errorStr\":\"Error Message\"\n}\n```\n\n * 'msgDirectionType' - string value representing msg direction type (incoming to entity or outcoming from entity);\n * 'dataSearch' - the case insensitive 'contains' filter based on data (key and value) for the message;\n * 'metadataSearch' - the case insensitive 'contains' filter based on metadata (key and value) for the message;\n * 'entityName' - string value representing the entity type;\n * 'relationType' - string value representing the type of message routing;\n * 'entityId' - string value representing the entity id in the event body (originator of the message);\n * 'msgType' - string value representing the message type;\n * 'isError' - boolean value to filter the errors.\n\n## Debug Calculated Field Event Filter\n\n```json\n{\n \"eventType\":\"DEBUG_CALCULATED_FIELD\",\n \"server\":\"ip-172-31-24-152\",\n \"isError\":\"false\",\n \"errorStr\":\"Error Message\"\n \"entityId\":\"cf4b8741-f618-471f-ae08-d881ca7f9fe9\",\n \"msgId\":\"5cf7d3a0-aee7-40dd-a737-ade05528e7eb\",\n \"msgType\":\"POST_TELEMETRY_REQUEST\",\n \"arguments\":\"{\n \"x\": {\n \"ts\": 1739432016629,\n \"value\": 20\n },\n \"y\": {\n \"ts\": 1739429717656,\n \"value\": 12\n }\n }\",\n \"result\":\"{\n \"x + y\": 32\n }\",\n}\n```\n\n * 'entityId' - string value representing the entity id in the event body;\n * 'entityType' - string value representing the entity type;\n * 'msgId' - string value representing the message id in the rule engine;\n * 'msgType' - string value representing the message type;\n * 'arguments' - string value representing the arguments that were used in the calculation performed;\n * 'result' - string value representing the result of a calculation;\n * 'isError' - boolean value to filter the errors.\n\n" }, "response": [ { "id": "304551ed-d9d0-465e-8236-f44223b3fe46", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"eventType\": \"DEBUG_RULE_CHAIN\",\n \"notEmpty\": \"\",\n \"server\": \"\",\n \"isError\": \"\",\n \"errorStr\": \"\",\n \"entityId\": \"\",\n \"entityType\": \"DEVICE\",\n \"msgId\": \"\",\n \"msgType\": \"\",\n \"arguments\": \"\",\n \"result\": \"\",\n \"error\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/events/:entityType/:entityId?tenantId=&pageSize=&page=&textSearch=&sortProperty=ts&sortOrder=ASC&startTime=&endTime=", "host": [ "{{baseUrl}}" ], "path": [ "api", "events", ":entityType", ":entityId" ], "query": [ { "description": "(Required) A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'", "key": "tenantId", "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": "The value is not used in searching.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "ts" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "ASC" }, { "description": "Timestamp. Events with creation time before it won't be queried.", "key": "startTime", "value": "" }, { "description": "Timestamp. Events with creation time after it won't be queried.", "key": "endTime", "value": "" } ], "variable": [ { "key": "entityType" }, { "key": "entityId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"id\": {\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"uid\": \"\",\n \"entityId\": {\n \"entityType\": \"WIDGETS_BUNDLE\",\n \"id\": \"\"\n },\n \"body\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"type\": \"\",\n \"uid\": \"\",\n \"entityId\": {\n \"entityType\": \"ASSET\",\n \"id\": \"\"\n },\n \"body\": {\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:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-304551ed-d9d0-465e-8236-f44223b3fe46" } ], "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-04043e20-a6ec-4a72-b19b-5b0a8d45d437" } ], "id": "4651f44c-0e2a-423a-937f-62b7be5dc8dc", "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-4651f44c-0e2a-423a-937f-62b7be5dc8dc" } ], "id": "cb5e6ed8-a44b-443c-a3e6-23a270f088fa", "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-cb5e6ed8-a44b-443c-a3e6-23a270f088fa" } ], "id": "701800df-f589-4259-a2fc-03163a127594", "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-701800df-f589-4259-a2fc-03163a127594" } ], "id": "f34b14d4-d702-4dc7-a2dd-af69f0bed6f6", "createdAt": "2026-07-28T03:12:42.000Z", "updatedAt": "2026-07-28T03:12:42.000Z", "uid": "35240-f34b14d4-d702-4dc7-a2dd-af69f0bed6f6" } ], "variable": [ { "key": "baseUrl", "value": "https://demo.thingsboard.io" } ] }