PostHog · Schema

WebVitalsPathBreakdownQuery

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
aggregation_group_type_index integer Groups aggregation - not used in Web Analytics but required for type compatibility
compareFilter object
conversionGoal object
dataColorTheme number Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility
dateRange object
doPathCleaning boolean
filterTestAccounts boolean
includeRevenue boolean
interval object Interval for date range calculation (affects date_to rounding for hour vs day ranges)
kind string
metric object
modifiers object Modifiers used when performing the query
orderBy array
percentile object
properties array
response object
sampling object
samplingFactor number Sampling rate
tags object
thresholds array
useSessionsTable boolean
version number version of the node, used for schema migrations
View JSON Schema on GitHub

JSON Schema

posthog-webvitalspathbreakdownquery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WebVitalsPathBreakdownQuery",
  "title": "WebVitalsPathBreakdownQuery",
  "additionalProperties": false,
  "properties": {
    "aggregation_group_type_index": {
      "default": null,
      "description": "Groups aggregation - not used in Web Analytics but required for type compatibility",
      "title": "Aggregation Group Type Index",
      "type": "integer",
      "nullable": true
    },
    "compareFilter": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/CompareFilter"
        }
      ],
      "nullable": true
    },
    "conversionGoal": {
      "default": null,
      "title": "Conversiongoal",
      "anyOf": [
        {
          "$ref": "#/components/schemas/ActionConversionGoal"
        },
        {
          "$ref": "#/components/schemas/CustomEventConversionGoal"
        }
      ],
      "nullable": true
    },
    "dataColorTheme": {
      "default": null,
      "description": "Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility",
      "title": "Datacolortheme",
      "type": "number",
      "nullable": true
    },
    "dateRange": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/DateRange"
        }
      ],
      "nullable": true
    },
    "doPathCleaning": {
      "default": null,
      "title": "Dopathcleaning",
      "type": "boolean",
      "nullable": true
    },
    "filterTestAccounts": {
      "default": null,
      "title": "Filtertestaccounts",
      "type": "boolean",
      "nullable": true
    },
    "includeRevenue": {
      "default": null,
      "title": "Includerevenue",
      "type": "boolean",
      "nullable": true
    },
    "interval": {
      "default": null,
      "description": "Interval for date range calculation (affects date_to rounding for hour vs day ranges)",
      "allOf": [
        {
          "$ref": "#/components/schemas/IntervalType"
        }
      ],
      "nullable": true
    },
    "kind": {
      "default": "WebVitalsPathBreakdownQuery",
      "title": "Kind",
      "type": "string",
      "enum": [
        "WebVitalsPathBreakdownQuery"
      ]
    },
    "metric": {
      "$ref": "#/components/schemas/WebVitalsMetric"
    },
    "modifiers": {
      "default": null,
      "description": "Modifiers used when performing the query",
      "allOf": [
        {
          "$ref": "#/components/schemas/HogQLQueryModifiers"
        }
      ],
      "nullable": true
    },
    "orderBy": {
      "default": null,
      "title": "Orderby",
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/WebAnalyticsOrderByFields"
          },
          {
            "$ref": "#/components/schemas/WebAnalyticsOrderByDirection"
          }
        ]
      },
      "type": "array",
      "nullable": true
    },
    "percentile": {
      "$ref": "#/components/schemas/WebVitalsPercentile"
    },
    "properties": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/EventPropertyFilter"
          },
          {
            "$ref": "#/components/schemas/PersonPropertyFilter"
          },
          {
            "$ref": "#/components/schemas/SessionPropertyFilter"
          },
          {
            "$ref": "#/components/schemas/CohortPropertyFilter"
          }
        ]
      },
      "title": "Properties"
    },
    "response": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/WebVitalsPathBreakdownQueryResponse"
        }
      ],
      "nullable": true
    },
    "sampling": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/WebAnalyticsSampling"
        }
      ],
      "nullable": true
    },
    "samplingFactor": {
      "default": null,
      "description": "Sampling rate",
      "title": "Samplingfactor",
      "type": "number",
      "nullable": true
    },
    "tags": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/QueryLogTags"
        }
      ],
      "nullable": true
    },
    "thresholds": {
      "items": {
        "type": "number"
      },
      "maxItems": 2,
      "minItems": 2,
      "title": "Thresholds",
      "type": "array"
    },
    "useSessionsTable": {
      "default": null,
      "title": "Usesessionstable",
      "type": "boolean",
      "nullable": true
    },
    "version": {
      "default": null,
      "description": "version of the node, used for schema migrations",
      "title": "Version",
      "type": "number",
      "nullable": true
    }
  },
  "required": [
    "metric",
    "percentile",
    "properties",
    "thresholds"
  ],
  "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/posthog-webvitalspathbreakdownquery"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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