LogBrew · Schema

NativeLogPageResponse

Opt-in cursor page for native logs.

ObservabilityLoggingMonitoringAnalyticsError Tracking

Properties

Name Type Description
logs array Native log rows in newest-first order.
next_cursor object Exclusive continuation cursor when another page exists.
View JSON Schema on GitHub

JSON Schema

logbrew-native-log-page-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/logbrew/json-schema/logbrew-native-log-page-response-schema.json",
  "title": "NativeLogPageResponse",
  "description": "Opt-in cursor page for native logs.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/logbrew-logs-api-openapi.yml#/components/schemas/NativeLogPageResponse",
  "properties": {
    "logs": {
      "description": "Native log rows in newest-first order.",
      "items": {
        "$ref": "#/$defs/NativeLogResponse"
      },
      "type": "array"
    },
    "next_cursor": {
      "anyOf": [
        {
          "$ref": "#/$defs/NativeLogCursorResponse"
        },
        {
          "type": "null"
        }
      ],
      "description": "Exclusive continuation cursor when another page exists."
    }
  },
  "required": [
    "logs",
    "next_cursor"
  ],
  "type": "object",
  "$defs": {
    "CorrelatedTelemetryNextActionCode": {
      "description": "Stable correlation-aware investigation action code.",
      "oneOf": [
        {
          "const": "inspect_trace",
          "description": "Inspect the correlated distributed trace.",
          "type": "string"
        },
        {
          "const": "inspect_related_logs",
          "description": "Inspect logs related by project, release, service, and environment.",
          "type": "string"
        }
      ]
    },
    "CorrelatedTelemetryNextActionResponse": {
      "description": "Correlation-aware next action shared by issues, logs, and product actions.",
      "properties": {
        "code": {
          "$ref": "#/$defs/CorrelatedTelemetryNextActionCode",
          "description": "Stable action code."
        },
        "target": {
          "$ref": "#/$defs/CorrelatedTelemetryNextActionTarget",
          "description": "Stable action target."
        }
      },
      "required": [
        "code",
        "target"
      ],
      "type": "object"
    },
    "CorrelatedTelemetryNextActionTarget": {
      "description": "Stable correlation-aware investigation target.",
      "oneOf": [
        {
          "const": "trace_summary",
          "description": "Privacy-safe trace summary endpoint.",
          "type": "string"
        },
        {
          "const": "telemetry_logs",
          "description": "Native telemetry logs endpoint.",
          "type": "string"
        }
      ]
    },
    "NativeLogCursorResponse": {
      "description": "Exclusive continuation cursor for a native log page.",
      "properties": {
        "id": {
          "description": "ID of the last returned log row.",
          "format": "uuid",
          "type": "string"
        },
        "time": {
          "description": "Timestamp of the last returned log row.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "time",
        "id"
      ],
      "type": "object"
    },
    "NativeLogResponse": {
      "description": "A native log row returned to API clients.",
      "properties": {
        "attributes": {
          "description": "Structured log attributes."
        },
        "environment": {
          "description": "Deployment environment.",
          "type": "string"
        },
        "id": {
          "description": "Unique log row identifier.",
          "format": "uuid",
          "type": "string"
        },
        "level": {
          "description": "Canonical log level retained for compatibility with existing clients.",
          "type": "string"
        },
        "message": {
          "description": "Log message.",
          "type": "string"
        },
        "next_action": {
          "$ref": "#/$defs/CorrelatedTelemetryNextActionResponse",
          "default": {
            "code": "inspect_related_logs",
            "target": "telemetry_logs"
          },
          "description": "Correlation-aware next investigation action."
        },
        "occurred_at": {
          "description": "Log occurrence timestamp.",
          "format": "date-time",
          "type": "string"
        },
        "project_id": {
          "description": "Owning project ID.",
          "format": "uuid",
          "type": "string"
        },
        "release": {
          "description": "Application release.",
          "type": "string"
        },
        "sdk_name": {
          "default": "",
          "description": "SDK package name that emitted the log.",
          "type": "string"
        },
        "sdk_version": {
          "default": "",
          "description": "SDK semantic version that emitted the log.",
          "type": "string"
        },
        "service_name": {
          "description": "Logical service name.",
          "type": "string"
        },
        "severity": {
          "description": "Canonical user-facing severity: `info`, `warning`, `error`, or `critical`.",
          "type": "string"
        },
        "source": {
          "description": "Log source.",
          "type": "string"
        },
        "span_id": {
          "default": null,
          "description": "Exact span identifier within the distributed trace.",
          "type": [
            "string",
            "null"
          ]
        },
        "trace_id": {
          "description": "Distributed trace identifier.",
          "type": [
            "string",
            "null"
          ]
        },
        "triage": {
          "anyOf": [
            {
              "$ref": "#/$defs/SignalTriageResponse"
            },
            {
              "type": "null"
            }
          ],
          "description": "Reversible user triage. `severity` remains the immutable captured value."
        }
      },
      "required": [
        "id",
        "project_id",
        "level",
        "severity",
        "source",
        "message",
        "attributes",
        "occurred_at",
        "environment",
        "release",
        "trace_id",
        "span_id",
        "service_name",
        "sdk_name",
        "sdk_version",
        "next_action"
      ],
      "type": "object"
    },
    "SignalTriageResponse": {
      "description": "User-owned presentation rule layered over immutable captured telemetry.",
      "properties": {
        "effective_severity": {
          "description": "Effective presentation severity after applying an optional user override.",
          "type": "string"
        },
        "ignored": {
          "description": "Whether the signal is excluded from the active view.",
          "type": "boolean"
        },
        "rule_applied": {
          "description": "Whether a non-default rule currently applies.",
          "type": "boolean"
        }
      },
      "required": [
        "effective_severity",
        "ignored",
        "rule_applied"
      ],
      "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-native-log-page-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.