{ "lexicon": 1, "id": "org.atgrp.internal.getLogs", "defs": { "main": { "type": "query", "description": "Get the lines this host logged, oldest first, as it wrote them to its output: one request's by its trace, or the last of a message, a level or a duration. Only the accounts the host names as its operators may ask, by service auth.", "parameters": { "type": "params", "properties": { "trace": { "type": "string", "maxLength": 64, "description": "Every line logged while answering one request: the x-trace-id it was answered with." }, "message": { "type": "string", "maxLength": 200, "description": "Only lines with this message, such as request or mcp tool." }, "level": { "type": "string", "maxLength": 16, "knownValues": [ "error", "warn", "info", "debug", "trace" ], "description": "Only lines at this level or above." }, "minMs": { "type": "integer", "minimum": 0, "description": "Only lines that took this many milliseconds or more." }, "limit": { "type": "integer", "minimum": 1, "maximum": 500, "description": "How many lines, the last of them: 100 unless asked, or for a trace, 500." } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "lines" ], "properties": { "lines": { "type": "array", "items": { "type": "ref", "ref": "#line" } } } } } }, "line": { "type": "object", "required": [ "line" ], "properties": { "line": { "type": "unknown", "description": "The line, as the host logged it: its timestamp, level, fields and the spans it was logged in." } } } } }