: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": {
"category": {
"description": "Reported by the `Traffic category` property. Defaults to 'custom'. A built-in category such as ai_crawler or search_crawler relabels the traffic type too.",
"type": "string"
},
"combiner": {
"default": "AND",
"description": "How the conditions combine: 'AND' flags an event only when every condition matches, 'OR' when any one of them does.",
"type": "string"
},
"items": {
"description": "The conditions of this rule. Each one reads a single event property.",
"items": {
"properties": {
"id": {
"description": "Stable id for the condition. Generated when omitted.",
"maxLength": 100,
"type": "string"
},
"key": {
"description": "Event property the condition reads. One of: $raw_user_agent, $ip, $lib, $host, $pathname, $current_url, $browser, $os, $browser_language, $screen_width, $screen_height, $geoip_country_code, $referrer, $referring_domain.",
"type": "string"
},
"matcher": {
"description": "How `pattern` is compared: 'contains' (case-insensitive substring), 'regex' (RE2), 'exact' (case-sensitive equality), or 'cidr' (an IP network range, only valid with the `$ip` property).",
"type": "string"
},
"pattern": {
"description": "Value matched against the property named by `key`. For 'cidr' this is a network range like 192.0.2.0/24.",
"type": "string"
}
},
"required": ["key", "matcher", "pattern"],
"type": "object"
},
"type": "array"
},
"name": {
"description": "Label reported by the `Bot name` property when the rule matches. Also the operator for a rule on a bot PostHog does not know.",
"type": "string"
}
},
"required": ["name", "items"],
"type": "object"
}