LogBrew · Schema

SdkProductAnalyticsPathRequest

Bounded path request for one owned project.

ObservabilityLoggingMonitoringAnalyticsError Tracking

Properties

Name Type Description
anchor object Exact classified event anchoring each session path.
collapse_repeated booleannull Whether immediately repeated identical events collapse to one node.
depth integernull Maximum adjacent named events on the selected side of the anchor.
direction object Whether to inspect named events following or preceding the anchor.
environment stringnull Optional exact environment filter.
path_limit integernull Maximum highest-volume path aggregates returned.
project_id string Required project scope, optional only for actionable validation.
property_filters array Zero through four exact safe predicates applied only to the anchor event.
release stringnull Optional exact release filter.
response_version integernull Optional response schema; version 2 adds previous-period change and example sessions.
service_name stringnull Optional exact service filter.
since string Required inclusive lower bound, as a duration or RFC 3339 timestamp.
until stringnull Optional exclusive RFC 3339 upper bound; defaults to request time.
View JSON Schema on GitHub

JSON Schema

logbrew-sdk-product-analytics-path-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/logbrew/json-schema/logbrew-sdk-product-analytics-path-request-schema.json",
  "title": "SdkProductAnalyticsPathRequest",
  "description": "Bounded path request for one owned project.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/logbrew-product-analytics-api-openapi.yml#/components/schemas/SdkProductAnalyticsPathRequest",
  "additionalProperties": false,
  "properties": {
    "anchor": {
      "$ref": "#/$defs/SdkProductAnalyticsEventRequest",
      "description": "Exact classified event anchoring each session path."
    },
    "collapse_repeated": {
      "description": "Whether immediately repeated identical events collapse to one node.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "depth": {
      "description": "Maximum adjacent named events on the selected side of the anchor.",
      "format": "uint8",
      "maximum": 255,
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "direction": {
      "$ref": "#/$defs/SdkProductAnalyticsPathDirection",
      "description": "Whether to inspect named events following or preceding the anchor."
    },
    "environment": {
      "description": "Optional exact environment filter.",
      "type": [
        "string",
        "null"
      ]
    },
    "path_limit": {
      "description": "Maximum highest-volume path aggregates returned.",
      "format": "uint8",
      "maximum": 20,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    },
    "project_id": {
      "description": "Required project scope, optional only for actionable validation.",
      "format": "uuid",
      "type": "string"
    },
    "property_filters": {
      "description": "Zero through four exact safe predicates applied only to the anchor event.",
      "items": {
        "$ref": "#/$defs/SdkProductAnalyticsSegmentPropertyFilterRequest"
      },
      "type": "array"
    },
    "release": {
      "description": "Optional exact release filter.",
      "type": [
        "string",
        "null"
      ]
    },
    "response_version": {
      "description": "Optional response schema; version 2 adds previous-period change and example sessions.",
      "format": "uint8",
      "maximum": 255,
      "minimum": 0,
      "type": [
        "integer",
        "null"
      ]
    },
    "service_name": {
      "description": "Optional exact service filter.",
      "type": [
        "string",
        "null"
      ]
    },
    "since": {
      "description": "Required inclusive lower bound, as a duration or RFC 3339 timestamp.",
      "type": "string"
    },
    "until": {
      "description": "Optional exclusive RFC 3339 upper bound; defaults to request time.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "project_id",
    "since",
    "direction",
    "anchor"
  ],
  "type": "object",
  "$defs": {
    "SdkProductAnalyticsEventKind": {
      "description": "Supported version-1 classified product-event kind.",
      "oneOf": [
        {
          "const": "page_view",
          "description": "Browser route view.",
          "type": "string"
        },
        {
          "const": "screen_view",
          "description": "Application-owned screen view.",
          "type": "string"
        },
        {
          "const": "interaction",
          "description": "Explicit application product action.",
          "type": "string"
        }
      ]
    },
    "SdkProductAnalyticsEventRequest": {
      "additionalProperties": false,
      "description": "One exact classified product-event selector.",
      "properties": {
        "event_name": {
          "description": "Stable route template, screen name, or bounded action name.",
          "type": "string"
        },
        "kind": {
          "$ref": "#/$defs/SdkProductAnalyticsEventKind",
          "description": "Supported classified event kind."
        }
      },
      "required": [
        "kind",
        "event_name"
      ],
      "type": "object"
    },
    "SdkProductAnalyticsPathDirection": {
      "description": "Direction explored from the first matching anchor in each session.",
      "oneOf": [
        {
          "const": "following",
          "description": "Show the anchor followed by later named events in the same session.",
          "type": "string"
        },
        {
          "const": "preceding",
          "description": "Show earlier named events in chronological order followed by the anchor.",
          "type": "string"
        }
      ]
    },
    "SdkProductAnalyticsSegmentPropertyFilterRequest": {
      "additionalProperties": false,
      "description": "One exact privacy-safe analytics property predicate.",
      "properties": {
        "key": {
          "description": "Stable standard-context key or `tag.`-prefixed custom key.",
          "type": "string"
        },
        "value": {
          "description": "Exact bounded string value.",
          "type": "string"
        }
      },
      "required": [
        "key",
        "value"
      ],
      "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-sdk-product-analytics-path-request"
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.