Plugins

Set plugin log level

Changed on

Set the log level of a plugin. Pass null to follow the global log level.

Required scope: plugin

put/api/v1/plugins/{plugin_id}/log-level

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/plugins/{plugin_id}/log-level
  • Auth
    API key in header X-API-Key

Path parameters

plugin_idstring required

Request body

level'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL' | 'null' nullable

Log level name, or null to follow the global level.

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes