LogBrew · Schema

TraceOverviewPageV2Response

Opt-in version 2 cursor page for trace overviews.

ObservabilityLoggingMonitoringAnalyticsError Tracking

Properties

Name Type Description
naming_quality object Aggregate name quality for exactly the returned page.
next_cursor object Exclusive continuation cursor when another page exists.
traces array Trace overviews in newest-first order.
View JSON Schema on GitHub

JSON Schema

logbrew-trace-overview-page-v2-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/logbrew/json-schema/logbrew-trace-overview-page-v2-response-schema.json",
  "title": "TraceOverviewPageV2Response",
  "description": "Opt-in version 2 cursor page for trace overviews.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/logbrew-traces-api-openapi.yml#/components/schemas/TraceOverviewPageV2Response",
  "properties": {
    "naming_quality": {
      "$ref": "#/$defs/TraceNamingQualityResponse",
      "description": "Aggregate name quality for exactly the returned page."
    },
    "next_cursor": {
      "anyOf": [
        {
          "$ref": "#/$defs/TraceOverviewCursorResponse"
        },
        {
          "type": "null"
        }
      ],
      "description": "Exclusive continuation cursor when another page exists."
    },
    "traces": {
      "description": "Trace overviews in newest-first order.",
      "items": {
        "$ref": "#/$defs/TraceOverviewV2Response"
      },
      "type": "array"
    }
  },
  "required": [
    "traces",
    "next_cursor",
    "naming_quality"
  ],
  "type": "object",
  "$defs": {
    "TraceNamingQualityResponse": {
      "description": "Privacy-safe trace-name quality receipt for one returned cursor page.",
      "properties": {
        "evaluated_traces": {
          "description": "Returned traces evaluated by this receipt.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "generic_name_traces": {
          "description": "Traces whose root name is a generic placeholder.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "generic_operation_traces": {
          "description": "Traces using a generic operation; this count may overlap the name categories.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "meaningful_name_traces": {
          "description": "Traces with a useful non-placeholder root name.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "next_action": {
          "anyOf": [
            {
              "$ref": "#/$defs/TraceOverviewNextActionResponse"
            },
            {
              "type": "null"
            }
          ],
          "description": "Stable capture guidance when naming needs attention."
        },
        "truncated": {
          "description": "Whether another cursor page remains unevaluated.",
          "type": "boolean"
        },
        "unmatched_route_traces": {
          "description": "Traces whose root name reports an unmatched route.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "evaluated_traces",
        "meaningful_name_traces",
        "generic_name_traces",
        "unmatched_route_traces",
        "generic_operation_traces",
        "truncated",
        "next_action"
      ],
      "type": "object"
    },
    "TraceOverviewCursorResponse": {
      "description": "Exclusive continuation cursor for a trace-overview page.",
      "properties": {
        "time": {
          "description": "Start timestamp of the final trace in the page.",
          "format": "date-time",
          "type": "string"
        },
        "trace_id": {
          "description": "ID of the final trace in the page.",
          "type": "string"
        }
      },
      "required": [
        "time",
        "trace_id"
      ],
      "type": "object"
    },
    "TraceOverviewNextActionCode": {
      "description": "Stable trace-overview action code.",
      "oneOf": [
        {
          "const": "inspect_trace",
          "description": "Inspect the full privacy-safe trace summary.",
          "type": "string"
        },
        {
          "const": "improve_trace_naming",
          "description": "Configure route-aware trace names and operations.",
          "type": "string"
        }
      ]
    },
    "TraceOverviewNextActionResponse": {
      "description": "Agent-friendly next action for a trace overview.",
      "properties": {
        "code": {
          "$ref": "#/$defs/TraceOverviewNextActionCode",
          "description": "Stable action code."
        },
        "target": {
          "$ref": "#/$defs/TraceOverviewNextActionTarget",
          "description": "Stable API target."
        }
      },
      "required": [
        "code",
        "target"
      ],
      "type": "object"
    },
    "TraceOverviewNextActionTarget": {
      "description": "Stable trace-overview action target.",
      "oneOf": [
        {
          "const": "trace_summary",
          "description": "Existing trace summary endpoint.",
          "type": "string"
        },
        {
          "const": "sdk_configuration",
          "description": "SDK instrumentation and route naming configuration.",
          "type": "string"
        }
      ]
    },
    "TraceOverviewV2Response": {
      "description": "Version 2 trace overview: sent spans and `LogBrew` capture spans are counted apart.\n\n`LogBrew` adds a zero-length capture span when an issue, log, action, or metric arrives\nwithout trace context, so the signal still belongs to a trace. Capture spans are not billed.\nIn this version `span_count` and `error_span_count` count only spans the client sent.",
      "properties": {
        "capture_error_count": {
          "description": "Capture spans for an error signal. `status=error` matches a trace when this or\n`error_span_count` is above 0.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "capture_span_count": {
          "description": "`LogBrew` capture spans in the trace.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "duration_ms": {
          "description": "End-to-end wall-clock duration in milliseconds.",
          "format": "int64",
          "type": "integer"
        },
        "environments": {
          "description": "Stable sorted environments represented by the trace.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "error_span_count": {
          "description": "Spans with `error` status.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "next_action": {
          "$ref": "#/$defs/TraceOverviewNextActionResponse",
          "description": "Stable next investigation action."
        },
        "project_ids": {
          "description": "Owned projects represented in the trace.",
          "items": {
            "format": "uuid",
            "type": "string"
          },
          "type": "array"
        },
        "releases": {
          "description": "Stable sorted releases represented by the trace.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "root_operation": {
          "description": "Operation of the best available root span.",
          "type": "string"
        },
        "root_service_name": {
          "description": "Service that emitted the best available root span.",
          "type": "string"
        },
        "root_span_name": {
          "description": "Best available root span name.",
          "type": "string"
        },
        "service_count": {
          "description": "Distinct services represented by the trace.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "services": {
          "description": "Stable sorted service names represented by the trace.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "span_count": {
          "description": "Total spans represented by this overview.",
          "format": "uint64",
          "minimum": 0,
          "type": "integer"
        },
        "started_at": {
          "description": "Earliest observed span start.",
          "format": "date-time",
          "type": "string"
        },
        "trace_id": {
          "description": "Distributed trace ID.",
          "type": "string"
        }
      },
      "required": [
        "trace_id",
        "project_ids",
        "root_span_name",
        "root_service_name",
        "root_operation",
        "span_count",
        "error_span_count",
        "service_count",
        "started_at",
        "duration_ms",
        "services",
        "releases",
        "environments",
        "next_action",
        "capture_span_count",
        "capture_error_count"
      ],
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/logbrew-trace-overview-page-v2-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.