v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0223257199.4 KB
Plugins

Set plugin log level

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

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
{"stackTrail":"components:schemas:SuccessEnvelope:properties:data","oasType":"schema","type":"unknown"}