Device log endpoints.
Get device logs
This endpoint returns device logs for the organization, with filtering, sorting, and pagination. Each page returns up to 1000 logs (500 by default) and the response indicates whether more pages are available.
path Parameters
orgIdstring · requiredThe id of the organization.
query Parameters
limitinteger · int32The number of records to return. Max 30.
pageinteger · int32The page offset when fetching the records
serialstringFilter logs by device serial number.
startTimestring · date-timeReturn logs at or after this timestamp (UTC).
endTimestring · date-timeReturn logs at or before this timestamp (UTC).
logLevelinteger · int32Filter logs by log level id.
logTypeinteger · int32Filter logs by log type id.
logSubtypeIdinteger · int32Filter logs by log subtype id.
searchTextstringText search applied to the log message.
sortBystring · enumField used to sort the results. Defaults to Timestamp.
Fields available for sorting device logs. Mirrors the Device Logging API sort options.
Enum values:TimestampReceivedTimestampSerialNumberLogLevelLogTypeTypeNameSubtypeLabelsortDirectionstring · enumSort direction for the results. Defaults to Descending.
Enum values:AscendingDescending
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Success
dataobjectPaged device logs. The Device Logging API does not return a total count, so pagination is driven by HasMore.
successbooleanerrorsarray | null