Devices

Read the logs of a device

What the device reported and what rendering for it logged, newest first. before_ts and before_event_id from the last row page further back.

get/api/devices/{device_id}/logs

Request

  • Base URL: https://trmnl.com
  • URL: https://trmnl.com/api/devices/{device_id}/logs
  • Auth: HTTP bearer

Path parameters

device_idinteger required

Device id

Query parameters

levelstring

:

  • debug
  • info
  • warn
  • error
sourcestring
limitinteger

1 to 100, default 20

before_tsstring
before_event_idstring

Response

Scopes the query to the device within the account

Changes

No recorded changes to this operation across all 1 revision of this API.