Skip to content
GitmoapAPIBeta
Schema

NodeLogSearchResponse

Where a search term appears in a step's log.

Shape

  • completebooleanWhether the whole log was searched. false when the match limit or the scan budget stopped it early.
  • matchesarray of LogSearchMatch
    • The LogSearchMatch schema
    • lineinteger · int640–∞Position of the matching line in the whole log.
    • snippetstringThe matching text, clipped so one enormous line cannot dominate the response.
    • timestampstringWhen the line was emitted, RFC 3339.
  • total_linesinteger · int640–∞Lines in the whole log, so a client can show what share was searched.

Example

Synthesized example
{
"complete": false,
"matches": [
{
"line": 1,
"snippet": "snippet-7025",
"timestamp": "timestamp-77a4"
}
],
"total_lines": 1
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.