PostHog · Schema
ThresholdWithAlert
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). |
| alerts | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ThresholdWithAlert",
"title": "ThresholdWithAlert",
"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)."
},
"alerts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Alert"
},
"readOnly": true
}
},
"required": [
"alerts",
"configuration",
"created_at",
"id"
]
}