: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
feat(signals): log human reviewer changes on reports to the activity log (#67845)
Andrew Maguire4d341d299c46
diff --git a/posthog/models/activity_logging/activity_log.py b/posthog/models/activity_logging/activity_log.pyindex fba5c5c0554d..8c95e64f66ec 100644--- a/posthog/models/activity_logging/activity_log.py+++ b/posthog/models/activity_logging/activity_log.py@@ -89,6 +89,7 @@ ActivityScope = Literal["ProductTour","Ticket","InstanceSetting",+ "SignalReport","SignalScoutConfig",]ChangeAction = Literal[diff --git a/products/platform_features/frontend/generated/api.schemas.ts b/products/platform_features/frontend/generated/api.schemas.tsindex f72f7ab0c220..d7243cb6bec3 100644--- a/products/platform_features/frontend/generated/api.schemas.ts+++ b/products/platform_features/frontend/generated/api.schemas.ts@@ -993,6 +993,7 @@ export type ActivityLogListParams = {* * `ProductTour` - ProductTour* * `Ticket` - Ticket* * `InstanceSetting` - InstanceSetting+ * * `SignalReport` - SignalReport* * `SignalScoutConfig` - SignalScoutConfig* @minLength 1*/@@ -1073,6 +1074,7 @@ export const ActivityLogListScope = {ProductTour: 'ProductTour',Ticket: 'Ticket',InstanceSetting: 'InstanceSetting',+ SignalReport: 'SignalReport',SignalScoutConfig: 'SignalScoutConfig',} as const@@ -1140,6 +1142,7 @@ export const ActivityLogListScope = {* * `ProductTour` - ProductTour* * `Ticket` - Ticket* * `InstanceSetting` - InstanceSetting+ * * `SignalReport` - SignalReport* * `SignalScoutConfig` - SignalScoutConfig*/export type ActivityLogListScopesItem = (typeof ActivityLogListScopesItem)[keyof typeof ActivityLogListScopesItem]@@ -1208,6 +1211,7 @@ export const ActivityLogListScopesItem = {ProductTour: 'ProductTour',Ticket: 'Ticket',InstanceSetting: 'InstanceSetting',+ SignalReport: 'SignalReport',SignalScoutConfig: 'SignalScoutConfig',} as constdiff --git a/products/signals/backend/scout_harness/profile/builders.py b/products/signals/backend/scout_harness/profile/builders.pyindex acf742493e03..dad1f2745661 100644--- a/products/signals/backend/scout_harness/profile/builders.py+++ b/products/signals/backend/scout_harness/profile/builders.py@@ -69,7 +69,7 @@ logger = logging.getLogger(__name__)# rows whose `source_version` doesn't match the current build, so adding a new key here# (or restructuring an existing one) without bumping the version would silently mix old# and new shapes in the cache.-INVENTORY_SOURCE_VERSION = "v6"+INVENTORY_SOURCE_VERSION = "v7"# Top-events ClickHouse query bounds. 7d is short enough to spot recent bursts and long# enough to stabilize counts on low-traffic teams; 50 covers the long tail without@@ -99,6 +99,13 @@ RECENT_ENTITY_LIMIT = 5RECENT_ACTIVITY_WINDOW_DAYS = 14RECENT_ACTIVITY_LIMIT = 20+# Human reviewer corrections are rare and precious routing precedent, so the window is+# much longer than the general activity aggregate — 90d keeps a quarter of corrections+# in the scout's orientation without an activity-log drill-down (which is premium-gated+# on cloud, unlike this ORM read).+REVIEWER_CORRECTIONS_WINDOW_DAYS = 90+REVIEWER_CORRECTIONS_LIMIT = 20+def build_inventory(team: Team) -> Inventory:"""Aggregate the deterministic inventory layer for a team.@@ -122,6 +129,7 @@ def build_inventory(team: Team) -> Inventory:"signal_source_configs": _signal_source_configs(team),"existing_inbox_reports": _existing_inbox_reports(team),"recent_activity": _recent_activity(team),+ "recent_reviewer_corrections": _recent_reviewer_corrections(team),"recent_dashboards": _recent_dashboards(team),"recent_surveys": _recent_surveys(team),"recent_feature_flags": _recent_feature_flags(team),@@ -658,6 +666,44 @@ def _recent_activity(team: Team) -> dict[str, Any]:}+def _recent_reviewer_corrections(team: Team) -> dict[str, Any]:+ """Human edits to report reviewer lists, from the activity log.++ A human swapping a report's suggested reviewers is the strongest ownership+ precedent a scout can route by, so it's surfaced directly in the profile —+ an ORM read, deliberately not the activity-log API (premium-gated on cloud),+ so every scout sees it regardless of the org's plan. The impersonation/system+ filter matches the partial index `idx_alog_team_scp_act_crtd` (both flags+ required False) and keeps support-staff edits out of the team's routing+ precedent — the write path records `was_impersonated`, so such rows do exist.+ """+ cutoff = timezone.now() - timedelta(days=REVIEWER_CORRECTIONS_WINDOW_DAYS)+ rows = ActivityLog.objects.filter(+ team_id=team.id,+ scope="SignalReport",+ activity="suggested_reviewers_changed",+ created_at__gte=cutoff,+ was_impersonated=False,+ is_system=False,+ ).order_by("-created_at")[:REVIEWER_CORRECTIONS_LIMIT]++ corrections: list[dict[str, Any]] = []+ for row in rows:+ detail = row.detail or {}+ changes = detail.get("changes") or []+ change = changes[0] if changes and isinstance(changes[0], dict) else {}+ corrections.append(+ {+ "report_id": str(row.item_id),+ "report_title": detail.get("name"),+ "before": change.get("before") or [],+ "after": change.get("after") or [],+ "at": row.created_at.isoformat() if row.created_at else None,+ }+ )+ return {"window_days": REVIEWER_CORRECTIONS_WINDOW_DAYS, "corrections": corrections}++def _top_events(team: Team) -> list[dict[str, Any]] | None:"""Top events by count over the lookback window, with reach + burst signals.diff --git a/products/signals/backend/scout_harness/profile/schema.py b/products/signals/backend/scout_harness/profile/schema.pyindex e584094086af..7e3620479b7a 100644--- a/products/signals/backend/scout_harness/profile/schema.py+++ b/products/signals/backend/scout_harness/profile/schema.py@@ -84,6 +84,19 @@ class RecentActivity(_Section):by_scope: list[ScopeActivity]+class ReviewerCorrection(_Section):+ report_id: str+ report_title: str | None+ before: list[str]+ after: list[str]+ at: str | None+++class RecentReviewerCorrections(_Section):+ window_days: int+ corrections: list[ReviewerCorrection]++class DashboardEntry(_Section):id: intname: str@@ -255,6 +268,7 @@ class Inventory(_Section):signal_source_configs: SignalSourceConfigsexisting_inbox_reports: ExistingInboxReportsrecent_activity: RecentActivity+ recent_reviewer_corrections: RecentReviewerCorrectionsrecent_dashboards: list[DashboardEntry]recent_surveys: RecentSurveysrecent_feature_flags: RecentFeatureFlagsdiff --git a/products/signals/backend/scout_harness/prompt.py b/products/signals/backend/scout_harness/prompt.pyindex c93b002beb7a..32b707059883 100644--- a/products/signals/backend/scout_harness/prompt.py+++ b/products/signals/backend/scout_harness/prompt.py@@ -370,6 +370,15 @@ inbox, but it routes to no one, so it tends to sit unactioned.guessed, mis-cased, or display-name handle reaches no one. When you only know theowner as a PostHog member, pass their `user_uuid` and let the server resolve itrather than inventing a handle.+- **Check for human corrections first.** When humans edit a report's reviewers in the+ inbox, the change is recorded with before/after login lists — the project profile's+ `recent_reviewer_corrections` section carries the recent ones. A human swapping a+ suggested reviewer for someone else is the strongest ownership evidence there is:+ treat it as authoritative precedent over commit history, and fold what you learn into+ your `reviewer:` memory keys. For history beyond the profile window, query+ `advanced-activity-logs-list` with `scopes=["SignalReport"]`,+ `activities=["suggested_reviewers_changed"]` (on an org without the audit-logs feature+ that call fails with a payment-required error — skip it and move on, don't retry).- **No owner in your evidence? List the members.** When the owner isn't already named inwhat you gathered, call `signals-scout-members-list` to get this project's members —each row carries the member's `email`, name, and resolved `github_login` (pass `search`diff --git a/products/signals/backend/scout_harness/serializers.py b/products/signals/backend/scout_harness/serializers.pyindex 70fc341efc54..c1194436fab7 100644--- a/products/signals/backend/scout_harness/serializers.py+++ b/products/signals/backend/scout_harness/serializers.py@@ -962,6 +962,33 @@ class RecentActivitySerializer(serializers.Serializer):)+class ReviewerCorrectionEntrySerializer(serializers.Serializer):+ """One row in `inventory.recent_reviewer_corrections.corrections`."""++ report_id = serializers.CharField(help_text="UUID of the report whose reviewers a human edited.")+ report_title = serializers.CharField(allow_null=True, help_text="Report title at the time of the edit.")+ before = serializers.ListField(+ child=serializers.CharField(), help_text="GitHub logins on the report before the human edit (lowercased)."+ )+ after = serializers.ListField(+ child=serializers.CharField(), help_text="GitHub logins on the report after the human edit (lowercased)."+ )+ at = serializers.CharField(allow_null=True, help_text="ISO-8601 timestamp of the edit.")+++class RecentReviewerCorrectionsSerializer(serializers.Serializer):+ """`inventory.recent_reviewer_corrections` — human edits to report reviewer lists."""++ window_days = serializers.IntegerField(help_text="Lookback window in days the corrections cover.")+ corrections = serializers.ListField(+ child=ReviewerCorrectionEntrySerializer(),+ help_text=(+ "Human reviewer edits, newest first. A human swapping a report's suggested "+ "reviewers is authoritative ownership precedent — route to who they chose."+ ),+ )++class RecentSurveyEntrySerializer(serializers.Serializer):"""One row in `inventory.recent_surveys.recent`."""@@ -1211,6 +1238,13 @@ class ProjectProfileInventorySerializer(serializers.Serializer):"in lately before drilling down via the per-entity readers or `activity-log-list`."),)+ recent_reviewer_corrections = RecentReviewerCorrectionsSerializer(+ help_text=(+ "Recent human edits to report reviewer lists (before/after GitHub logins). "+ "The strongest ownership precedent available — check it before setting "+ "`suggested_reviewers` and fold what it shows into `reviewer:` memory keys."+ ),+ )recent_dashboards = serializers.ListField(child=RecentDashboardEntrySerializer(),help_text=(diff --git a/products/signals/backend/test/test_scout_harness_api.py b/products/signals/backend/test/test_scout_harness_api.pyindex 209ae42d5ec7..a6ac507f3034 100644--- a/products/signals/backend/test/test_scout_harness_api.py+++ b/products/signals/backend/test/test_scout_harness_api.py@@ -900,6 +900,7 @@ class TestAgentHarnessProjectProfileAPI(APIBaseTest):"recent_notebooks","recent_cohorts","recent_actions",+ "recent_reviewer_corrections","top_events",}diff --git a/products/signals/backend/test/test_scout_harness_profile.py b/products/signals/backend/test/test_scout_harness_profile.pyindex 6607fd31638a..3a7ebf4f845c 100644--- a/products/signals/backend/test/test_scout_harness_profile.py+++ b/products/signals/backend/test/test_scout_harness_profile.py@@ -34,6 +34,7 @@ from products.signals.backend.models import SignalProjectProfile, SignalReport,from products.signals.backend.scout_harness.profile import INVENTORY_SOURCE_VERSION, Inventory, build_inventoryfrom products.signals.backend.scout_harness.profile.builders import (RECENT_ACTIVITY_WINDOW_DAYS,+ REVIEWER_CORRECTIONS_WINDOW_DAYS,_business_knowledge,_existing_inbox_reports,_external_data_sources,@@ -51,6 +52,7 @@ from products.signals.backend.scout_harness.profile.builders import (_recent_hog_flows,_recent_hog_functions,_recent_notebooks,+ _recent_reviewer_corrections,_recent_surveys,_signal_source_configs,)@@ -591,6 +593,61 @@ class TestRecentActivity(BaseTest):return User.objects.create(email=email, distinct_id=email)+class TestRecentReviewerCorrections(BaseTest):+ def _log_correction(self, *, team=None, created_at=None, detail=None, activity="suggested_reviewers_changed"):+ return ActivityLog.objects.create(+ team_id=(team or self.team).id,+ activity=activity,+ scope="SignalReport",+ item_id=str(uuid4()),+ was_impersonated=False,+ is_system=False,+ created_at=created_at or timezone.now(),+ detail=detail+ if detail is not None+ else {+ "name": "Report title",+ "changes": [+ {+ "type": "SignalReport",+ "action": "changed",+ "field": "suggested_reviewers",+ "before": ["alice"],+ "after": ["bob"],+ }+ ],+ },+ )++ def test_parses_corrections_and_excludes_noise(self) -> None:+ correction = self._log_correction()+ # None of these are reviewer corrections: other activity on the same scope,+ # another team's correction, and a correction outside the window.+ self._log_correction(activity="updated")+ other = self.organization.teams.create(name="other")+ self._log_correction(team=other)+ self._log_correction(created_at=timezone.now() - timedelta(days=REVIEWER_CORRECTIONS_WINDOW_DAYS + 1))++ result = _recent_reviewer_corrections(self.team)+ assert result["window_days"] == REVIEWER_CORRECTIONS_WINDOW_DAYS+ (row,) = result["corrections"]+ assert row == {+ "report_id": str(correction.item_id),+ "report_title": "Report title",+ "before": ["alice"],+ "after": ["bob"],+ "at": correction.created_at.isoformat(),+ }++ def test_malformed_detail_degrades_to_empty_lists(self) -> None:+ self._log_correction(detail={})+ result = _recent_reviewer_corrections(self.team)+ (row,) = result["corrections"]+ assert row["before"] == []+ assert row["after"] == []+ assert row["report_title"] is None++class TestBusinessKnowledge(BaseTest):def test_returns_zeroed_section_when_no_sources(self) -> None:result = _business_knowledge(self.team)@@ -652,6 +709,7 @@ class TestBuildInventory(BaseTest):"signal_source_configs","existing_inbox_reports","recent_activity",+ "recent_reviewer_corrections","recent_dashboards","recent_surveys","recent_feature_flags",diff --git a/products/signals/backend/test/test_signal_report_artefact_api.py b/products/signals/backend/test/test_signal_report_artefact_api.pyindex 49f0c4f5633a..db81a791735a 100644--- a/products/signals/backend/test/test_signal_report_artefact_api.py+++ b/products/signals/backend/test/test_signal_report_artefact_api.py@@ -8,6 +8,7 @@ from parameterized import parameterizedfrom rest_framework import statusfrom social_django.models import UserSocialAuth+from posthog.models.activity_logging.activity_log import ActivityLogfrom posthog.models.organization import OrganizationMembershipfrom posthog.models.team.team import Teamfrom posthog.models.user import User@@ -444,6 +445,59 @@ class TestSignalReportArtefactViewSet(APIBaseTest):# Original + two appended rows.assert self._reviewers_count(report) == 3+ def test_put_reviewer_change_writes_activity_log_with_diff(self):+ report = self._create_report()+ artefact = self._create_artefact(report, content=[{"github_login": "alice"}])++ response = self.client.put(+ self._detail_url(str(report.id), str(artefact.id)),+ data=json.dumps({"content": [{"github_login": "bob"}, {"github_login": "carol"}]}),+ content_type="application/json",+ )+ assert response.status_code == status.HTTP_200_OK++ log = ActivityLog.objects.get(team_id=self.team.id, scope="SignalReport")+ assert log.activity == "suggested_reviewers_changed"+ assert str(log.item_id) == str(report.id)+ assert log.user == self.user+ assert log.detail is not None+ assert log.detail["name"] == "Test report"+ (change,) = log.detail["changes"]+ assert change["field"] == "suggested_reviewers"+ assert change["before"] == ["alice"]+ assert change["after"] == ["bob", "carol"]++ def test_put_same_reviewer_set_writes_no_activity_log(self):+ report = self._create_report()+ artefact = self._create_artefact(report, content=[{"github_login": "alice"}, {"github_login": "bob"}])++ response = self.client.put(+ self._detail_url(str(report.id), str(artefact.id)),+ data=json.dumps({"content": [{"github_login": "bob"}, {"github_login": "alice"}]}),+ content_type="application/json",+ )+ assert response.status_code == status.HTTP_200_OK+ assert not ActivityLog.objects.filter(team_id=self.team.id, scope="SignalReport").exists()++ def test_put_task_attributed_reviewer_change_writes_no_activity_log(self):+ report = self._create_report()+ artefact = self._create_artefact(report, content=[{"github_login": "alice"}])+ task = Task.objects.create(+ team=self.team,+ title="task",+ description="desc",+ origin_product=Task.OriginProduct.SIGNAL_REPORT,+ )++ response = self.client.put(+ self._detail_url(str(report.id), str(artefact.id)),+ data=json.dumps({"content": [{"github_login": "bob"}]}),+ content_type="application/json",+ headers={"X-PostHog-Task-Id": str(task.id)},+ )+ assert response.status_code == status.HTTP_200_OK+ assert not ActivityLog.objects.filter(team_id=self.team.id, scope="SignalReport").exists()+def test_put_response_is_enriched_with_user(self):member = self._create_org_member("[email protected]", github_login="alice")report = self._create_report()diff --git a/products/signals/backend/views.py b/products/signals/backend/views.pyindex 19274cadcd55..6b8c8abc4bfa 100644--- a/products/signals/backend/views.py+++ b/products/signals/backend/views.py@@ -46,6 +46,8 @@ from posthog.api.routing import TeamAndOrgViewSetMixinfrom posthog.auth import InternalAPIAuthentication, OAuthAccessTokenAuthentication, PersonalAPIKeyAuthenticationfrom posthog.exceptions_capture import capture_exceptionfrom posthog.models import Team, User+from posthog.models.activity_logging.activity_log import Change, Detail, log_activity+from posthog.models.activity_logging.model_activity import is_impersonated_sessionfrom posthog.models.integration import GitHubIntegration, Integrationfrom posthog.models.team.extensions import get_or_create_team_extensionfrom posthog.permissions import APIScopePermission@@ -1695,7 +1697,9 @@ class SignalReportArtefactViewSet(# simultaneous edits would both read the same row and one would be silently lost.seen: set[str] = set()with transaction.atomic():- SignalReport.objects.select_for_update().filter(id=artefact.report_id, team_id=self.team_id).first()+ report = (+ SignalReport.objects.select_for_update().filter(id=artefact.report_id, team_id=self.team_id).first()+ )# Merge commits/names forward from the *current* reviewers (the latest status row), not# necessarily the addressed one — `suggested_reviewers` is append-only and latest-wins.@@ -1713,6 +1717,7 @@ class SignalReportArtefactViewSet(prior_content = []prior_commits_by_login: dict[str, list] = {}prior_name_by_login: dict[str, str | None] = {}+ prior_logins: list[str] = []if isinstance(prior_content, list):for prior in prior_content:if not isinstance(prior, dict):@@ -1720,6 +1725,7 @@ class SignalReportArtefactViewSet(login = (prior.get("github_login") or "").strip().lower()if not login:continue+ prior_logins.append(login)commits = prior.get("relevant_commits")if isinstance(commits, list):prior_commits_by_login[login] = commits@@ -1754,6 +1760,36 @@ class SignalReportArtefactViewSet(attribution=attribution,)+ # Human reviewer corrections are a routing signal (scouts query them via the+ # activity log to learn who owns an area), so log them — but only genuine+ # membership changes by a human, not agent writes or order-only rewrites.+ # `new_content` is deduped above; dedupe `prior_logins` too (a legacy or+ # hand-crafted prior row may carry duplicates) so before/after read symmetrically.+ prior_logins = list(dict.fromkeys(prior_logins))+ new_logins = [entry["github_login"] for entry in new_content]+ if attribution.kind == "user" and set(prior_logins) != set(new_logins):+ log_activity(+ organization_id=None,+ team_id=self.team.id,+ user=cast(User, request.user),+ was_impersonated=is_impersonated_session(request),+ item_id=artefact.report_id,+ scope="SignalReport",+ activity="suggested_reviewers_changed",+ detail=Detail(+ name=report.title if report else None,+ changes=[+ Change(+ type="SignalReport",+ action="changed",+ field="suggested_reviewers",+ before=prior_logins,+ after=new_logins,+ )+ ],+ ),+ )+# Return the read-shape (enriched) so the client sees the canonical result.login_map = resolve_org_github_login_to_users(self.team.id, list(seen)) if seen else {}read_serializer = SignalReportArtefactSerializer(diff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex 9f31c4b88d2b..478fc58d0d09 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -697,6 +697,38 @@ export interface RecentActivityApi {by_scope: ScopeActivityEntryApi[]}+/**+ * One row in `inventory.recent_reviewer_corrections.corrections`.+ */+export interface ReviewerCorrectionEntryApi {+ /** UUID of the report whose reviewers a human edited. */+ report_id: string+ /**+ * Report title at the time of the edit.+ * @nullable+ */+ report_title: string | null+ /** GitHub logins on the report before the human edit (lowercased). */+ before: string[]+ /** GitHub logins on the report after the human edit (lowercased). */+ after: string[]+ /**+ * ISO-8601 timestamp of the edit.+ * @nullable+ */+ at: string | null+}++/**+ * `inventory.recent_reviewer_corrections` — human edits to report reviewer lists.+ */+export interface RecentReviewerCorrectionsApi {+ /** Lookback window in days the corrections cover. */+ window_days: number+ /** Human reviewer edits, newest first. A human swapping a report's suggested reviewers is authoritative ownership precedent — route to who they chose. */+ corrections: ReviewerCorrectionEntryApi[]+}+/*** One row in `inventory.recent_dashboards`.*/@@ -1059,6 +1091,8 @@ export interface ProjectProfileInventoryApi {existing_inbox_reports: ExistingInboxReportsApi/** Per-scope counts off the activity log over the recent-activity window — cross-cutting orientation across every entity type (surveys, feature flags, experiments, dashboards, insights, cohorts, notebooks, actions, etc.). Each scope reports `edits` (total log entries), `users` (distinct user count), and `last_edit` (ISO-8601). Use to triage which scope a team has been working in lately before drilling down via the per-entity readers or `activity-log-list`. */recent_activity: RecentActivityApi+ /** Recent human edits to report reviewer lists (before/after GitHub logins). The strongest ownership precedent available — check it before setting `suggested_reviewers` and fold what it shows into `reviewer:` memory keys. */+ recent_reviewer_corrections: RecentReviewerCorrectionsApi/** Up to 20 dashboards on this team sorted by `last_accessed_at` desc — what the team is currently looking at, not necessarily the most-trafficked. We don't have per-dashboard view counts in Postgres, only the timestamp of the most recent access. */recent_dashboards: RecentDashboardEntryApi[]/** Surveys orientation: total + active count, plus the 5 most recently updated surveys with id, name, type, status (draft / running / stopped / archived), and updated_at. */diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex efe1f58e5fc1..fa92178cc23d 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -43871,6 +43871,38 @@ export namespace Schemas {by_scope: ScopeActivityEntry[];}+ /**+ * One row in `inventory.recent_reviewer_corrections.corrections`.+ */+ export interface ReviewerCorrectionEntry {+ /** UUID of the report whose reviewers a human edited. */+ report_id: string;+ /**+ * Report title at the time of the edit.+ * @nullable+ */+ report_title: string | null;+ /** GitHub logins on the report before the human edit (lowercased). */+ before: string[];+ /** GitHub logins on the report after the human edit (lowercased). */+ after: string[];+ /**+ * ISO-8601 timestamp of the edit.+ * @nullable+ */+ at: string | null;+ }++ /**+ * `inventory.recent_reviewer_corrections` — human edits to report reviewer lists.+ */+ export interface RecentReviewerCorrections {+ /** Lookback window in days the corrections cover. */+ window_days: number;+ /** Human reviewer edits, newest first. A human swapping a report's suggested reviewers is authoritative ownership precedent — route to who they chose. */+ corrections: ReviewerCorrectionEntry[];+ }+/*** One row in `inventory.recent_dashboards`.*/@@ -44233,6 +44265,8 @@ export namespace Schemas {existing_inbox_reports: ExistingInboxReports;/** Per-scope counts off the activity log over the recent-activity window — cross-cutting orientation across every entity type (surveys, feature flags, experiments, dashboards, insights, cohorts, notebooks, actions, etc.). Each scope reports `edits` (total log entries), `users` (distinct user count), and `last_edit` (ISO-8601). Use to triage which scope a team has been working in lately before drilling down via the per-entity readers or `activity-log-list`. */recent_activity: RecentActivity;+ /** Recent human edits to report reviewer lists (before/after GitHub logins). The strongest ownership precedent available — check it before setting `suggested_reviewers` and fold what it shows into `reviewer:` memory keys. */+ recent_reviewer_corrections: RecentReviewerCorrections;/** Up to 20 dashboards on this team sorted by `last_accessed_at` desc — what the team is currently looking at, not necessarily the most-trafficked. We don't have per-dashboard view counts in Postgres, only the timestamp of the most recent access. */recent_dashboards: RecentDashboardEntry[];/** Surveys orientation: total + active count, plus the 5 most recently updated surveys with id, name, type, status (draft / running / stopped / archived), and updated_at. */@@ -60275,6 +60309,7 @@ export namespace Schemas {* * `ProductTour` - ProductTour* * `Ticket` - Ticket* * `InstanceSetting` - InstanceSetting+ * * `SignalReport` - SignalReport* * `SignalScoutConfig` - SignalScoutConfig* @minLength 1*/@@ -60356,6 +60391,7 @@ export namespace Schemas {ProductTour: 'ProductTour',Ticket: 'Ticket',InstanceSetting: 'InstanceSetting',+ SignalReport: 'SignalReport',SignalScoutConfig: 'SignalScoutConfig',} as const;@@ -60423,6 +60459,7 @@ export namespace Schemas {* * `ProductTour` - ProductTour* * `Ticket` - Ticket* * `InstanceSetting` - InstanceSetting+ * * `SignalReport` - SignalReport* * `SignalScoutConfig` - SignalScoutConfig*/export type ActivityLogListScopesItem = typeof ActivityLogListScopesItem[keyof typeof ActivityLogListScopesItem];@@ -60492,6 +60529,7 @@ export namespace Schemas {ProductTour: 'ProductTour',Ticket: 'Ticket',InstanceSetting: 'InstanceSetting',+ SignalReport: 'SignalReport',SignalScoutConfig: 'SignalScoutConfig',} as const;diff --git a/services/mcp/src/generated/platform_features/api.ts b/services/mcp/src/generated/platform_features/api.tsindex c9460d753f81..44e910343cbb 100644--- a/services/mcp/src/generated/platform_features/api.ts+++ b/services/mcp/src/generated/platform_features/api.ts@@ -173,11 +173,12 @@ export const ActivityLogListQueryParams = /* @__PURE__ */ zod.object({'ProductTour','Ticket','InstanceSetting',+ 'SignalReport','SignalScoutConfig',]).optional().describe(- 'Filter by a single activity scope, e.g. "FeatureFlag", "Insight", "Dashboard", "Experiment".\n\n* `Cohort` - Cohort\n* `FeatureFlag` - FeatureFlag\n* `Person` - Person\n* `Group` - Group\n* `Insight` - Insight\n* `Plugin` - Plugin\n* `PluginConfig` - PluginConfig\n* `HogFunction` - HogFunction\n* `HogFlow` - HogFlow\n* `DataManagement` - DataManagement\n* `EventDefinition` - EventDefinition\n* `PropertyDefinition` - PropertyDefinition\n* `Notebook` - Notebook\n* `Endpoint` - Endpoint\n* `EndpointVersion` - EndpointVersion\n* `Dashboard` - Dashboard\n* `Replay` - Replay\n* `Experiment` - Experiment\n* `ExperimentHoldout` - ExperimentHoldout\n* `ExperimentSavedMetric` - ExperimentSavedMetric\n* `Survey` - Survey\n* `EarlyAccessFeature` - EarlyAccessFeature\n* `SessionRecordingPlaylist` - SessionRecordingPlaylist\n* `Comment` - Comment\n* `Team` - Team\n* `Project` - Project\n* `ErrorTrackingIssue` - ErrorTrackingIssue\n* `DataWarehouseSavedQuery` - DataWarehouseSavedQuery\n* `LegalDocument` - LegalDocument\n* `Organization` - Organization\n* `OrganizationDomain` - OrganizationDomain\n* `OrganizationMembership` - OrganizationMembership\n* `Role` - Role\n* `UserGroup` - UserGroup\n* `BatchExport` - BatchExport\n* `BatchImport` - BatchImport\n* `ExportedAsset` - ExportedAsset\n* `Integration` - Integration\n* `Annotation` - Annotation\n* `Tag` - Tag\n* `TaggedItem` - TaggedItem\n* `Subscription` - Subscription\n* `PersonalAPIKey` - PersonalAPIKey\n* `ProjectSecretAPIKey` - ProjectSecretAPIKey\n* `OAuthApplication` - OAuthApplication\n* `User` - User\n* `Action` - Action\n* `AlertConfiguration` - AlertConfiguration\n* `Threshold` - Threshold\n* `AlertSubscription` - AlertSubscription\n* `ExternalDataSource` - ExternalDataSource\n* `ExternalDataSchema` - ExternalDataSchema\n* `Evaluation` - Evaluation\n* `LLMTrace` - LLMTrace\n* `WebAnalyticsFilterPreset` - WebAnalyticsFilterPreset\n* `CustomerProfileConfig` - CustomerProfileConfig\n* `Log` - Log\n* `LogsAlertConfiguration` - LogsAlertConfiguration\n* `LogsExclusionRule` - LogsExclusionRule\n* `DashboardWidget` - DashboardWidget\n* `ProductTour` - ProductTour\n* `Ticket` - Ticket\n* `InstanceSetting` - InstanceSetting\n* `SignalScoutConfig` - SignalScoutConfig'+ 'Filter by a single activity scope, e.g. "FeatureFlag", "Insight", "Dashboard", "Experiment".\n\n* `Cohort` - Cohort\n* `FeatureFlag` - FeatureFlag\n* `Person` - Person\n* `Group` - Group\n* `Insight` - Insight\n* `Plugin` - Plugin\n* `PluginConfig` - PluginConfig\n* `HogFunction` - HogFunction\n* `HogFlow` - HogFlow\n* `DataManagement` - DataManagement\n* `EventDefinition` - EventDefinition\n* `PropertyDefinition` - PropertyDefinition\n* `Notebook` - Notebook\n* `Endpoint` - Endpoint\n* `EndpointVersion` - EndpointVersion\n* `Dashboard` - Dashboard\n* `Replay` - Replay\n* `Experiment` - Experiment\n* `ExperimentHoldout` - ExperimentHoldout\n* `ExperimentSavedMetric` - ExperimentSavedMetric\n* `Survey` - Survey\n* `EarlyAccessFeature` - EarlyAccessFeature\n* `SessionRecordingPlaylist` - SessionRecordingPlaylist\n* `Comment` - Comment\n* `Team` - Team\n* `Project` - Project\n* `ErrorTrackingIssue` - ErrorTrackingIssue\n* `DataWarehouseSavedQuery` - DataWarehouseSavedQuery\n* `LegalDocument` - LegalDocument\n* `Organization` - Organization\n* `OrganizationDomain` - OrganizationDomain\n* `OrganizationMembership` - OrganizationMembership\n* `Role` - Role\n* `UserGroup` - UserGroup\n* `BatchExport` - BatchExport\n* `BatchImport` - BatchImport\n* `ExportedAsset` - ExportedAsset\n* `Integration` - Integration\n* `Annotation` - Annotation\n* `Tag` - Tag\n* `TaggedItem` - TaggedItem\n* `Subscription` - Subscription\n* `PersonalAPIKey` - PersonalAPIKey\n* `ProjectSecretAPIKey` - ProjectSecretAPIKey\n* `OAuthApplication` - OAuthApplication\n* `User` - User\n* `Action` - Action\n* `AlertConfiguration` - AlertConfiguration\n* `Threshold` - Threshold\n* `AlertSubscription` - AlertSubscription\n* `ExternalDataSource` - ExternalDataSource\n* `ExternalDataSchema` - ExternalDataSchema\n* `Evaluation` - Evaluation\n* `LLMTrace` - LLMTrace\n* `WebAnalyticsFilterPreset` - WebAnalyticsFilterPreset\n* `CustomerProfileConfig` - CustomerProfileConfig\n* `Log` - Log\n* `LogsAlertConfiguration` - LogsAlertConfiguration\n* `LogsExclusionRule` - LogsExclusionRule\n* `DashboardWidget` - DashboardWidget\n* `ProductTour` - ProductTour\n* `Ticket` - Ticket\n* `InstanceSetting` - InstanceSetting\n* `SignalReport` - SignalReport\n* `SignalScoutConfig` - SignalScoutConfig'),scopes: zod.array(@@ -246,10 +247,11 @@ export const ActivityLogListQueryParams = /* @__PURE__ */ zod.object({'ProductTour','Ticket','InstanceSetting',+ 'SignalReport','SignalScoutConfig',]).describe(- '* `Cohort` - Cohort\n* `FeatureFlag` - FeatureFlag\n* `Person` - Person\n* `Group` - Group\n* `Insight` - Insight\n* `Plugin` - Plugin\n* `PluginConfig` - PluginConfig\n* `HogFunction` - HogFunction\n* `HogFlow` - HogFlow\n* `DataManagement` - DataManagement\n* `EventDefinition` - EventDefinition\n* `PropertyDefinition` - PropertyDefinition\n* `Notebook` - Notebook\n* `Endpoint` - Endpoint\n* `EndpointVersion` - EndpointVersion\n* `Dashboard` - Dashboard\n* `Replay` - Replay\n* `Experiment` - Experiment\n* `ExperimentHoldout` - ExperimentHoldout\n* `ExperimentSavedMetric` - ExperimentSavedMetric\n* `Survey` - Survey\n* `EarlyAccessFeature` - EarlyAccessFeature\n* `SessionRecordingPlaylist` - SessionRecordingPlaylist\n* `Comment` - Comment\n* `Team` - Team\n* `Project` - Project\n* `ErrorTrackingIssue` - ErrorTrackingIssue\n* `DataWarehouseSavedQuery` - DataWarehouseSavedQuery\n* `LegalDocument` - LegalDocument\n* `Organization` - Organization\n* `OrganizationDomain` - OrganizationDomain\n* `OrganizationMembership` - OrganizationMembership\n* `Role` - Role\n* `UserGroup` - UserGroup\n* `BatchExport` - BatchExport\n* `BatchImport` - BatchImport\n* `ExportedAsset` - ExportedAsset\n* `Integration` - Integration\n* `Annotation` - Annotation\n* `Tag` - Tag\n* `TaggedItem` - TaggedItem\n* `Subscription` - Subscription\n* `PersonalAPIKey` - PersonalAPIKey\n* `ProjectSecretAPIKey` - ProjectSecretAPIKey\n* `OAuthApplication` - OAuthApplication\n* `User` - User\n* `Action` - Action\n* `AlertConfiguration` - AlertConfiguration\n* `Threshold` - Threshold\n* `AlertSubscription` - AlertSubscription\n* `ExternalDataSource` - ExternalDataSource\n* `ExternalDataSchema` - ExternalDataSchema\n* `Evaluation` - Evaluation\n* `LLMTrace` - LLMTrace\n* `WebAnalyticsFilterPreset` - WebAnalyticsFilterPreset\n* `CustomerProfileConfig` - CustomerProfileConfig\n* `Log` - Log\n* `LogsAlertConfiguration` - LogsAlertConfiguration\n* `LogsExclusionRule` - LogsExclusionRule\n* `DashboardWidget` - DashboardWidget\n* `ProductTour` - ProductTour\n* `Ticket` - Ticket\n* `InstanceSetting` - InstanceSetting\n* `SignalScoutConfig` - SignalScoutConfig'+ '* `Cohort` - Cohort\n* `FeatureFlag` - FeatureFlag\n* `Person` - Person\n* `Group` - Group\n* `Insight` - Insight\n* `Plugin` - Plugin\n* `PluginConfig` - PluginConfig\n* `HogFunction` - HogFunction\n* `HogFlow` - HogFlow\n* `DataManagement` - DataManagement\n* `EventDefinition` - EventDefinition\n* `PropertyDefinition` - PropertyDefinition\n* `Notebook` - Notebook\n* `Endpoint` - Endpoint\n* `EndpointVersion` - EndpointVersion\n* `Dashboard` - Dashboard\n* `Replay` - Replay\n* `Experiment` - Experiment\n* `ExperimentHoldout` - ExperimentHoldout\n* `ExperimentSavedMetric` - ExperimentSavedMetric\n* `Survey` - Survey\n* `EarlyAccessFeature` - EarlyAccessFeature\n* `SessionRecordingPlaylist` - SessionRecordingPlaylist\n* `Comment` - Comment\n* `Team` - Team\n* `Project` - Project\n* `ErrorTrackingIssue` - ErrorTrackingIssue\n* `DataWarehouseSavedQuery` - DataWarehouseSavedQuery\n* `LegalDocument` - LegalDocument\n* `Organization` - Organization\n* `OrganizationDomain` - OrganizationDomain\n* `OrganizationMembership` - OrganizationMembership\n* `Role` - Role\n* `UserGroup` - UserGroup\n* `BatchExport` - BatchExport\n* `BatchImport` - BatchImport\n* `ExportedAsset` - ExportedAsset\n* `Integration` - Integration\n* `Annotation` - Annotation\n* `Tag` - Tag\n* `TaggedItem` - TaggedItem\n* `Subscription` - Subscription\n* `PersonalAPIKey` - PersonalAPIKey\n* `ProjectSecretAPIKey` - ProjectSecretAPIKey\n* `OAuthApplication` - OAuthApplication\n* `User` - User\n* `Action` - Action\n* `AlertConfiguration` - AlertConfiguration\n* `Threshold` - Threshold\n* `AlertSubscription` - AlertSubscription\n* `ExternalDataSource` - ExternalDataSource\n* `ExternalDataSchema` - ExternalDataSchema\n* `Evaluation` - Evaluation\n* `LLMTrace` - LLMTrace\n* `WebAnalyticsFilterPreset` - WebAnalyticsFilterPreset\n* `CustomerProfileConfig` - CustomerProfileConfig\n* `Log` - Log\n* `LogsAlertConfiguration` - LogsAlertConfiguration\n* `LogsExclusionRule` - LogsExclusionRule\n* `DashboardWidget` - DashboardWidget\n* `ProductTour` - ProductTour\n* `Ticket` - Ticket\n* `InstanceSetting` - InstanceSetting\n* `SignalReport` - SignalReport\n* `SignalScoutConfig` - SignalScoutConfig')).optional()diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/activity-log-list.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/activity-log-list.jsonindex e3715ff69352..76bef56fbfab 100644--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/activity-log-list.json+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/activity-log-list.json@@ -19,7 +19,7 @@"type": "number"},"scope": {- "description": "Filter by a single activity scope, e.g. \"FeatureFlag\", \"Insight\", \"Dashboard\", \"Experiment\".\n\n* `Cohort` - Cohort\n* `FeatureFlag` - FeatureFlag\n* `Person` - Person\n* `Group` - Group\n* `Insight` - Insight\n* `Plugin` - Plugin\n* `PluginConfig` - PluginConfig\n* `HogFunction` - HogFunction\n* `HogFlow` - HogFlow\n* `DataManagement` - DataManagement\n* `EventDefinition` - EventDefinition\n* `PropertyDefinition` - PropertyDefinition\n* `Notebook` - Notebook\n* `Endpoint` - Endpoint\n* `EndpointVersion` - EndpointVersion\n* `Dashboard` - Dashboard\n* `Replay` - Replay\n* `Experiment` - Experiment\n* `ExperimentHoldout` - ExperimentHoldout\n* `ExperimentSavedMetric` - ExperimentSavedMetric\n* `Survey` - Survey\n* `EarlyAccessFeature` - EarlyAccessFeature\n* `SessionRecordingPlaylist` - SessionRecordingPlaylist\n* `Comment` - Comment\n* `Team` - Team\n* `Project` - Project\n* `ErrorTrackingIssue` - ErrorTrackingIssue\n* `DataWarehouseSavedQuery` - DataWarehouseSavedQuery\n* `LegalDocument` - LegalDocument\n* `Organization` - Organization\n* `OrganizationDomain` - OrganizationDomain\n* `OrganizationMembership` - OrganizationMembership\n* `Role` - Role\n* `UserGroup` - UserGroup\n* `BatchExport` - BatchExport\n* `BatchImport` - BatchImport\n* `ExportedAsset` - ExportedAsset\n* `Integration` - Integration\n* `Annotation` - Annotation\n* `Tag` - Tag\n* `TaggedItem` - TaggedItem\n* `Subscription` - Subscription\n* `PersonalAPIKey` - PersonalAPIKey\n* `ProjectSecretAPIKey` - ProjectSecretAPIKey\n* `OAuthApplication` - OAuthApplication\n* `User` - User\n* `Action` - Action\n* `AlertConfiguration` - AlertConfiguration\n* `Threshold` - Threshold\n* `AlertSubscription` - AlertSubscription\n* `ExternalDataSource` - ExternalDataSource\n* `ExternalDataSchema` - ExternalDataSchema\n* `Evaluation` - Evaluation\n* `LLMTrace` - LLMTrace\n* `WebAnalyticsFilterPreset` - WebAnalyticsFilterPreset\n* `CustomerProfileConfig` - CustomerProfileConfig\n* `Log` - Log\n* `LogsAlertConfiguration` - LogsAlertConfiguration\n* `LogsExclusionRule` - LogsExclusionRule\n* `DashboardWidget` - DashboardWidget\n* `ProductTour` - ProductTour\n* `Ticket` - Ticket\n* `InstanceSetting` - InstanceSetting\n* `SignalScoutConfig` - SignalScoutConfig",+ "description": "Filter by a single activity scope, e.g. \"FeatureFlag\", \"Insight\", \"Dashboard\", \"Experiment\".\n\n* `Cohort` - Cohort\n* `FeatureFlag` - FeatureFlag\n* `Person` - Person\n* `Group` - Group\n* `Insight` - Insight\n* `Plugin` - Plugin\n* `PluginConfig` - PluginConfig\n* `HogFunction` - HogFunction\n* `HogFlow` - HogFlow\n* `DataManagement` - DataManagement\n* `EventDefinition` - EventDefinition\n* `PropertyDefinition` - PropertyDefinition\n* `Notebook` - Notebook\n* `Endpoint` - Endpoint\n* `EndpointVersion` - EndpointVersion\n* `Dashboard` - Dashboard\n* `Replay` - Replay\n* `Experiment` - Experiment\n* `ExperimentHoldout` - ExperimentHoldout\n* `ExperimentSavedMetric` - ExperimentSavedMetric\n* `Survey` - Survey\n* `EarlyAccessFeature` - EarlyAccessFeature\n* `SessionRecordingPlaylist` - SessionRecordingPlaylist\n* `Comment` - Comment\n* `Team` - Team\n* `Project` - Project\n* `ErrorTrackingIssue` - ErrorTrackingIssue\n* `DataWarehouseSavedQuery` - DataWarehouseSavedQuery\n* `LegalDocument` - LegalDocument\n* `Organization` - Organization\n* `OrganizationDomain` - OrganizationDomain\n* `OrganizationMembership` - OrganizationMembership\n* `Role` - Role\n* `UserGroup` - UserGroup\n* `BatchExport` - BatchExport\n* `BatchImport` - BatchImport\n* `ExportedAsset` - ExportedAsset\n* `Integration` - Integration\n* `Annotation` - Annotation\n* `Tag` - Tag\n* `TaggedItem` - TaggedItem\n* `Subscription` - Subscription\n* `PersonalAPIKey` - PersonalAPIKey\n* `ProjectSecretAPIKey` - ProjectSecretAPIKey\n* `OAuthApplication` - OAuthApplication\n* `User` - User\n* `Action` - Action\n* `AlertConfiguration` - AlertConfiguration\n* `Threshold` - Threshold\n* `AlertSubscription` - AlertSubscription\n* `ExternalDataSource` - ExternalDataSource\n* `ExternalDataSchema` - ExternalDataSchema\n* `Evaluation` - Evaluation\n* `LLMTrace` - LLMTrace\n* `WebAnalyticsFilterPreset` - WebAnalyticsFilterPreset\n* `CustomerProfileConfig` - CustomerProfileConfig\n* `Log` - Log\n* `LogsAlertConfiguration` - LogsAlertConfiguration\n* `LogsExclusionRule` - LogsExclusionRule\n* `DashboardWidget` - DashboardWidget\n* `ProductTour` - ProductTour\n* `Ticket` - Ticket\n* `InstanceSetting` - InstanceSetting\n* `SignalReport` - SignalReport\n* `SignalScoutConfig` - SignalScoutConfig","enum": ["Cohort","FeatureFlag",@@ -84,6 +84,7 @@"ProductTour","Ticket","InstanceSetting",+ "SignalReport","SignalScoutConfig"],"type": "string"@@ -91,7 +92,7 @@"scopes": {"description": "Filter by multiple activity scopes, comma-separated. Values must be valid ActivityScope enum values. E.g. \"FeatureFlag,Insight\".","items": {- "description": "* `Cohort` - Cohort\n* `FeatureFlag` - FeatureFlag\n* `Person` - Person\n* `Group` - Group\n* `Insight` - Insight\n* `Plugin` - Plugin\n* `PluginConfig` - PluginConfig\n* `HogFunction` - HogFunction\n* `HogFlow` - HogFlow\n* `DataManagement` - DataManagement\n* `EventDefinition` - EventDefinition\n* `PropertyDefinition` - PropertyDefinition\n* `Notebook` - Notebook\n* `Endpoint` - Endpoint\n* `EndpointVersion` - EndpointVersion\n* `Dashboard` - Dashboard\n* `Replay` - Replay\n* `Experiment` - Experiment\n* `ExperimentHoldout` - ExperimentHoldout\n* `ExperimentSavedMetric` - ExperimentSavedMetric\n* `Survey` - Survey\n* `EarlyAccessFeature` - EarlyAccessFeature\n* `SessionRecordingPlaylist` - SessionRecordingPlaylist\n* `Comment` - Comment\n* `Team` - Team\n* `Project` - Project\n* `ErrorTrackingIssue` - ErrorTrackingIssue\n* `DataWarehouseSavedQuery` - DataWarehouseSavedQuery\n* `LegalDocument` - LegalDocument\n* `Organization` - Organization\n* `OrganizationDomain` - OrganizationDomain\n* `OrganizationMembership` - OrganizationMembership\n* `Role` - Role\n* `UserGroup` - UserGroup\n* `BatchExport` - BatchExport\n* `BatchImport` - BatchImport\n* `ExportedAsset` - ExportedAsset\n* `Integration` - Integration\n* `Annotation` - Annotation\n* `Tag` - Tag\n* `TaggedItem` - TaggedItem\n* `Subscription` - Subscription\n* `PersonalAPIKey` - PersonalAPIKey\n* `ProjectSecretAPIKey` - ProjectSecretAPIKey\n* `OAuthApplication` - OAuthApplication\n* `User` - User\n* `Action` - Action\n* `AlertConfiguration` - AlertConfiguration\n* `Threshold` - Threshold\n* `AlertSubscription` - AlertSubscription\n* `ExternalDataSource` - ExternalDataSource\n* `ExternalDataSchema` - ExternalDataSchema\n* `Evaluation` - Evaluation\n* `LLMTrace` - LLMTrace\n* `WebAnalyticsFilterPreset` - WebAnalyticsFilterPreset\n* `CustomerProfileConfig` - CustomerProfileConfig\n* `Log` - Log\n* `LogsAlertConfiguration` - LogsAlertConfiguration\n* `LogsExclusionRule` - LogsExclusionRule\n* `DashboardWidget` - DashboardWidget\n* `ProductTour` - ProductTour\n* `Ticket` - Ticket\n* `InstanceSetting` - InstanceSetting\n* `SignalScoutConfig` - SignalScoutConfig",+ "description": "* `Cohort` - Cohort\n* `FeatureFlag` - FeatureFlag\n* `Person` - Person\n* `Group` - Group\n* `Insight` - Insight\n* `Plugin` - Plugin\n* `PluginConfig` - PluginConfig\n* `HogFunction` - HogFunction\n* `HogFlow` - HogFlow\n* `DataManagement` - DataManagement\n* `EventDefinition` - EventDefinition\n* `PropertyDefinition` - PropertyDefinition\n* `Notebook` - Notebook\n* `Endpoint` - Endpoint\n* `EndpointVersion` - EndpointVersion\n* `Dashboard` - Dashboard\n* `Replay` - Replay\n* `Experiment` - Experiment\n* `ExperimentHoldout` - ExperimentHoldout\n* `ExperimentSavedMetric` - ExperimentSavedMetric\n* `Survey` - Survey\n* `EarlyAccessFeature` - EarlyAccessFeature\n* `SessionRecordingPlaylist` - SessionRecordingPlaylist\n* `Comment` - Comment\n* `Team` - Team\n* `Project` - Project\n* `ErrorTrackingIssue` - ErrorTrackingIssue\n* `DataWarehouseSavedQuery` - DataWarehouseSavedQuery\n* `LegalDocument` - LegalDocument\n* `Organization` - Organization\n* `OrganizationDomain` - OrganizationDomain\n* `OrganizationMembership` - OrganizationMembership\n* `Role` - Role\n* `UserGroup` - UserGroup\n* `BatchExport` - BatchExport\n* `BatchImport` - BatchImport\n* `ExportedAsset` - ExportedAsset\n* `Integration` - Integration\n* `Annotation` - Annotation\n* `Tag` - Tag\n* `TaggedItem` - TaggedItem\n* `Subscription` - Subscription\n* `PersonalAPIKey` - PersonalAPIKey\n* `ProjectSecretAPIKey` - ProjectSecretAPIKey\n* `OAuthApplication` - OAuthApplication\n* `User` - User\n* `Action` - Action\n* `AlertConfiguration` - AlertConfiguration\n* `Threshold` - Threshold\n* `AlertSubscription` - AlertSubscription\n* `ExternalDataSource` - ExternalDataSource\n* `ExternalDataSchema` - ExternalDataSchema\n* `Evaluation` - Evaluation\n* `LLMTrace` - LLMTrace\n* `WebAnalyticsFilterPreset` - WebAnalyticsFilterPreset\n* `CustomerProfileConfig` - CustomerProfileConfig\n* `Log` - Log\n* `LogsAlertConfiguration` - LogsAlertConfiguration\n* `LogsExclusionRule` - LogsExclusionRule\n* `DashboardWidget` - DashboardWidget\n* `ProductTour` - ProductTour\n* `Ticket` - Ticket\n* `InstanceSetting` - InstanceSetting\n* `SignalReport` - SignalReport\n* `SignalScoutConfig` - SignalScoutConfig","enum": ["Cohort","FeatureFlag",@@ -156,6 +157,7 @@"ProductTour","Ticket","InstanceSetting",+ "SignalReport","SignalScoutConfig"],"type": "string"