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.

Repository @lexicons.hud.place did:plc:3tzbz4pml36u4mkresb6pdhv not from the namespace authority
Details · query
Kindquery
Authorityhud.place
Commit rev3n3jbjediwnju
Indexed

Query

query · GET

Parameters

query string

level

string

Only lines at this level or above.

  • maxLength: 16
  • knownValues: error | warn | info | debug | trace

limit

integer

How many, the last of those asked for. Unless given, 500 for a trace, so a request's lines come whole, and 100 otherwise.

  • minimum: 1
  • maximum: 500

message

string

Only lines with this message.

  • maxLength: 200
  • knownValues: request | outgoing | mcp tool | mcp tool failed | mcp error | logs read | summary: requests | summary: outgoing | summary: cache

minMs

integer

Only lines that took this many milliseconds or more.

  • minimum: 0

trace

string

All of one request's lines, by the trace ID each carries and its answer's x-trace-id names.

  • maxLength: 64

Output

application/json

lines

requiredarray

The lines asked for, oldest first.

itemsref
Reference

Errors

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

object

One line, as logged.

Properties

line

requiredunknown

The JSON line, as written to the log: its timestamp, level, message, target, trace_id and the fields the event had.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • The 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.