place.hud.getLogs
The lines this server logged, oldest first: all of one request's by its trace, or the last of a message, a level or a duration. Requires auth as one of the accounts the server names as its operators (HUD_OPERATOR_DIDS): the workspace's web session (its cookie) or a HUD access token as Bearer. Kept while HUD_LOGS is on, for 30 days at most. Each read is itself logged, with who asked and for what.
Details · query
| Kind | query |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbjediwnju |
| Indexed |
Query
query · GETParameters
query stringlevel
stringOnly lines at this level or above.
maxLength: 16knownValues: error | warn | info | debug | trace
limit
integerHow many, the last of those asked for. Unless given, 500 for a trace, so a request's lines come whole, and 100 otherwise.
minimum: 1maximum: 500
message
stringOnly lines with this message.
maxLength: 200knownValues: request | outgoing | mcp tool | mcp tool failed | mcp error | logs read | summary: requests | summary: outgoing | summary: cache
minMs
integerOnly lines that took this many milliseconds or more.
minimum: 0
trace
stringAll of one request's lines, by the trace ID each carries and its answer's x-trace-id names.
maxLength: 64
Output
application/jsonErrors
AuthRequired
No live web session or HUD access token: sign in.
Forbidden
The account is not one of this server's operators.
NotFound
This server keeps no lines (HUD_LOGS is off).
InvalidRequest
None of trace, message, level and minMs was given.
LogsUnreadable
The server could not read the lines it keeps.
#line
objectOne line, as logged.
Properties
The JSON line, as written to the log: its timestamp, level, message, target, trace_id and the fields the event had.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.getLogs
queryThe lines an appview logged, for its operators, oldest first: all of one request's by its trace, or the last of a message, a level or a duration. It takes a service token for this method from one of the accounts it names as its operators, or the session cookie of one logged in to its pages. Kept across restarts, at most 30 days. Each read is itself logged, with who asked.
-
A page of what one of the caller's own instances wrote, redacted on its host. Customers only.