v1

latestSwagger 2.02026-07-1711177156.8 KB

Fetch logs with optional filtering

Fetch the latest logs from the system with optional filtering by number of lines, log level, or keyword.

get/logs

Query parameters

linesstring

Number of log lines to fetch (default is 100).

levelstring

Filter logs by level (e.g., INFO, ERROR, DEBUG).

keywordstring

Filter logs containing a specific keyword or phrase.

Response

Logs fetched successfully

logsstring[]

List of filtered logs.