Skip to content

: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.

feat(replay): make Replay Vision observations discoverable in filter UIs (#95265)

Arno Hillen6b688739de6e
diff --git a/frontend/src/taxonomy/core-filter-definitions-by-group.json b/frontend/src/taxonomy/core-filter-definitions-by-group.json
index 5b926d8fc7a4..cfb338227aaa 100644
--- a/frontend/src/taxonomy/core-filter-definitions-by-group.json
+++ b/frontend/src/taxonomy/core-filter-definitions-by-group.json
@@ -3684,6 +3684,10 @@
"label": "Duration (ms, unprefixed)",
"type": "Numeric"
},
+ "emits_signals": {
+ "description": "Whether the scanner pushed each finding into the Signals inbox.",
+ "label": "Emits signals (Replay Vision)"
+ },
"epik": {
"description": "Pinterest Click ID",
"label": "epik"
@@ -3858,6 +3862,14 @@
"description": "Reddit Click ID",
"label": "rdt_cid"
},
+ "recording_distinct_id": {
+ "description": "Distinct ID of the person in the recording. The event's own distinct ID is a synthetic scanner actor, so use this property to reach the observed person.",
+ "label": "Observed distinct ID (Replay Vision)"
+ },
+ "recording_subject_email": {
+ "description": "Email of the person in the recording, captured when the scan ran.",
+ "label": "Observed subject email (Replay Vision)"
+ },
"referring_application": {
"description": "The namespace of the app that made the request.",
"examples": [
@@ -3876,6 +3888,29 @@
],
"label": "Revenue"
},
+ "scanner_id": {
+ "description": "Scanner that produced the observation.",
+ "label": "Scanner ID (Replay Vision)"
+ },
+ "scanner_name": {
+ "description": "Scanner name as it was configured when the scan ran. Renaming the scanner does not rewrite past observations.",
+ "label": "Scanner name (Replay Vision)"
+ },
+ "scanner_type": {
+ "description": "Which kind of analysis ran. Monitors answer a yes/no question, classifiers assign tags, scorers return a number, and summarizers describe the session.",
+ "examples": [
+ "monitor",
+ "classifier",
+ "scorer",
+ "summarizer"
+ ],
+ "label": "Scanner type (Replay Vision)"
+ },
+ "scanner_version": {
+ "description": "Version of the scanner config that produced the observation. Editing a scanner bumps this, so breaking down by it separates results from before and after a prompt change.",
+ "label": "Scanner version (Replay Vision)",
+ "type": "Numeric"
+ },
"sccid": {
"description": "Snapchat Click ID",
"label": "sccid"
@@ -4233,6 +4268,11 @@
"description": "A user has rapidly and repeatedly clicked in a single place.",
"label": "Rageclick"
},
+ "$recording_observed": {
+ "description": "One Replay Vision scanner finished analyzing one session recording. Emitted once per scanner and session, minutes to months after the recording itself, so it describes a session rather than happening inside one. The scanner's output is flattened into `scanner_output_*` properties, and the observed session is named by `session_id`.",
+ "label": "Recording observed (Replay Vision)",
+ "primary_property": "scanner_name"
+ },
"$screen": {
"description": "When a user loads a screen in a mobile app.",
"label": "Screen",
@@ -8886,6 +8926,10 @@
"label": "Email address",
"type": "String"
},
+ "emits_signals": {
+ "description": "Whether the scanner pushed each finding into the Signals inbox.",
+ "label": "Emits signals (Replay Vision)"
+ },
"epik": {
"description": "Pinterest Click ID Data from the last time this user was seen.",
"label": "Latest epik"
@@ -9060,6 +9104,14 @@
"description": "Reddit Click ID Data from the last time this user was seen.",
"label": "Latest rdt_cid"
},
+ "recording_distinct_id": {
+ "description": "Distinct ID of the person in the recording. The event's own distinct ID is a synthetic scanner actor, so use this property to reach the observed person.",
+ "label": "Observed distinct ID (Replay Vision)"
+ },
+ "recording_subject_email": {
+ "description": "Email of the person in the recording, captured when the scan ran.",
+ "label": "Observed subject email (Replay Vision)"
+ },
"referring_application": {
"description": "The namespace of the app that made the request.",
"examples": [
@@ -9078,6 +9130,29 @@
],
"label": "Revenue"
},
+ "scanner_id": {
+ "description": "Scanner that produced the observation.",
+ "label": "Scanner ID (Replay Vision)"
+ },
+ "scanner_name": {
+ "description": "Scanner name as it was configured when the scan ran. Renaming the scanner does not rewrite past observations.",
+ "label": "Scanner name (Replay Vision)"
+ },
+ "scanner_type": {
+ "description": "Which kind of analysis ran. Monitors answer a yes/no question, classifiers assign tags, scorers return a number, and summarizers describe the session.",
+ "examples": [
+ "monitor",
+ "classifier",
+ "scorer",
+ "summarizer"
+ ],
+ "label": "Scanner type (Replay Vision)"
+ },
+ "scanner_version": {
+ "description": "Version of the scanner config that produced the observation. Editing a scanner bumps this, so breaking down by it separates results from before and after a prompt change.",
+ "label": "Scanner version (Replay Vision)",
+ "type": "Numeric"
+ },
"sccid": {
"description": "Snapchat Click ID Data from the last time this user was seen.",
"label": "Latest sccid"
diff --git a/posthog/taxonomy/taxonomy.py b/posthog/taxonomy/taxonomy.py
index 4f0cd7936321..f69c274687fb 100644
--- a/posthog/taxonomy/taxonomy.py
+++ b/posthog/taxonomy/taxonomy.py
@@ -296,6 +296,11 @@ CORE_FILTER_DEFINITIONS_BY_GROUP: dict[str, dict[str, CoreFilterDefinition]] = {
"label": "AI embedding (LLM)",
"description": "A call to an embedding model.",
},
+ "$recording_observed": {
+ "label": "Recording observed (Replay Vision)",
+ "description": "One Replay Vision scanner finished analyzing one session recording. Emitted once per scanner and session, minutes to months after the recording itself, so it describes a session rather than happening inside one. The scanner's output is flattened into `scanner_output_*` properties, and the observed session is named by `session_id`.",
+ "primary_property": "scanner_name",
+ },
"$csp_violation": {
"label": "CSP violation",
"description": "Content Security Policy violation reported by a browser to our csp endpoint.",
@@ -3156,6 +3161,41 @@ CORE_FILTER_DEFINITIONS_BY_GROUP: dict[str, dict[str, CoreFilterDefinition]] = {
"description": "Vendor client captured at session initialize and carried across every request in that session.",
"examples": ["ClaudeCode", "ClaudeAI"],
},
+ # Replay Vision properties, all on `$recording_observed`. This group labels a property name
+ # everywhere it appears, so only names Replay Vision owns belong here. `session_id`,
+ # `triggered_by`, `credits`, `model_used` and `provider_used` are deliberately absent:
+ # error tracking, experiments, LLM analytics and signals send their own, with different
+ # values. `scanner_*` is safe because Replay Vision's own LLM calls carry it too.
+ "scanner_id": {
+ "label": "Scanner ID (Replay Vision)",
+ "description": "Scanner that produced the observation.",
+ },
+ "scanner_name": {
+ "label": "Scanner name (Replay Vision)",
+ "description": "Scanner name as it was configured when the scan ran. Renaming the scanner does not rewrite past observations.",
+ },
+ "scanner_type": {
+ "label": "Scanner type (Replay Vision)",
+ "description": "Which kind of analysis ran. Monitors answer a yes/no question, classifiers assign tags, scorers return a number, and summarizers describe the session.",
+ "examples": ["monitor", "classifier", "scorer", "summarizer"],
+ },
+ "scanner_version": {
+ "label": "Scanner version (Replay Vision)",
+ "description": "Version of the scanner config that produced the observation. Editing a scanner bumps this, so breaking down by it separates results from before and after a prompt change.",
+ "type": "Numeric",
+ },
+ "emits_signals": {
+ "label": "Emits signals (Replay Vision)",
+ "description": "Whether the scanner pushed each finding into the Signals inbox.",
+ },
+ "recording_distinct_id": {
+ "label": "Observed distinct ID (Replay Vision)",
+ "description": "Distinct ID of the person in the recording. The event's own distinct ID is a synthetic scanner actor, so use this property to reach the observed person.",
+ },
+ "recording_subject_email": {
+ "label": "Observed subject email (Replay Vision)",
+ "description": "Email of the person in the recording, captured when the scan ran.",
+ },
"$csp_document_url": {
"label": "Document URL",
"description": "The URL of the document where the violation occurred.",