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(ingestion): add ai pipeline to event restrictions (#72238)

Paweł Ledwońfb221fde4a94
diff --git a/posthog/models/event_ingestion_restriction_config.py b/posthog/models/event_ingestion_restriction_config.py
index fc3dc90f7e0a..c6957f37a84b 100644
--- a/posthog/models/event_ingestion_restriction_config.py
+++ b/posthog/models/event_ingestion_restriction_config.py
@@ -17,6 +17,7 @@ INGESTION_PIPELINES = [
{"value": "session_recordings", "label": "Session Recordings Pipeline"},
{"value": "errortracking", "label": "Error Tracking Pipeline"},
{"value": "clientwarnings", "label": "Client Warnings Pipeline"},
+ {"value": "ai", "label": "AI Pipeline"},
]
@@ -37,6 +38,7 @@ class IngestionPipeline(models.TextChoices):
SESSION_RECORDINGS = "session_recordings"
ERRORTRACKING = "errortracking"
CLIENTWARNINGS = "clientwarnings"
+ AI = "ai"
class EventIngestionRestrictionConfig(UUIDTModel):