PostHog · Schema

Threshold

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
created_at string
name string Optional name for the threshold.
configuration object Threshold bounds and type. Includes bounds (lower/upper floats) and type (absolute or percentage).
View JSON Schema on GitHub

JSON Schema

posthog-threshold-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Threshold",
  "title": "Threshold",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Optional name for the threshold."
    },
    "configuration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InsightThreshold"
        }
      ],
      "description": "Threshold bounds and type. Includes bounds (lower/upper floats) and type (absolute or percentage)."
    }
  },
  "required": [
    "configuration",
    "created_at",
    "id"
  ]
}