GET/api/plugin_settings/{plugin_setting_id}/logs

Get plugin setting health and recent logs

Lists recent logs and health information for a plugin setting. The plugin_setting_id can be the integer ID returned by the listing or its UUID; use level to filter logs and limit to cap the number returned.

3 parameters
plugin_setting_idstringrequired
The plugin setting's integer ID, as returned by the listing, or its UUID.
levelstringoptional
Filter logs by level: `debug`, `info`, `warn`, or `error`.
Allowed:debuginfowarnerror
limitintegeroptional
Maximum number of logs to return, from 1 to 50. Defaults to 20 when omitted.

4 status codes
200Returns plugin setting health information, recent logs, and a status for the logs.
dataobjectoptional
401Returned when the request is unauthorized.
errorstringoptional
404Returned when the UUID belongs to another user.
422Returned when the requested level has no matching logs.

Error handling

A 401 is returned when the request is unauthorized. A 404 is returned when the UUID in the plugin_setting_id path parameter belongs to another user, and a 422 is returned when level has no matching logs. level must be debug, info, warn, or error; limit must be from 1 to 50.