Plugin Settings - Logs
Read plugin instance health and recent logs
get/api/plugin_settings/{plugin_setting_id}/logs
Request
- Base URL: https://trmnl.com
- URL: https://trmnl.com/api/plugin_settings/{plugin_setting_id}/logs
- Auth: HTTP bearer
Path parameters
plugin_setting_idstring required
Plugin setting id or uuid
Query parameters
levelstring
Only return logs at this level:
- debug
- info
- warn
- error
limitinteger
Maximum logs to return, 1 to 50. Defaults to 20
Response
Accepts the integer id the listing returns, as well as the uuid
Example response
{
"data": {
"health": {
"state": "active"
},
"logs": [
{
"event_id": "11111111-1111-4111-8111-111111111111",
"ts": "2026-09-05 12:00:00.000",
"level": "error",
"source": "private_plugin"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.