PostHog · Schema

ExperimentApiEventSource

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
event string Event name, e.g. '$pageview'. Required for EventsNode.
id integer Action ID. Required for ActionsNode.
kind object
properties array Event property filters to narrow which events are counted.
View JSON Schema on GitHub

JSON Schema

posthog-experimentapieventsource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ExperimentApiEventSource",
  "title": "ExperimentApiEventSource",
  "additionalProperties": false,
  "properties": {
    "event": {
      "default": null,
      "description": "Event name, e.g. '$pageview'. Required for EventsNode.",
      "title": "Event",
      "type": "string",
      "nullable": true
    },
    "id": {
      "default": null,
      "description": "Action ID. Required for ActionsNode.",
      "title": "Id",
      "type": "integer",
      "nullable": true
    },
    "kind": {
      "$ref": "#/components/schemas/Kind"
    },
    "properties": {
      "default": null,
      "description": "Event property filters to narrow which events are counted.",
      "title": "Properties",
      "items": {
        "$ref": "#/components/schemas/EventPropertyFilter"
      },
      "type": "array",
      "nullable": true
    }
  },
  "required": [
    "kind"
  ],
  "type": "object"
}