v1

latestOpenAPI 3.1.02026-07-24474114.4 KB

Get logs for a Device

Device Logs

get/logs/device/{id}/

Path parameters

idstring required

ID of the device to get logs for

Query parameters

eventstring

Only return the event text matching this string.

severitystring

Only return logs matching the severity specified

pageinteger

Return search results paginated by the specified page

Response

200

account_idstring
componentstring
created_atnumber
device_idstring
eventstring
idstring
severitystring

Example response

[
  {
    "account_id": "5dba92731b5d034f7d8dcasas",
    "component": "system",
    "created_at": 1639474535.2510002,
    "device_id": "61b86372aa4a7e2464c32924",
    "event": "Offline (Online for 8m44s)",
    "id": "61b86567704aee80f62e0993",
    "severity": "warning"
  }
]