list_recent_traces

List the traces the service's log ends with, oldest first, each with when it started, what it was about and how many lines it holds.

Logread-onlyidempotentMCP tool

Start here when you know what you did but not what it was called, then read its lines with get_log_lines.

Calling it#

curl -X POST http://127.0.0.1:8787/log.v1.LogService/ListRecentTraces \
  -H 'Content-Type: application/json' \
  -d '{}'

Request#

ListRecentTracesRequest#

FieldTypeDescription
limitint32

How many of the newest traces to list, twenty when unset.

between 0 and 200

Response#

ListRecentTracesResponse#

FieldTypeDescription
traceslist of TraceSummary

The traces the log ends with, oldest first.

Types#

TraceSummary#

FieldTypeDescription
traceIdstring

The id every line of the trace carries.

startedAtstring

When the trace's first line was written, in RFC 3339.

whatstring

What the trace was about: the RPC method, or the loop, when a line said.

linesint32

How many lines the log holds under it.