:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"description": "A UUID string identifying this logs alert configuration.",
"type": "string"
},
"pagerduty_region": {
"default": "us",
"description": "PagerDuty service region, us or eu. Defaults to us.",
"enum": ["us", "eu"],
"type": "string"
},
"pagerduty_routing_key": {
"description": "The 32-character integration key of an Events API v2 integration on the PagerDuty service. Required when type is pagerduty.",
"type": "string"
},
"pagerduty_severity": {
"default": "critical",
"description": "Incident severity for PagerDuty. One of critical, error, warning, info. Defaults to critical.",
"enum": ["critical", "error", "warning", "info"],
"type": "string"
},
"slack_channel_id": {
"description": "Slack channel ID. Required when type is slack.",
"type": "string"
},
"slack_channel_name": {
"description": "Optional Slack channel name used for display.",
"type": "string"
},
"slack_workspace_id": {
"description": "Slack workspace integration ID. Required when type is slack.",
"type": "number"
},
"type": {
"description": "Destination type. Use slack, webhook, teams, or pagerduty. Slack requires slack_workspace_id and slack_channel_id. Webhook and teams require webhook_url. PagerDuty requires pagerduty_routing_key.",
"enum": ["slack", "webhook", "teams", "pagerduty"],
"type": "string"
},
"webhook_url": {
"description": "Required when type is webhook or teams.",
"format": "uri",
"type": "string"
}
},
"required": ["id", "type"],
"type": "object"
}