PostHog · Schema
ZScoreDetectorConfig
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| preprocessing | object | Preprocessing transforms applied before detection |
| threshold | number | Anomaly probability threshold [0-1]. Points above this probability are flagged (default: 0.9) |
| type | string | |
| window | integer | Rolling window size for calculating mean/std (default: 30) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ZScoreDetectorConfig",
"title": "ZScoreDetectorConfig",
"additionalProperties": false,
"properties": {
"preprocessing": {
"default": null,
"description": "Preprocessing transforms applied before detection",
"allOf": [
{
"$ref": "#/components/schemas/PreprocessingConfig"
}
],
"nullable": true
},
"threshold": {
"default": null,
"description": "Anomaly probability threshold [0-1]. Points above this probability are flagged (default: 0.9)",
"title": "Threshold",
"type": "number",
"nullable": true
},
"type": {
"default": "zscore",
"title": "Type",
"type": "string",
"enum": [
"zscore"
]
},
"window": {
"default": null,
"description": "Rolling window size for calculating mean/std (default: 30)",
"title": "Window",
"type": "integer",
"nullable": true
}
},
"type": "object"
}