Per-Org Status summary
GET {baseURl}/v2/devices/nodes/status-summary
Summary of device status for nodes in an organization.
Example
https://clarity-data-api.clarity.io/v2/devices/nodes/status-summary?org=myorgVD43
Headers
x-api-key: the API key string.
Request
| query parameter | description | |
|---|---|---|
org |
string required |
The ID of the organization. Find it under the user profile section in Dashboard. Example "myorgVD43" |
Response
| attribute | description | |
|---|---|---|
nodeId |
string | The node ID (marked on the physical device). Example "A0000001" |
lastReadingReceivedAt |
string | The ISO 8601 time for the last reading (null if no reading was ever received). |
summaryPerCategory |
array | Summary alarm status per category. See Device Status Per Category. |
batteryCharge |
number | Remaining battery charge (ranges from 0 to 100). |
signalLevel |
string | Code that discretizes the signal strengths into 5 levels. See Signal Levels. |
overallStatus |
string | Label that classify the overall health of a node. See Overall Statuses. |
Device Status Per Category
| attribute | description | |
|---|---|---|
alarm |
string | Label for the category. One of: activity, communication, power, internalsensors, or accessorymodule. |
summary |
string | ALARMS if any alarm is active, otherwise OK. |
Signal Levels
1-marginal2-ok3-good4-excellentunknown
Overall Statuses
offline: device is late in reporting the next readingneeds attention: there are one or more active alarmshealthy: there are no active alarms
Example 200 Response
[
{
"nodeId": "A0000001",
"lastReadingReceivedAt": "2022-09-01T17:28:01.183Z",
"summaryPerCategory": [
{
"alarmCategory": "activity",
"summary": "OK"
},
{
"alarmCategory": "communication",
"summary": "OK"
},
{
"alarmCategory": "power",
"summary": "OK"
},
{
"alarmCategory": "internalsensors",
"summary": "OK"
},
{
"alarmCategory": "accessorymodule",
"summary": "OK"
}
],
"batteryChargePercent": 99.6,
"signalLevel": "4-excellent",
"overallStatus": "healthy"
},
]