PostHog · Schema

ExperimentTrendsQuery

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
count_query object
experiment_id integer
exposure_query object
fingerprint string
kind string
modifiers object Modifiers used when performing the query
name string
response object
tags object
uuid string
version number version of the node, used for schema migrations
View JSON Schema on GitHub

JSON Schema

posthog-experimenttrendsquery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ExperimentTrendsQuery",
  "title": "ExperimentTrendsQuery",
  "additionalProperties": false,
  "properties": {
    "count_query": {
      "$ref": "#/components/schemas/TrendsQuery"
    },
    "experiment_id": {
      "default": null,
      "title": "Experiment Id",
      "type": "integer",
      "nullable": true
    },
    "exposure_query": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/TrendsQuery"
        }
      ],
      "nullable": true
    },
    "fingerprint": {
      "default": null,
      "title": "Fingerprint",
      "type": "string",
      "nullable": true
    },
    "kind": {
      "default": "ExperimentTrendsQuery",
      "title": "Kind",
      "type": "string",
      "enum": [
        "ExperimentTrendsQuery"
      ]
    },
    "modifiers": {
      "default": null,
      "description": "Modifiers used when performing the query",
      "allOf": [
        {
          "$ref": "#/components/schemas/HogQLQueryModifiers"
        }
      ],
      "nullable": true
    },
    "name": {
      "default": null,
      "title": "Name",
      "type": "string",
      "nullable": true
    },
    "response": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/ExperimentTrendsQueryResponse"
        }
      ],
      "nullable": true
    },
    "tags": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/QueryLogTags"
        }
      ],
      "nullable": true
    },
    "uuid": {
      "default": null,
      "title": "Uuid",
      "type": "string",
      "nullable": true
    },
    "version": {
      "default": null,
      "description": "version of the node, used for schema migrations",
      "title": "Version",
      "type": "number",
      "nullable": true
    }
  },
  "required": [
    "count_query"
  ],
  "type": "object"
}