PostHog · Schema

LogsAlertStateInterval

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
start string Interval start (UTC, inclusive).
end string Interval end (UTC, exclusive).
state object Alert state during this interval. * `not_firing` - Not firing * `firing` - Firing * `pending_resolve` - Pending resolve * `errored` - Errored * `snoozed` - Snoozed * `broken` - Broken
enabled boolean Whether the alert was enabled during this interval. Disabled alerts keep their state but are inactive.
View JSON Schema on GitHub

JSON Schema

posthog-logsalertstateinterval-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LogsAlertStateInterval",
  "title": "LogsAlertStateInterval",
  "type": "object",
  "properties": {
    "start": {
      "type": "string",
      "format": "date-time",
      "description": "Interval start (UTC, inclusive)."
    },
    "end": {
      "type": "string",
      "format": "date-time",
      "description": "Interval end (UTC, exclusive)."
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LogsAlertConfigurationStateEnum"
        }
      ],
      "description": "Alert state during this interval.\n\n* `not_firing` - Not firing\n* `firing` - Firing\n* `pending_resolve` - Pending resolve\n* `errored` - Errored\n* `snoozed` - Snoozed\n* `broken` - Broken"
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the alert was enabled during this interval. Disabled alerts keep their state but are inactive."
    }
  },
  "required": [
    "enabled",
    "end",
    "start",
    "state"
  ]
}