v171

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0726249111.7 MB
Logs

Search logs

Query log records with filters, free-text search, and keyset pagination. Results are ordered timestamp desc (the only supported sort, mirroring traces).

post/v3/logs/search

Request body

fromstring date-time
tostring date-time
querystring

Free-text query matched against the body field (case-insensitive).

filter_operatorstring

How to combine multiple filters: "and" (default) or "or", mirroring the traces filter_operator.

limitinteger

Maximum rows to return. Defaults to 100 and is capped at 1000.

page_tokenstring

Opaque cursor for pagination; empty or absent means the first page.

Response

OK

objectstring

Object discriminator; always "list". Mirrors SearchTracesResponse.

has_moreboolean
next_page_tokenstring

Keyset cursor for the next page; empty when has_more is false.

total_countstring

Exact match count for the full time range (cursor-independent, constant across pages). int64 serializes as a JSON string per protojson.