: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(customer-analytics): add ignored account state (#85913)
Arthur Moreira de Deusbc5e8f9287d9
diff --git a/ee/hogai/context/account/context.py b/ee/hogai/context/account/context.pyindex d028c96c4385..584beae2bf53 100644--- a/ee/hogai/context/account/context.py+++ b/ee/hogai/context/account/context.py@@ -73,6 +73,7 @@ class AccountContext:external_id=account.external_id or "Not set",created_at=account.created_at.isoformat() if account.created_at else "Unknown",churned_at=account.churned_at.isoformat() if account.churned_at else "Not churned",+ ignored_at=f"Ignored since {account.ignored_at.isoformat()}" if account.ignored_at else "Tracked",roles_section=self._roles_section(account),external_ids_section=self._external_ids_section(account),tags_section=self._tags_section(account),diff --git a/ee/hogai/context/account/prompts.py b/ee/hogai/context/account/prompts.pyindex c0284af4ca68..d7a80dde834a 100644--- a/ee/hogai/context/account/prompts.py+++ b/ee/hogai/context/account/prompts.py@@ -5,6 +5,7 @@ ACCOUNT_CONTEXT_TEMPLATE = """**External ID:** {external_id}**Created:** {created_at}**Churned:** {churned_at}+**Tracking:** {ignored_at}{roles_section}{external_ids_section}{tags_section}diff --git a/ee/hogai/context/account/test/test_context.py b/ee/hogai/context/account/test/test_context.pyindex b864ede8c717..b874ce61fed8 100644--- a/ee/hogai/context/account/test/test_context.py+++ b/ee/hogai/context/account/test/test_context.py@@ -98,6 +98,20 @@ class TestAccountContext(NonAtomicBaseTest):assert "**Churned:** Not churned" in active_resultassert "**Churned:** 2026-08-01T12:30:00+00:00" in churned_result+ async def test_format_includes_ignored_status(self):+ tracked = await self._create_account(name="Tracked")+ ignored = await self._create_account(name="Ignored", ignored_at=datetime(2026, 8, 2, 12, 30, tzinfo=UTC))++ tracked_result = await AccountContext(+ team=self.team, user=self.user, account_id=str(tracked.id)+ ).execute_and_format()+ ignored_result = await AccountContext(+ team=self.team, user=self.user, account_id=str(ignored.id)+ ).execute_and_format()++ assert "**Tracking:** Tracked" in tracked_result+ assert "**Tracking:** Ignored since 2026-08-02T12:30:00+00:00" in ignored_result+async def test_format_includes_relationships(self):account = await self._create_account(name="Acme Corp")definition = await AccountRelationshipDefinition.objects.unscoped().acreate(team=self.team, name="CSM")diff --git a/frontend/src/queries/schema.json b/frontend/src/queries/schema.jsonindex 3f17e15196ff..44a6e9407658 100644--- a/frontend/src/queries/schema.json+++ b/frontend/src/queries/schema.json@@ -87,6 +87,10 @@"$ref": "#/definitions/HogQLExpression","description": "Optional HogQL boolean expression AND-ed into the WHERE clause. Used by the overview tile click-to-filter affordance."},+ "includeIgnored": {+ "description": "Include ignored accounts. Ignored accounts are hidden by default.",+ "type": "boolean"+ },"kind": {"const": "AccountsQuery","type": "string"@@ -246,6 +250,7 @@"created_at","updated_at","churned_at",+ "ignored_at","stripe_customer_id","hubspot_deal_id","billing_id",@@ -558,6 +563,10 @@"description": "Include churned accounts. Churned accounts are hidden by default.","type": "boolean"},+ "includeIgnored": {+ "description": "Include ignored accounts. Ignored accounts are hidden by default.",+ "type": "boolean"+ },"kind": {"const": "AccountsTableQuery","type": "string"diff --git a/frontend/src/queries/schema/schema-general.ts b/frontend/src/queries/schema/schema-general.tsindex d33d1d279310..a6c3a8f57b46 100644--- a/frontend/src/queries/schema/schema-general.ts+++ b/frontend/src/queries/schema/schema-general.ts@@ -2808,6 +2808,8 @@ export interface AccountsQuery extends DataNode<AccountsQueryResponse> {allRolesUnassigned?: boolean/** Optional HogQL boolean expression AND-ed into the WHERE clause. Used by the overview tile click-to-filter affordance. */filterExpression?: HogQLExpression+ /** Include ignored accounts. Ignored accounts are hidden by default. */+ includeIgnored?: booleanorderBy?: string[]limit?: integeroffset?: integer@@ -2819,6 +2821,7 @@ export enum AccountsTableAccountField {CreatedAt = 'created_at',UpdatedAt = 'updated_at',ChurnedAt = 'churned_at',+ IgnoredAt = 'ignored_at',StripeCustomerId = 'stripe_customer_id',HubspotDealId = 'hubspot_deal_id',BillingId = 'billing_id',@@ -3042,6 +3045,8 @@ export interface AccountsTableQuery extends DataNode<AccountsTableQueryResponse>kind: NodeKind.AccountsTableQuery/** Include churned accounts. Churned accounts are hidden by default. */includeChurned?: boolean+ /** Include ignored accounts. Ignored accounts are hidden by default. */+ includeIgnored?: boolean/** Columns to load for each account. Account identity fields are always returned. */columns: AccountsTableColumn[]/** Filters are combined with AND. Values within tag and assignment filters use OR. */diff --git a/posthog/hogql/database/test/__snapshots__/test_database.ambr b/posthog/hogql/database/test/__snapshots__/test_database.ambrindex a8a965c9fa6a..902340da2bce 100644--- a/posthog/hogql/database/test/__snapshots__/test_database.ambr+++ b/posthog/hogql/database/test/__snapshots__/test_database.ambr@@ -2768,6 +2768,16 @@"table": null,"type": "datetime"},+ "ignored_at": {+ "chain": null,+ "fields": null,+ "hogql_value": "ignored_at",+ "id": null,+ "name": "ignored_at",+ "schema_valid": true,+ "table": null,+ "type": "datetime"+ },"tags": {"chain": null,"fields": [@@ -13047,6 +13057,16 @@"table": null,"type": "datetime"},+ "ignored_at": {+ "chain": null,+ "fields": null,+ "hogql_value": "ignored_at",+ "id": null,+ "name": "ignored_at",+ "schema_valid": true,+ "table": null,+ "type": "datetime"+ },"tags": {"chain": null,"fields": [diff --git a/posthog/schema.py b/posthog/schema.pyindex 94cb423925bb..315321ba7678 100644--- a/posthog/schema.py+++ b/posthog/schema.py@@ -24391,6 +24391,10 @@ class AccountsQuery(BaseModel):" the overview tile click-to-filter affordance."),)+ includeIgnored: bool | None = Field(+ default=None,+ description="Include ignored accounts. Ignored accounts are hidden by default.",+ )kind: Literal["AccountsQuery"] = "AccountsQuery"limit: int | None = Nonemetrics: list[str] | None = Field(@@ -24449,6 +24453,10 @@ class AccountsTableQuery(BaseModel):default=None,description="Include churned accounts. Churned accounts are hidden by default.",)+ includeIgnored: bool | None = Field(+ default=None,+ description="Include ignored accounts. Ignored accounts are hidden by default.",+ )kind: Literal["AccountsTableQuery"] = "AccountsTableQuery"limit: conint(ge=1) | None = Nonemetrics: (diff --git a/posthog/schema_enums.py b/posthog/schema_enums.pyindex 103c5559fa4c..7f8b710a9388 100644--- a/posthog/schema_enums.py+++ b/posthog/schema_enums.py@@ -36,6 +36,7 @@ class AccountsTableAccountField(StrEnum):CREATED_AT = "created_at"UPDATED_AT = "updated_at"CHURNED_AT = "churned_at"+ IGNORED_AT = "ignored_at"STRIPE_CUSTOMER_ID = "stripe_customer_id"HUBSPOT_DEAL_ID = "hubspot_deal_id"BILLING_ID = "billing_id"diff --git a/products/customer_analytics/backend/facade/api.py b/products/customer_analytics/backend/facade/api.pyindex 449cb527880a..4a2f4eeebff5 100644--- a/products/customer_analytics/backend/facade/api.py+++ b/products/customer_analytics/backend/facade/api.py@@ -228,6 +228,7 @@ def get_account_context_data(external_id=account.external_id,created_at=account.created_at,churned_at=account.churned_at,+ ignored_at=account.ignored_at,properties=_to_account_properties(account.properties),tags=_account_tags(account),notes=_account_notes(account),@@ -247,28 +248,42 @@ def _resolve_account(team_id: int, account_id: str | None = None, external_id: sdef search_accounts(- team_id: int, query: str, user_access_control: "UserAccessControl", limit: int+ team_id: int,+ query: str,+ user_access_control: "UserAccessControl",+ limit: int,+ *,+ include_ignored: bool = False,) -> tuple[list[contracts.AccountRef], int]:"""Accounts matching `query` by name or external id, access-filtered for the caller.Returns `(rows, total_count)` where `total_count` is the pre-limit match count."""- queryset = _accounts_queryset(team_id, user_access_control).filter(- Q(name__icontains=query) | Q(external_id__icontains=query)- )+ queryset = _accounts_queryset(team_id, user_access_control)+ if not include_ignored:+ queryset = queryset.filter(ignored_at__isnull=True)+ queryset = queryset.filter(Q(name__icontains=query) | Q(external_id__icontains=query))total_count = queryset.count()rows = list(queryset.order_by("name")[:limit].values("id", "name", "external_id"))return [_to_account_ref(row) for row in rows], total_countdef list_accounts(- team_id: int, offset: int, limit: int, user_access_control: "UserAccessControl"+ team_id: int,+ offset: int,+ limit: int,+ user_access_control: "UserAccessControl",+ *,+ include_ignored: bool = False,) -> tuple[list[contracts.AccountRef], int]:"""Accounts for the team, newest first, access-filtered for the caller.Returns `(rows, total_count)` where `total_count` is the full (unpaginated) count."""- queryset = _accounts_queryset(team_id, user_access_control).order_by("-created_at")+ queryset = _accounts_queryset(team_id, user_access_control)+ if not include_ignored:+ queryset = queryset.filter(ignored_at__isnull=True)+ queryset = queryset.order_by("-created_at")total_count = queryset.count()rows = list(queryset[offset : offset + limit].values("id", "name", "external_id"))return [_to_account_ref(row) for row in rows], total_count@@ -403,6 +418,7 @@ def _to_external_account(account: Account) -> contracts.ExternalAccount:external_id=account.external_id,name=account.name,churned_at=account.churned_at,+ ignored_at=account.ignored_at,properties=account.properties.model_dump(mode="json"),tags=sorted(account.tagged_items.values_list("tag__name", flat=True)),relationships=relationships,@@ -525,6 +541,7 @@ def list_external_accounts(cursor: str | None = None,limit: int = 100,assigned_only: bool = False,+ include_ignored: bool = False,) -> contracts.ExternalAccountListPage:"""Page through the team's accounts for the external API, ordered by id.@@ -542,9 +559,10 @@ def list_external_accounts(user__isnull=False,user__organization_membership__organization_id=organization_id,)- queryset = (- Account.objects.for_team(team_id).filter(external_id__isnull=False).exclude(external_id="").order_by("id")- )+ queryset = Account.objects.for_team(team_id).filter(external_id__isnull=False).exclude(external_id="")+ if not include_ignored:+ queryset = queryset.filter(ignored_at__isnull=True)+ queryset = queryset.order_by("id")if assigned_only:queryset = queryset.filter(Exists(active_relationships.filter(account=OuterRef("pk"))))if cursor:@@ -576,6 +594,7 @@ def list_external_accounts(external_id=cast(str, account.external_id),name=account.name,churned_at=account.churned_at,+ ignored_at=account.ignored_at,relationships=relationships_by_account.get(account.id, {}),)for account in accounts@@ -2475,6 +2494,7 @@ def _to_account_view(account: Account) -> contracts.AccountView:notebooks=_account_view_notebooks(account),slack_summary_cadence=account.slack_summary_cadence,churned_at=account.churned_at,+ ignored_at=account.ignored_at,created_at=account.created_at,created_by=account.created_by_id,updated_at=account.updated_at,@@ -2505,6 +2525,8 @@ def _account_table_field_values(values[field] = account.updated_at.isoformat() if account.updated_at else Nonecase contracts.AccountTableField.CHURNED_AT:values[field] = account.churned_at.isoformat() if account.churned_at else None+ case contracts.AccountTableField.IGNORED_AT:+ values[field] = account.ignored_at.isoformat() if account.ignored_at else Nonecase contracts.AccountTableField.STRIPE_CUSTOMER_ID:values[field] = properties.stripe_customer_idcase contracts.AccountTableField.HUBSPOT_DEAL_ID:@@ -2769,6 +2791,7 @@ def _apply_account_table_sort(contracts.AccountTableField.CREATED_AT: "created_at",contracts.AccountTableField.UPDATED_AT: "updated_at",contracts.AccountTableField.CHURNED_AT: "churned_at",+ contracts.AccountTableField.IGNORED_AT: "ignored_at",}if direct_field := direct_fields.get(sort.account_field):queryset = queryset.annotate(_account_table_sort=F(direct_field))@@ -2852,6 +2875,7 @@ def query_accounts_metrics(filters: tuple[contracts.AccountTableFilter, ...],metrics: tuple[contracts.AccountTableMetric, ...],include_churned: bool = False,+ include_ignored: bool = False,) -> list[float | int | None]:definition_ids = frozenset(metric.definition_id@@ -2871,6 +2895,8 @@ def query_accounts_metrics(accounts = _accounts_queryset(team_id, user_access_control)if not include_churned:accounts = accounts.filter(churned_at__isnull=True)+ if not include_ignored:+ accounts = accounts.filter(ignored_at__isnull=True)accounts = _apply_account_table_filters(accounts,team_id=team_id,@@ -2937,6 +2963,7 @@ def query_accounts_table(offset: int,limit: int,include_churned: bool = False,+ include_ignored: bool = False,) -> contracts.AccountTablePage:custom_property_display_types = _validate_account_table_definitions(team_id=team_id,@@ -2948,6 +2975,8 @@ def query_accounts_table(queryset = _accounts_queryset(team_id, user_access_control)if not include_churned:queryset = queryset.filter(churned_at__isnull=True)+ if not include_ignored:+ queryset = queryset.filter(ignored_at__isnull=True)queryset = _apply_account_table_filters(queryset,team_id=team_id,@@ -3073,6 +3102,7 @@ def list_accounts_for_view(tags: list[str] | None = None,all_roles_unassigned: bool = False,include_churned: bool = False,+ include_ignored: bool = False,ordering: str | None = None,) -> tuple[list[contracts.AccountView], int]:"""The accounts list endpoint, behind the facade: team + object-level access filtering,@@ -3086,6 +3116,8 @@ def list_accounts_for_view(if not include_churned:queryset = queryset.filter(churned_at__isnull=True)+ if not include_ignored:+ queryset = queryset.filter(ignored_at__isnull=True)if search:queryset = queryset.filter(Q(name__icontains=search) | Q(external_id__icontains=search))diff --git a/products/customer_analytics/backend/facade/contracts.py b/products/customer_analytics/backend/facade/contracts.pyindex 363c5f466d1c..b2dbb0387dc3 100644--- a/products/customer_analytics/backend/facade/contracts.py+++ b/products/customer_analytics/backend/facade/contracts.py@@ -192,6 +192,7 @@ class AccountTableField(str, Enum):CREATED_AT = "created_at"UPDATED_AT = "updated_at"CHURNED_AT = "churned_at"+ IGNORED_AT = "ignored_at"STRIPE_CUSTOMER_ID = "stripe_customer_id"HUBSPOT_DEAL_ID = "hubspot_deal_id"BILLING_ID = "billing_id"@@ -378,6 +379,7 @@ class AccountContextData:external_id: str | Nonecreated_at: datetime | Nonechurned_at: datetime | None+ ignored_at: datetime | Noneproperties: AccountPropertiestags: list[str] = field(default_factory=list)notes: list[AccountNote] = field(default_factory=list)@@ -391,7 +393,7 @@ class ExternalAccount:``properties`` is carried as a plain dict set to exactly``account.properties.model_dump(mode="json")`` — a validated pydanticpass-through, not a re-typed projection. ``id`` is the stringified UUID,- and ``churned_at`` carries the account lifecycle timestamp.+ while ``churned_at`` and ``ignored_at`` carry lifecycle timestamps.``custom_properties`` contains every team-defined custom property definitionkeyed by definition name, with the account's current scalar value (or ``None``@@ -403,6 +405,7 @@ class ExternalAccount:external_id: str | Nonename: strchurned_at: datetime | None+ ignored_at: datetime | Noneproperties: dicttags: list[str] = field(default_factory=list)relationships: dict[str, list[dict]] = field(default_factory=dict)@@ -431,6 +434,7 @@ class ExternalAccountListItem:external_id: strname: strchurned_at: datetime | None+ ignored_at: datetime | Nonerelationships: dict[str, list[ExternalAccountAssignment]] = field(default_factory=dict)@@ -528,6 +532,7 @@ class AccountView:notebooks: list[str] = field(default_factory=list)slack_summary_cadence: str | None = Nonechurned_at: datetime | None = None+ ignored_at: datetime | None = Nonecreated_at: datetime | None = Nonecreated_by: int | None = Noneupdated_at: datetime | None = Nonediff --git a/products/customer_analytics/backend/facade/hogql.py b/products/customer_analytics/backend/facade/hogql.pyindex 560f0ce9ab59..ff57ea5a6b2f 100644--- a/products/customer_analytics/backend/facade/hogql.py+++ b/products/customer_analytics/backend/facade/hogql.py@@ -674,6 +674,9 @@ accounts: PostgresTable = PostgresTable("churned_at": DateTimeDatabaseField(name="churned_at", nullable=True, description="When the account churned; NULL if it has not churned."),+ "ignored_at": DateTimeDatabaseField(+ name="ignored_at", nullable=True, description="When Track Rules ignored the account; NULL if tracked."+ ),"tags": account_tags_lazy_join,"notebooks": account_notebooks_lazy_join,"custom_properties": account_custom_properties_lazy_join,diff --git a/products/customer_analytics/backend/hogql_queries/account_audience.py b/products/customer_analytics/backend/hogql_queries/account_audience.pyindex ac3b3c11f0b1..85d3e38b9da1 100644--- a/products/customer_analytics/backend/hogql_queries/account_audience.py+++ b/products/customer_analytics/backend/hogql_queries/account_audience.py@@ -93,7 +93,10 @@ def count_accounts_for_audience(team: Team, filters: AccountAudienceFilters) ->def _where_exprs(team: Team, filters: AccountAudienceFilters) -> list[ast.Expr]:- where: list[ast.Expr] = [parse_expr("isNotNull(accounts.external_id) AND accounts.external_id != ''")]+ where: list[ast.Expr] = [+ parse_expr("isNotNull(accounts.external_id) AND accounts.external_id != ''"),+ parse_expr("isNull(accounts.ignored_at)"),+ ]if filters.tag_names:subquery = parse_select(diff --git a/products/customer_analytics/backend/hogql_queries/accounts_query_runner.py b/products/customer_analytics/backend/hogql_queries/accounts_query_runner.pyindex f41063de3e46..239b880fe023 100644--- a/products/customer_analytics/backend/hogql_queries/accounts_query_runner.py+++ b/products/customer_analytics/backend/hogql_queries/accounts_query_runner.py@@ -128,6 +128,9 @@ class AccountsQueryRunner(AnalyticsQueryRunner[AccountsQueryResponse]):def _build_where_exprs(self) -> list[ast.Expr]:where_exprs: list[ast.Expr] = []+ if not self.query.includeIgnored:+ where_exprs.append(parse_expr("isNull(accounts.ignored_at)"))+if self.query.search and self.query.search.strip():pattern = f"%{self.query.search.strip()}%"where_exprs.append(diff --git a/products/customer_analytics/backend/hogql_queries/accounts_table_query_runner.py b/products/customer_analytics/backend/hogql_queries/accounts_table_query_runner.pyindex 06876f5407ac..8e6a6778b392 100644--- a/products/customer_analytics/backend/hogql_queries/accounts_table_query_runner.py+++ b/products/customer_analytics/backend/hogql_queries/accounts_table_query_runner.py@@ -233,6 +233,7 @@ class AccountsTableQueryRunner(AnalyticsQueryRunner[AccountsTableQueryResponse])filters=filters,metrics=self._metrics(),include_churned=bool(self.query.includeChurned),+ include_ignored=bool(self.query.includeIgnored),)return AccountsTableQueryResponse(results=[],@@ -250,6 +251,7 @@ class AccountsTableQueryRunner(AnalyticsQueryRunner[AccountsTableQueryResponse])offset=offset,limit=limit,include_churned=bool(self.query.includeChurned),+ include_ignored=bool(self.query.includeIgnored),)except api.InvalidAccountTableColumn as error:raise ValidationError(str(error)) from errordiff --git a/products/customer_analytics/backend/hogql_queries/test/test_account_audience.py b/products/customer_analytics/backend/hogql_queries/test/test_account_audience.pyindex 891e72b4e781..309eb191e6c8 100644--- a/products/customer_analytics/backend/hogql_queries/test/test_account_audience.py+++ b/products/customer_analytics/backend/hogql_queries/test/test_account_audience.py@@ -54,6 +54,18 @@ class TestAccountAudience(ClickhouseTestMixin, NonAtomicBaseTest):assert self._list() == ["mine"]+ def test_excludes_ignored_accounts_from_list_and_count(self):+ create_account(team_id=self.team.id, name="Tracked", external_id="tracked")+ create_account(+ team_id=self.team.id,+ name="Ignored",+ external_id="ignored",+ ignored_at=datetime(2026, 1, 1, tzinfo=UTC),+ )++ assert self._list() == ["tracked"]+ assert count_accounts_for_audience(self.team, AccountAudienceFilters()) == 1+def test_tag_filter_narrows(self):tagged = create_account(team_id=self.team.id, name="Tagged", external_id="tagged")create_account(team_id=self.team.id, name="Untagged", external_id="untagged")diff --git a/products/customer_analytics/backend/hogql_queries/test/test_accounts_query_runner.py b/products/customer_analytics/backend/hogql_queries/test/test_accounts_query_runner.pyindex e1c9a9d1f3c5..1cc6ae316591 100644--- a/products/customer_analytics/backend/hogql_queries/test/test_accounts_query_runner.py+++ b/products/customer_analytics/backend/hogql_queries/test/test_accounts_query_runner.py@@ -83,6 +83,13 @@ class TestAccountsQueryRunner(ClickhouseTestMixin, NonAtomicBaseTest):self.assertEqual(len(self._ids(search="")), 2)self.assertEqual(len(self._ids(search=" ")), 2)+ def test_ignored_accounts_are_hidden_by_default(self):+ create_account(team_id=self.team.id, name="Tracked")+ create_account(team_id=self.team.id, name="Ignored", ignored_at=timezone.now())++ self.assertEqual(self._names(), ["Tracked"])+ self.assertEqual(set(self._names(includeIgnored=True)), {"Tracked", "Ignored"})+def test_search_respects_team_isolation(self):other_team = Team.objects.create(organization=self.organization)create_account(team_id=other_team.id, name="Acme")diff --git a/products/customer_analytics/backend/hogql_queries/test/test_accounts_table_query_runner.py b/products/customer_analytics/backend/hogql_queries/test/test_accounts_table_query_runner.pyindex 8cf0614e0926..5e0dca92940a 100644--- a/products/customer_analytics/backend/hogql_queries/test/test_accounts_table_query_runner.py+++ b/products/customer_analytics/backend/hogql_queries/test/test_accounts_table_query_runner.py@@ -80,6 +80,7 @@ class TestAccountsTableQueryRunner(BaseTest):name="Acme",external_id="acme-1",churned_at=datetime(2026, 1, 1, 10, 0, tzinfo=UTC),+ ignored_at=datetime(2026, 1, 2, 10, 0, tzinfo=UTC),_properties={"stripe_customer_id": "cus_123"},)@@ -134,6 +135,7 @@ class TestAccountsTableQueryRunner(BaseTest):columns=[AccountsTableAccountFieldColumn(field=AccountsTableAccountField.STRIPE_CUSTOMER_ID),AccountsTableAccountFieldColumn(field=AccountsTableAccountField.CHURNED_AT),+ AccountsTableAccountFieldColumn(field=AccountsTableAccountField.IGNORED_AT),AccountsTableTagsColumn(),AccountsTableNoteCountColumn(),AccountsTableRelationshipColumn(definitionId=str(relationship_definition.id)),@@ -146,6 +148,7 @@ class TestAccountsTableQueryRunner(BaseTest):],filters=[],includeChurned=True,+ includeIgnored=True,))@@ -154,6 +157,7 @@ class TestAccountsTableQueryRunner(BaseTest):assert full_row.accountFields == {"stripe_customer_id": "cus_123","churned_at": "2026-01-01T10:00:00+00:00",+ "ignored_at": "2026-01-02T10:00:00+00:00",}assert full_row.tags == ["enterprise", "priority"]assert full_row.noteCount == 1@@ -165,7 +169,7 @@ class TestAccountsTableQueryRunner(BaseTest):assert [point.value for point in full_row.customPropertyHistory[str(numeric_definition.id)]] == [10.0, 20.0]empty_row = rows[str(empty_account.id)]- assert empty_row.accountFields == {"stripe_customer_id": None, "churned_at": None}+ assert empty_row.accountFields == {"stripe_customer_id": None, "churned_at": None, "ignored_at": None}assert empty_row.tags == []assert empty_row.noteCount == 0assert empty_row.relationships == {str(relationship_definition.id): []}@@ -200,6 +204,31 @@ class TestAccountsTableQueryRunner(BaseTest):assert sorted(row.name for row in rows) == expected_namesassert metrics == [expected_count]+ @parameterized.expand(+ [+ ("default", False, ["Tracked"], 1),+ ("include_ignored", True, ["Ignored", "Tracked"], 2),+ ]+ )+ def test_ignored_account_visibility(+ self, _name: str, include_ignored: bool, expected_names: list[str], expected_count: int+ ) -> None:+ create_account(team_id=self.team.id, name="Tracked")+ create_account(team_id=self.team.id, name="Ignored", ignored_at=datetime(2026, 1, 1, tzinfo=UTC))++ rows = self._run(AccountsTableQuery(columns=[], filters=[], includeIgnored=include_ignored)).results+ metrics = self._run(+ AccountsTableQuery(+ columns=[],+ filters=[],+ metrics=[AccountsTableCountMetric()],+ includeIgnored=include_ignored,+ )+ ).metricsResults++ assert sorted(row.name for row in rows) == expected_names+ assert metrics == [expected_count]+def test_calculates_typed_metrics_against_the_filtered_account_set(self) -> None:definition = create_custom_property_definition(team_id=self.team.id,diff --git a/products/customer_analytics/backend/migrations/0037_account_ignored_at.py b/products/customer_analytics/backend/migrations/0037_account_ignored_at.pynew file mode 100644index 000000000000..1cf61043f6ae--- /dev/null+++ b/products/customer_analytics/backend/migrations/0037_account_ignored_at.py@@ -0,0 +1,15 @@+from django.db import migrations, models+++class Migration(migrations.Migration):+ dependencies = [+ ("customer_analytics", "0036_custompropertysyncrun_saved_query_id"),+ ]++ operations = [+ migrations.AddField(+ model_name="account",+ name="ignored_at",+ field=models.DateTimeField(blank=True, null=True),+ ),+ ]diff --git a/products/customer_analytics/backend/migrations/max_migration.txt b/products/customer_analytics/backend/migrations/max_migration.txtindex 5cc3a0695b0b..9d1d6d897dba 100644--- a/products/customer_analytics/backend/migrations/max_migration.txt+++ b/products/customer_analytics/backend/migrations/max_migration.txt@@ -1 +1 @@-0036_custompropertysyncrun_saved_query_id+0037_account_ignored_atdiff --git a/products/customer_analytics/backend/models/account.py b/products/customer_analytics/backend/models/account.pyindex 9f1163f25727..8ba473b56d7c 100644--- a/products/customer_analytics/backend/models/account.py+++ b/products/customer_analytics/backend/models/account.py@@ -63,6 +63,7 @@ class Account(TeamScopedRootMixin, UUIDModel, CreatedMetaFields, UpdatedMetaFielexternal_id = models.CharField(max_length=400, null=True, blank=True)name = models.CharField(max_length=400)churned_at = models.DateTimeField(null=True, blank=True)+ ignored_at = models.DateTimeField(null=True, blank=True)_properties = JSONField(default=dict, db_column="properties")# NULL = periodic Slack channel summaries off for this account.slack_summary_cadence = models.CharField(max_length=10, choices=SlackSummaryCadence.choices, null=True, blank=True)diff --git a/products/customer_analytics/backend/presentation/views/external.py b/products/customer_analytics/backend/presentation/views/external.pyindex ec33cde8bc5f..78acef433b94 100644--- a/products/customer_analytics/backend/presentation/views/external.py+++ b/products/customer_analytics/backend/presentation/views/external.py@@ -191,6 +191,7 @@ def _external_account_body(account: contracts.ExternalAccount) -> dict[str, Any]"external_id": account.external_id,"name": account.name,"churned_at": account.churned_at,+ "ignored_at": account.ignored_at,"properties": account.properties,"tags": account.tags,"relationships": account.relationships,@@ -301,6 +302,10 @@ class ExternalAccountSerializer(serializers.Serializer):allow_null=True,help_text="When the account churned, or null if it has not churned.",)+ ignored_at = serializers.DateTimeField(+ allow_null=True,+ help_text="When Track Rules ignored the account, or null if it is tracked.",+ )properties = serializers.DictField(child=serializers.JSONField(help_text="Property value: a string or null."),help_text="Typed account properties: external-system ids. Role assignments live under `relationships`.",@@ -456,6 +461,11 @@ class ExternalAccountListQuerySerializer(serializers.Serializer):"to a current member of the project's organization."),)+ include_ignored = serializers.BooleanField(+ required=False,+ default=False,+ help_text="Include ignored accounts. Ignored accounts are hidden by default.",+ )def validate_limit(self, value: int) -> int:return max(1, min(value, EXTERNAL_ACCOUNT_LIST_MAX_LIMIT))@@ -486,6 +496,10 @@ class ExternalAccountListItemSerializer(serializers.Serializer):allow_null=True,help_text="When the account churned, or null if it has not churned.",)+ ignored_at = serializers.DateTimeField(+ allow_null=True,+ help_text="When Track Rules ignored the account, or null if it is tracked.",+ )relationships = serializers.DictField(child=ExternalAccountListAssignmentSerializer(many=True),help_text=(@@ -554,8 +568,9 @@ class ExternalAccountListView(APIView):},summary="List external customer analytics accounts",description=(- "List accounts with external IDs, churn timestamps, and active relationship assignments. "- "Requires a project secret API key with the `account:read` scope."+ "List tracked accounts with external IDs, lifecycle timestamps, and active relationship assignments. "+ "Set `include_ignored=true` to include ignored accounts. Requires a project secret API key with the "+ "`account:read` scope."),)def get(self, request: Request) -> Response:@@ -576,6 +591,7 @@ class ExternalAccountListView(APIView):cursor=query_data.get("cursor"),limit=query_data["limit"],assigned_only=query_data["assigned_only"],+ include_ignored=query_data["include_ignored"],)return Response(ExternalAccountListPageSerializer(page).data)diff --git a/products/customer_analytics/backend/presentation/views/serializers.py b/products/customer_analytics/backend/presentation/views/serializers.pyindex f1c994233771..c7071c05ae69 100644--- a/products/customer_analytics/backend/presentation/views/serializers.py+++ b/products/customer_analytics/backend/presentation/views/serializers.py@@ -606,6 +606,11 @@ class AccountSerializer(DataclassSerializer):allow_null=True,help_text="When the account churned. Null means the account has not churned.",)+ ignored_at = serializers.DateTimeField(+ read_only=True,+ allow_null=True,+ help_text="When Track Rules ignored the account. Null means the account is tracked.",+ )created_at = serializers.DateTimeField(read_only=True)created_by = serializers.IntegerField(read_only=True, allow_null=True)updated_at = serializers.DateTimeField(read_only=True, allow_null=True)@@ -622,6 +627,7 @@ class AccountSerializer(DataclassSerializer):"notebooks","slack_summary_cadence","churned_at",+ "ignored_at","created_at","created_by","updated_at",diff --git a/products/customer_analytics/backend/presentation/views/views.py b/products/customer_analytics/backend/presentation/views/views.pyindex 3d80d0e5815d..6df68a9ab2e5 100644--- a/products/customer_analytics/backend/presentation/views/views.py+++ b/products/customer_analytics/backend/presentation/views/views.py@@ -1234,6 +1234,14 @@ class AccountViewSet(default=False,description="Include churned accounts. Churned accounts are hidden by default.",),+ OpenApiParameter(+ name="include_ignored",+ type=OpenApiTypes.BOOL,+ location=OpenApiParameter.QUERY,+ required=False,+ default=False,+ description="Include ignored accounts. Ignored accounts are hidden by default.",+ ),OpenApiParameter(name="ordering",type=OpenApiTypes.STR,@@ -1259,6 +1267,7 @@ class AccountViewSet(tags=tags,all_roles_unassigned=request.query_params.get("all_roles_unassigned", "").lower() == "true",include_churned=request.query_params.get("include_churned", "").lower() == "true",+ include_ignored=request.query_params.get("include_ignored", "").lower() == "true",ordering=ordering,),AccountSerializer,diff --git a/products/customer_analytics/backend/test/test_external.py b/products/customer_analytics/backend/test/test_external.pyindex e5eefbfcd1ec..01cb6ee465d9 100644--- a/products/customer_analytics/backend/test/test_external.py+++ b/products/customer_analytics/backend/test/test_external.py@@ -131,6 +131,7 @@ class TestExternalAccountAPI(APIBaseTest):self.assertEqual(data["external_id"], "acme-1")self.assertEqual(data["name"], "Acme Corp")self.assertEqual(data["churned_at"], "2026-08-01T12:30:00Z")+ self.assertIsNone(data["ignored_at"])self.assertEqual(data["relationships"], {})def test_get_account_returns_active_relationships(self):diff --git a/products/customer_analytics/backend/test/test_external_list.py b/products/customer_analytics/backend/test/test_external_list.pyindex 28e5ba865cda..9170d2abb13a 100644--- a/products/customer_analytics/backend/test/test_external_list.py+++ b/products/customer_analytics/backend/test/test_external_list.py@@ -190,6 +190,7 @@ class TestExternalAccountListAPI(APIBaseTest):self.assertEqual(row["external_id"], "org-1")self.assertEqual(row["name"], "Acme")self.assertEqual(row["churned_at"], "2026-08-01T12:30:00Z")+ self.assertIsNone(row["ignored_at"])self.assertEqual(row["relationships"],{@@ -235,6 +236,7 @@ class TestExternalAccountListAPI(APIBaseTest):"external_id": "org-1","name": "Acme","churned_at": None,+ "ignored_at": None,"relationships": {},}],@@ -253,6 +255,29 @@ class TestExternalAccountListAPI(APIBaseTest):row = response.json()["results"][0]self.assertEqual(row["relationships"], {})+ def test_excludes_ignored_accounts_by_default(self):+ create_account(team_id=self.team.id, name="Tracked", external_id="tracked")+ create_account(+ team_id=self.team.id,+ name="Ignored",+ external_id="ignored",+ ignored_at=datetime(2026, 8, 2, 12, 30, tzinfo=UTC),+ )++ default_response = self._get()+ included_response = self._get({"include_ignored": "true"})++ self.assertEqual(+ [row["name"] for row in default_response.json()["results"]],+ ["Tracked"],+ )+ self.assertEqual(+ {row["name"] for row in included_response.json()["results"]},+ {"Tracked", "Ignored"},+ )+ ignored_row = next(row for row in included_response.json()["results"] if row["name"] == "Ignored")+ self.assertEqual(ignored_row["ignored_at"], "2026-08-02T12:30:00Z")+def test_excludes_accounts_without_external_id(self):no_external = create_account(team_id=self.team.id, name="No external id")self._assign(no_external, self.user)diff --git a/products/customer_analytics/backend/test/test_facade.py b/products/customer_analytics/backend/test/test_facade.pyindex b2b549a11f53..776a212711b2 100644--- a/products/customer_analytics/backend/test/test_facade.py+++ b/products/customer_analytics/backend/test/test_facade.py@@ -8,6 +8,7 @@ from unittest.mock import MagicMock, patchfrom django.apps import appsfrom django.db import modelsfrom django.test import SimpleTestCase+from django.utils import timezonefrom parameterized import parameterized@@ -90,7 +91,8 @@ class TestCustomerAnalyticsFacade(BaseTest):assert facade.get_account_ref_by_slack_channel_id(self.team.id, "C123") is Nonedef test_get_account_context_data_bundles_tags_and_notes(self):- account = create_account(team_id=self.team.id, name="Acme Corp", external_id="acme-123")+ ignored_at = timezone.now()+ account = create_account(team_id=self.team.id, name="Acme Corp", external_id="acme-123", ignored_at=ignored_at)tag = Tag.objects.create(name="enterprise", team_id=self.team.id)TaggedItem.objects.create(tag=tag, account=account)notebook = Notebook.objects.create(@@ -107,6 +109,7 @@ class TestCustomerAnalyticsFacade(BaseTest):assert isinstance(data, contracts.AccountContextData)assert data.name == "Acme Corp"+ assert data.ignored_at == ignored_atassert data.tags == ["enterprise"]assert data.notes == [contracts.AccountNote(title="Q3 recap", short_id=notebook.short_id)]@@ -146,6 +149,18 @@ class TestCustomerAnalyticsFacade(BaseTest):assert isinstance(rows[0], contracts.AccountRef)assert isinstance(rows[0].id, str)+ def test_search_accounts_excludes_ignored_by_default(self):+ create_account(team_id=self.team.id, name="Acme Tracked")+ create_account(team_id=self.team.id, name="Acme Ignored", ignored_at=timezone.now())++ default_rows, default_count = facade.search_accounts(self.team.id, "acme", self._uac(), limit=10)+ all_rows, all_count = facade.search_accounts(self.team.id, "acme", self._uac(), limit=10, include_ignored=True)++ assert [row.name for row in default_rows] == ["Acme Tracked"]+ assert default_count == 1+ assert {row.name for row in all_rows} == {"Acme Tracked", "Acme Ignored"}+ assert all_count == 2+def test_list_accounts_newest_first_with_count(self):create_account(team_id=self.team.id, name="First")create_account(team_id=self.team.id, name="Second")@@ -155,6 +170,22 @@ class TestCustomerAnalyticsFacade(BaseTest):assert count == 2assert {r.name for r in rows} == {"First", "Second"}+ def test_list_accounts_excludes_ignored_by_default(self):+ create_account(team_id=self.team.id, name="Tracked")+ create_account(team_id=self.team.id, name="Ignored", ignored_at=timezone.now())++ default_rows, default_count = facade.list_accounts(+ self.team.id, offset=0, limit=10, user_access_control=self._uac()+ )+ all_rows, all_count = facade.list_accounts(+ self.team.id, offset=0, limit=10, user_access_control=self._uac(), include_ignored=True+ )++ assert [row.name for row in default_rows] == ["Tracked"]+ assert default_count == 1+ assert {row.name for row in all_rows} == {"Tracked", "Ignored"}+ assert all_count == 2+# -- External account API (CDP worker) --------------------------------def test_get_external_account_returns_verbatim_shape(self):@@ -175,6 +206,7 @@ class TestCustomerAnalyticsFacade(BaseTest):assert result.id == str(account.id)assert result.external_id == "acme-1"assert result.name == "Acme Corp"+ assert result.ignored_at is Noneassert result.tags == ["enterprise"]assert result.properties == account.properties.model_dump(mode="json")assert result.properties["stripe_customer_id"] == "cus_1"diff --git a/products/customer_analytics/backend/test/test_views.py b/products/customer_analytics/backend/test/test_views.pyindex c6e1dd684dac..c8864e69d4e8 100644--- a/products/customer_analytics/backend/test/test_views.py+++ b/products/customer_analytics/backend/test/test_views.py@@ -470,6 +470,7 @@ class TestAccountViewSet(APIBaseTest):self.assertIsNone(data["external_id"])self.assertEqual(data["properties"], {})self.assertIsNone(data["churned_at"])+ self.assertIsNone(data["ignored_at"])def test_create_with_churned_at(self):response = self.client.post(@@ -514,10 +515,27 @@ class TestAccountViewSet(APIBaseTest):self.assertEqual(status.HTTP_200_OK, response.status_code)self.assertEqual({account["name"] for account in response.json()["results"]}, expected_names)+ @parameterized.expand(+ [+ ("default", {}, {"Tracked"}),+ ("include_ignored", {"include_ignored": "true"}, {"Tracked", "Ignored"}),+ ]+ )+ def test_list_ignored_visibility(self, _name: str, params: dict[str, str], expected_names: set[str]) -> None:+ self._create_account(name="Tracked")+ self._create_account(name="Ignored", ignored_at=timezone.now())++ response = self.client.get(self.endpoint_base, data=params)++ self.assertEqual(status.HTTP_200_OK, response.status_code)+ self.assertEqual({account["name"] for account in response.json()["results"]}, expected_names)+def test_retrieve(self):+ ignored_at = timezone.now()account = self._create_account(external_id="ext-1",properties={"stripe_customer_id": "cus_123"},+ ignored_at=ignored_at,)response = self.client.get(f"{self.endpoint_base}{account.id}/")@@ -528,6 +546,7 @@ class TestAccountViewSet(APIBaseTest):self.assertEqual(data["name"], "Acme Corp")self.assertEqual(data["external_id"], "ext-1")self.assertEqual(data["properties"]["stripe_customer_id"], "cus_123")+ self.assertEqual(data["ignored_at"], ignored_at.isoformat().replace("+00:00", "Z"))def test_retrieve_hides_retired_role_keys_in_stored_rows(self):# Rows not yet cleaned by backfill_account_relationships must not leak role keys:@@ -557,6 +576,16 @@ class TestAccountViewSet(APIBaseTest):self.assertEqual(account.name, "Renamed")self.assertEqual(account.properties.sfdc_id, "001xx")+ def test_update_does_not_accept_ignored_at(self):+ ignored_at = timezone.now()+ account = self._create_account(ignored_at=ignored_at)++ response = self.client.patch(f"{self.endpoint_base}{account.id}/", {"ignored_at": None}, format="json")++ self.assertEqual(status.HTTP_200_OK, response.status_code, response.json())+ account.refresh_from_db()+ self.assertEqual(account.ignored_at, ignored_at)+def test_update_and_clear_churned_at(self):account = self._create_account()url = f"{self.endpoint_base}{account.id}/"diff --git a/products/customer_analytics/frontend/components/Accounts/AGENTS.md b/products/customer_analytics/frontend/components/Accounts/AGENTS.mdindex 770a961f41b9..91a6ac9e97cc 100644--- a/products/customer_analytics/frontend/components/Accounts/AGENTS.md+++ b/products/customer_analytics/frontend/components/Accounts/AGENTS.md@@ -63,6 +63,8 @@ AccountsTabContent ── binds dataNodeLogic(ACCOUNTS_TABLE_DATA_NODE_KEY, acc`accountsLogic.accountsTableQueryPlan` translates selected columns, filters, custom-property display windows, tile filters, and server-side sort into a typed `AccountsTableQuery`. Unsupported saved columns and filters are omitted instead of switching execution engines. `AccountsTable` reads each keyed `AccountsTableRow` directly through `accountsTableCell`; there is no positional-row compatibility transform.+Ignored accounts (`ignored_at IS NOT NULL`) are excluded from list rows and overview metrics by default. A direct account route sets `includeIgnored` as well as `includeChurned`, so an ignored account still opens by id. `ignored_at` is a selectable account field, but the Accounts UI does not write it.+Overview tiles run as a separate metrics-only `AccountsTableQuery` (`metrics` set and `columns: []`; `null` when there are no tiles or while definitions are loading). Count, sum, average, minimum, maximum, median, scaling, and threshold counts execute in Postgres. The "My accounts" checkbox resolves to the current user's explicit ID before either query is built, so shared URLs remain viewer-independent. Two cell shapes matter:- **`name` column** (mandatory, `ACCOUNTS_NAME_COLUMN`) — read directly from the keyed row's `id`, `name`, and `externalId`. This is the row's identity: `id` (the account PK) drives expansion/scroll/role updates; `externalId` is the copy-able group key. `getNameCell()` in `AccountsTable.tsx` is the canonical accessor. In `NameCell` the name renders as the prominent (`font-semibold`) primary label: a plain click opens the account details inline (toggles the row's expansion via `accountsExpansionLogic`, firing `AccountOpened` on open), while the `<Link>` href points at `urls.customerAnalyticsAccount(id)` so cmd/ctrl-click opens the account's deep-link page in a new tab. The `external_id` sits beneath it as de-emphasized (`text-xs text-muted`) copy-to-clipboard text.diff --git a/products/customer_analytics/frontend/components/Accounts/accountLinksLogic.test.ts b/products/customer_analytics/frontend/components/Accounts/accountLinksLogic.test.tsindex 0a938fe89ed1..25e443f54f9e 100644--- a/products/customer_analytics/frontend/components/Accounts/accountLinksLogic.test.ts+++ b/products/customer_analytics/frontend/components/Accounts/accountLinksLogic.test.ts@@ -34,6 +34,7 @@ const buildAccount = (overrides: Partial<AccountApi> = {}): AccountApi => ({},tags: [],notebooks: [],+ ignored_at: null,created_at: '2026-01-01T00:00:00Z',created_by: null,updated_at: '2026-01-01T00:00:00Z',diff --git a/products/customer_analytics/frontend/components/Accounts/accountsLogic.test.ts b/products/customer_analytics/frontend/components/Accounts/accountsLogic.test.tsindex 1ed19e964116..26e75c3aa6bf 100644--- a/products/customer_analytics/frontend/components/Accounts/accountsLogic.test.ts+++ b/products/customer_analytics/frontend/components/Accounts/accountsLogic.test.ts@@ -96,6 +96,7 @@ const buildAccount = (overrides: Partial<AccountApi> = {}): AccountApi => ({name: 'Acme',tags: [],notebooks: [],+ ignored_at: null,created_at: '2026-01-01T00:00:00Z',created_by: null,updated_at: null,diff --git a/products/customer_analytics/frontend/components/Accounts/accountsTableQuery.test.ts b/products/customer_analytics/frontend/components/Accounts/accountsTableQuery.test.tsindex bc35078f0506..d84da031345f 100644--- a/products/customer_analytics/frontend/components/Accounts/accountsTableQuery.test.ts+++ b/products/customer_analytics/frontend/components/Accounts/accountsTableQuery.test.ts@@ -134,6 +134,7 @@ describe('accountsTableQuery', () => {expect(plan?.query.filters).toEqual([{ kind: 'account_id', accountId: RELATIONSHIP_ID }])expect(plan?.query.includeChurned).toBe(true)+ expect(plan?.query.includeIgnored).toBe(true)})it('drops unsupported columns instead of changing runners', () => {diff --git a/products/customer_analytics/frontend/components/Accounts/accountsTableQuery.ts b/products/customer_analytics/frontend/components/Accounts/accountsTableQuery.tsindex c0278eae2ef5..6229a3003aa7 100644--- a/products/customer_analytics/frontend/components/Accounts/accountsTableQuery.ts+++ b/products/customer_analytics/frontend/components/Accounts/accountsTableQuery.ts@@ -267,6 +267,7 @@ export function buildAccountsTableQueryPlan(input: BuildAccountsTableQueryPlanIncolumns: columns.map(({ column }) => column),filters,includeChurned: input.accountIdFilter !== null,+ includeIgnored: input.accountIdFilter !== null,sort,tags: { ...CUSTOMER_ANALYTICS_DEFAULT_QUERY_TAGS, name: 'customer_analytics_accounts_list' },},diff --git a/products/customer_analytics/frontend/components/FeatureRequests/featureRequestsLogic.test.ts b/products/customer_analytics/frontend/components/FeatureRequests/featureRequestsLogic.test.tsindex c7fc38765169..8c92c6e17897 100644--- a/products/customer_analytics/frontend/components/FeatureRequests/featureRequestsLogic.test.ts+++ b/products/customer_analytics/frontend/components/FeatureRequests/featureRequestsLogic.test.ts@@ -20,6 +20,7 @@ const account: AccountApi = {id: 'account-1',name: 'Acme',notebooks: [],+ ignored_at: null,created_at: '2026-01-01T00:00:00Z',created_by: null,updated_at: null,diff --git a/products/customer_analytics/frontend/generated/api.schemas.ts b/products/customer_analytics/frontend/generated/api.schemas.tsindex c12bf993859a..1a26a288dbf5 100644--- a/products/customer_analytics/frontend/generated/api.schemas.ts+++ b/products/customer_analytics/frontend/generated/api.schemas.ts@@ -34,6 +34,11 @@ export interface ExternalAccountListItemApi {* @nullable*/churned_at: string | null+ /**+ * When Track Rules ignored the account, or null if it is tracked.+ * @nullable+ */+ ignored_at: string | null/** Active relationship assignments to current organization members, keyed by relationship definition name (e.g. 'CSM', 'Account executive'). Definitions with no active assignment are omitted. */relationships: ExternalAccountListItemApiRelationships}@@ -277,6 +282,11 @@ export interface AccountApi {* @nullable*/churned_at?: string | null+ /**+ * When Track Rules ignored the account. Null means the account is tracked.+ * @nullable+ */+ readonly ignored_at: string | nullreadonly created_at: string/** @nullable */readonly created_by: number | null@@ -454,6 +464,11 @@ export interface PatchedAccountApi {* @nullable*/churned_at?: string | null+ /**+ * When Track Rules ignored the account. Null means the account is tracked.+ * @nullable+ */+ readonly ignored_at?: string | nullreadonly created_at?: string/** @nullable */readonly created_by?: number | null@@ -2008,6 +2023,10 @@ export type CustomerAnalyticsExternalAccountsRetrieveParams = {* Account UUID from `next_cursor` to continue listing from. Omit for the first page.*/cursor?: string+ /**+ * Include ignored accounts. Ignored accounts are hidden by default.+ */+ include_ignored?: boolean/*** Maximum number of accounts to return. Values below 1 are clamped to 1; values above 100 are clamped to 100.*/@@ -2061,6 +2080,10 @@ export type AccountsListParams = {* Include churned accounts. Churned accounts are hidden by default.*/include_churned?: boolean+ /**+ * Include ignored accounts. Ignored accounts are hidden by default.+ */+ include_ignored?: boolean/*** Number of results to return per page.*/diff --git a/products/customer_analytics/frontend/generated/api.ts b/products/customer_analytics/frontend/generated/api.tsindex 7a6bd76cc779..27e1e1efcf5f 100644--- a/products/customer_analytics/frontend/generated/api.ts+++ b/products/customer_analytics/frontend/generated/api.ts@@ -125,7 +125,7 @@ export const getCustomerAnalyticsExternalAccountsRetrieveUrl = (}/**- * List accounts with external IDs, churn timestamps, and active relationship assignments. Requires a project secret API key with the `account:read` scope.+ * List tracked accounts with external IDs, lifecycle timestamps, and active relationship assignments. Set `include_ignored=true` to include ignored accounts. Requires a project secret API key with the `account:read` scope.* @summary List external customer analytics accounts*/export const customerAnalyticsExternalAccountsRetrieve = async (diff --git a/products/customer_analytics/mcp/tools.yaml b/products/customer_analytics/mcp/tools.yamlindex 80034b1ba2cd..b1c00555f977 100644--- a/products/customer_analytics/mcp/tools.yaml+++ b/products/customer_analytics/mcp/tools.yaml@@ -198,21 +198,23 @@ tools:description: >List Customer Analytics accounts in the project, ordered by most recently created. Each result includes theaccount `id`, `name`, `external_id`, typed `properties` (external identifiers stripe_customer_id,- hubspot_deal_id, billing_id, sfdc_id, zendesk_id), `tags`, `churned_at` (null if not churned), and- creation/update metadata. User assignments (CSM, account executive, ...) live on account relationships — see- `accounts-relationships-list`. Pass `tags` (JSON-encoded array, e.g. `["enterprise","priority"]`) to filter- to accounts that have any of the listed tags. Use `accounts-retrieve` for a single account by id. The- `properties` above are the built-in fields only; teams also define their own typed attributes as custom- properties, which do not appear here. Call `custom-property-definitions-list` first to see what a team- actually tracks on its accounts, rather than assuming the built-ins are the whole schema or guessing at- property names. To link a user to a specific account rather than the bare list, deep-link it with the path- `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of- notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`). This filters the list to that- account, expands it, and opens the tab. Churned accounts are hidden by default. Set `include_churned` to- true to include them.+ hubspot_deal_id, billing_id, sfdc_id, zendesk_id), `tags`, `churned_at` (null if not churned), `ignored_at`+ (null if tracked), and creation/update metadata. User assignments (CSM, account executive, ...) live on+ account relationships — see `accounts-relationships-list`. Pass `tags` (JSON-encoded array, e.g.+ `["enterprise","priority"]`) to filter to accounts that have any of the listed tags. Use `accounts-retrieve`+ for a single account by id. The `properties` above are the built-in fields only; teams also define their own+ typed attributes as custom properties, which do not appear here. Call `custom-property-definitions-list`+ first to see what a team actually tracks on its accounts, rather than assuming the built-ins are the whole+ schema or guessing at property names. To link a user to a specific account rather than the bare list,+ deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is+ optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`). This filters the+ list to that account, expands it, and opens the tab. Churned and ignored accounts are hidden by default. Set+ `include_churned` or `include_ignored` to true to include them.param_overrides:include_churned:description: Include churned accounts. Churned accounts are hidden by default.+ include_ignored:+ description: Include ignored accounts. Ignored accounts are hidden by default.tags:description: >JSON-encoded array of tag names to filter by, e.g. `["enterprise","priority"]`. Returns accounts@@ -375,14 +377,14 @@ tools:title: Get accountdescription: >Fetch a single Customer Analytics account by id. Returns the full account including typed `properties`- (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id external identifiers), `tags`, and- `churned_at` (null if the account has not churned). User assignments (CSM, account executive, ...) live on- account relationships — see `accounts-relationships-list`. These are the built-in fields only; a team's own- typed attributes are custom properties and are not returned here. Call `custom-property-definitions-list` to- see what the team tracks, then `accounts-custom-property-values-list` for this account's values. To link a- user to this account rather than the bare list, deep-link it with the path- `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of- notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`).+ (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id external identifiers), `tags`,+ `churned_at` (null if the account has not churned), and `ignored_at` (null if tracked). User assignments+ (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. These are+ the built-in fields only; a team's own typed attributes are custom properties and are not returned here.+ Call `custom-property-definitions-list` to see what the team tracks, then+ `accounts-custom-property-values-list` for this account's values. To link a user to this account rather than+ the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`;+ tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`).feature_flag: customer-analytics-cspaccounts-summaries-list:operation: accounts_summaries_listdiff --git a/products/dashboards/frontend/generated/api.schemas.ts b/products/dashboards/frontend/generated/api.schemas.tsindex e19d3d916d4c..0ac4c28e6962 100644--- a/products/dashboards/frontend/generated/api.schemas.ts+++ b/products/dashboards/frontend/generated/api.schemas.ts@@ -8051,6 +8051,8 @@ export interface AccountsQueryApi {assignedToUserIds?: number[] | null/** Optional HogQL boolean expression AND-ed into the WHERE clause. Used by the overview tile click-to-filter affordance. */filterExpression?: string | null+ /** Include ignored accounts. Ignored accounts are hidden by default. */+ includeIgnored?: boolean | nullkind?: 'AccountsQuery'limit?: number | null/** Aggregation expressions evaluated against the filtered account set; one value per metric is returned in `metricsResults`. When `metrics` is set without a `select`, the runner skips the regular row fetch and returns only the aggregated values. */@@ -8077,6 +8079,7 @@ export const AccountsTableAccountFieldApi = {CreatedAt: 'created_at',UpdatedAt: 'updated_at',ChurnedAt: 'churned_at',+ IgnoredAt: 'ignored_at',StripeCustomerId: 'stripe_customer_id',HubspotDealId: 'hubspot_deal_id',BillingId: 'billing_id',@@ -8295,6 +8298,8 @@ export interface AccountsTableQueryApi {| null/** Include churned accounts. Churned accounts are hidden by default. */includeChurned?: boolean | null+ /** Include ignored accounts. Ignored accounts are hidden by default. */+ includeIgnored?: boolean | nullkind?: 'AccountsTableQuery'limit?: number | null/** Aggregates to evaluate against the filtered account set. A metrics query skips row loading. */diff --git a/products/product_analytics/frontend/generated/api.schemas.ts b/products/product_analytics/frontend/generated/api.schemas.tsindex e955352c8147..ea9653a225f3 100644--- a/products/product_analytics/frontend/generated/api.schemas.ts+++ b/products/product_analytics/frontend/generated/api.schemas.ts@@ -7244,6 +7244,8 @@ export interface AccountsQueryApi {assignedToUserIds?: number[] | null/** Optional HogQL boolean expression AND-ed into the WHERE clause. Used by the overview tile click-to-filter affordance. */filterExpression?: string | null+ /** Include ignored accounts. Ignored accounts are hidden by default. */+ includeIgnored?: boolean | nullkind?: 'AccountsQuery'limit?: number | null/** Aggregation expressions evaluated against the filtered account set; one value per metric is returned in `metricsResults`. When `metrics` is set without a `select`, the runner skips the regular row fetch and returns only the aggregated values. */@@ -7270,6 +7272,7 @@ export const AccountsTableAccountFieldApi = {CreatedAt: 'created_at',UpdatedAt: 'updated_at',ChurnedAt: 'churned_at',+ IgnoredAt: 'ignored_at',StripeCustomerId: 'stripe_customer_id',HubspotDealId: 'hubspot_deal_id',BillingId: 'billing_id',@@ -7488,6 +7491,8 @@ export interface AccountsTableQueryApi {| null/** Include churned accounts. Churned accounts are hidden by default. */includeChurned?: boolean | null+ /** Include ignored accounts. Ignored accounts are hidden by default. */+ includeIgnored?: boolean | nullkind?: 'AccountsTableQuery'limit?: number | null/** Aggregates to evaluate against the filtered account set. A metrics query skips row loading. */diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex a74867e2b5d9..498c9ac414b1 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -135,7 +135,7 @@"feature_flag": "customer-analytics-csp"},"accounts-list": {- "description": "List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the account `id`, `name`, `external_id`, typed `properties` (external identifiers stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id), `tags`, `churned_at` (null if not churned), and creation/update metadata. User assignments (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. Pass `tags` (JSON-encoded array, e.g. `[\"enterprise\",\"priority\"]`) to filter to accounts that have any of the listed tags. Use `accounts-retrieve` for a single account by id. The `properties` above are the built-in fields only; teams also define their own typed attributes as custom properties, which do not appear here. Call `custom-property-definitions-list` first to see what a team actually tracks on its accounts, rather than assuming the built-ins are the whole schema or guessing at property names. To link a user to a specific account rather than the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`). This filters the list to that account, expands it, and opens the tab. Churned accounts are hidden by default. Set `include_churned` to true to include them.",+ "description": "List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the account `id`, `name`, `external_id`, typed `properties` (external identifiers stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id), `tags`, `churned_at` (null if not churned), `ignored_at` (null if tracked), and creation/update metadata. User assignments (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. Pass `tags` (JSON-encoded array, e.g. `[\"enterprise\",\"priority\"]`) to filter to accounts that have any of the listed tags. Use `accounts-retrieve` for a single account by id. The `properties` above are the built-in fields only; teams also define their own typed attributes as custom properties, which do not appear here. Call `custom-property-definitions-list` first to see what a team actually tracks on its accounts, rather than assuming the built-ins are the whole schema or guessing at property names. To link a user to a specific account rather than the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`). This filters the list to that account, expands it, and opens the tab. Churned and ignored accounts are hidden by default. Set `include_churned` or `include_ignored` to true to include them.","category": "Customer analytics","feature": "customer_analytics","summary": "List accounts",@@ -270,7 +270,7 @@"feature_flag": "customer-analytics-csp"},"accounts-retrieve": {- "description": "Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id external identifiers), `tags`, and `churned_at` (null if the account has not churned). User assignments (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. These are the built-in fields only; a team's own typed attributes are custom properties and are not returned here. Call `custom-property-definitions-list` to see what the team tracks, then `accounts-custom-property-values-list` for this account's values. To link a user to this account rather than the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`).",+ "description": "Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id external identifiers), `tags`, `churned_at` (null if the account has not churned), and `ignored_at` (null if tracked). User assignments (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. These are the built-in fields only; a team's own typed attributes are custom properties and are not returned here. Call `custom-property-definitions-list` to see what the team tracks, then `accounts-custom-property-values-list` for this account's values. To link a user to this account rather than the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`).","category": "Customer analytics","feature": "customer_analytics","summary": "Get account",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex 6410fa32009f..042b1f75cccd 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -135,7 +135,7 @@"feature_flag": "customer-analytics-csp"},"accounts-list": {- "description": "List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the account `id`, `name`, `external_id`, typed `properties` (external identifiers stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id), `tags`, `churned_at` (null if not churned), and creation/update metadata. User assignments (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. Pass `tags` (JSON-encoded array, e.g. `[\"enterprise\",\"priority\"]`) to filter to accounts that have any of the listed tags. Use `accounts-retrieve` for a single account by id. The `properties` above are the built-in fields only; teams also define their own typed attributes as custom properties, which do not appear here. Call `custom-property-definitions-list` first to see what a team actually tracks on its accounts, rather than assuming the built-ins are the whole schema or guessing at property names. To link a user to a specific account rather than the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`). This filters the list to that account, expands it, and opens the tab. Churned accounts are hidden by default. Set `include_churned` to true to include them.",+ "description": "List Customer Analytics accounts in the project, ordered by most recently created. Each result includes the account `id`, `name`, `external_id`, typed `properties` (external identifiers stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id), `tags`, `churned_at` (null if not churned), `ignored_at` (null if tracked), and creation/update metadata. User assignments (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. Pass `tags` (JSON-encoded array, e.g. `[\"enterprise\",\"priority\"]`) to filter to accounts that have any of the listed tags. Use `accounts-retrieve` for a single account by id. The `properties` above are the built-in fields only; teams also define their own typed attributes as custom properties, which do not appear here. Call `custom-property-definitions-list` first to see what a team actually tracks on its accounts, rather than assuming the built-ins are the whole schema or guessing at property names. To link a user to a specific account rather than the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`). This filters the list to that account, expands it, and opens the tab. Churned and ignored accounts are hidden by default. Set `include_churned` or `include_ignored` to true to include them.","category": "Customer analytics","feature": "customer_analytics","summary": "List accounts",@@ -270,7 +270,7 @@"feature_flag": "customer-analytics-csp"},"accounts-retrieve": {- "description": "Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id external identifiers), `tags`, and `churned_at` (null if the account has not churned). User assignments (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. These are the built-in fields only; a team's own typed attributes are custom properties and are not returned here. Call `custom-property-definitions-list` to see what the team tracks, then `accounts-custom-property-values-list` for this account's values. To link a user to this account rather than the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`).",+ "description": "Fetch a single Customer Analytics account by id. Returns the full account including typed `properties` (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id external identifiers), `tags`, `churned_at` (null if the account has not churned), and `ignored_at` (null if tracked). User assignments (CSM, account executive, ...) live on account relationships — see `accounts-relationships-list`. These are the built-in fields only; a team's own typed attributes are custom properties and are not returned here. Call `custom-property-definitions-list` to see what the team tracks, then `accounts-custom-property-values-list` for this account's values. To link a user to this account rather than the bare list, deep-link it with the path `/customer_analytics/accounts/<id>/<tab>` (using the account `id`; tab is optional — one of notes/users/usage/spend, e.g. `/customer_analytics/accounts/<id>/usage`).","category": "Customer analytics","feature": "customer_analytics","summary": "Get account",diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex 941bbded0777..7c8c607e7860 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -219,6 +219,11 @@ export namespace Schemas {* @nullable*/churned_at?: string | null;+ /**+ * When Track Rules ignored the account. Null means the account is tracked.+ * @nullable+ */+ readonly ignored_at: string | null;readonly created_at: string;/** @nullable */readonly created_by: number | null;@@ -902,6 +907,8 @@ export namespace Schemas {assignedToUserIds?: number[] | null;/** Optional HogQL boolean expression AND-ed into the WHERE clause. Used by the overview tile click-to-filter affordance. */filterExpression?: string | null;+ /** Include ignored accounts. Ignored accounts are hidden by default. */+ includeIgnored?: boolean | null;kind?: 'AccountsQuery';limit?: number | null;/** Aggregation expressions evaluated against the filtered account set; one value per metric is returned in `metricsResults`. When `metrics` is set without a `select`, the runner skips the regular row fetch and returns only the aggregated values. */@@ -928,6 +935,7 @@ export namespace Schemas {CreatedAt: 'created_at',UpdatedAt: 'updated_at',ChurnedAt: 'churned_at',+ IgnoredAt: 'ignored_at',StripeCustomerId: 'stripe_customer_id',HubspotDealId: 'hubspot_deal_id',BillingId: 'billing_id',@@ -1170,6 +1178,8 @@ export namespace Schemas {filters?: (AccountsTableSearchFilter | AccountsTableTagsFilter | AccountsTableAssignedToFilter | AccountsTableUnassignedFilter | AccountsTableAccountIdFilter | AccountsTableCustomPropertyFilter)[] | null;/** Include churned accounts. Churned accounts are hidden by default. */includeChurned?: boolean | null;+ /** Include ignored accounts. Ignored accounts are hidden by default. */+ includeIgnored?: boolean | null;kind?: 'AccountsTableQuery';limit?: number | null;/** Aggregates to evaluate against the filtered account set. A metrics query skips row loading. */@@ -33835,6 +33845,11 @@ export namespace Schemas {* @nullable*/churned_at: string | null;+ /**+ * When Track Rules ignored the account, or null if it is tracked.+ * @nullable+ */+ ignored_at: string | null;/** Active relationship assignments to current organization members, keyed by relationship definition name (e.g. 'CSM', 'Account executive'). Definitions with no active assignment are omitted. */relationships: ExternalAccountListItemRelationships;}@@ -56061,6 +56076,11 @@ export namespace Schemas {* @nullable*/churned_at?: string | null;+ /**+ * When Track Rules ignored the account. Null means the account is tracked.+ * @nullable+ */+ readonly ignored_at?: string | null;readonly created_at?: string;/** @nullable */readonly created_by?: number | null;@@ -83642,6 +83662,10 @@ export namespace Schemas {* Account UUID from `next_cursor` to continue listing from. Omit for the first page.*/cursor?: string;+ /**+ * Include ignored accounts. Ignored accounts are hidden by default.+ */+ include_ignored?: boolean;/*** Maximum number of accounts to return. Values below 1 are clamped to 1; values above 100 are clamped to 100.*/@@ -84256,6 +84280,10 @@ export namespace Schemas {* Include churned accounts. Churned accounts are hidden by default.*/include_churned?: boolean;+ /**+ * Include ignored accounts. Ignored accounts are hidden by default.+ */+ include_ignored?: boolean;/*** Number of results to return per page.*/diff --git a/services/mcp/src/generated/customer_analytics/api.ts b/services/mcp/src/generated/customer_analytics/api.tsindex 572ad63143c0..f43881c69fb5 100644--- a/services/mcp/src/generated/customer_analytics/api.ts+++ b/services/mcp/src/generated/customer_analytics/api.ts@@ -114,6 +114,7 @@ export const AccountsListParams = /* @__PURE__ */ zod.object({})export const accountsListQueryIncludeChurnedDefault = false+export const accountsListQueryIncludeIgnoredDefault = falseexport const AccountsListQueryParams = /* @__PURE__ */ zod.object({all_roles_unassigned: zod@@ -124,6 +125,10 @@ export const AccountsListQueryParams = /* @__PURE__ */ zod.object({.boolean().default(accountsListQueryIncludeChurnedDefault).describe('Include churned accounts. Churned accounts are hidden by default.'),+ include_ignored: zod+ .boolean()+ .default(accountsListQueryIncludeIgnoredDefault)+ .describe('Include ignored accounts. Ignored accounts are hidden by default.'),limit: zod.number().optional().describe('Number of results to return per page.'),offset: zod.number().optional().describe('The initial index from which to return the results.'),ordering: zod.string().optional().describe("Sort order. Defaults to '-created_at'."),diff --git a/services/mcp/src/tools/generated/customer_analytics.ts b/services/mcp/src/tools/generated/customer_analytics.tsindex 97247976c87c..1f09d693c3af 100644--- a/services/mcp/src/tools/generated/customer_analytics.ts+++ b/services/mcp/src/tools/generated/customer_analytics.ts@@ -307,6 +307,9 @@ const AccountsListSchema = AccountsListQueryParams.extend({include_churned: AccountsListQueryParams.shape['include_churned'].describe('Include churned accounts. Churned accounts are hidden by default.'),+ include_ignored: AccountsListQueryParams.shape['include_ignored'].describe(+ 'Include ignored accounts. Ignored accounts are hidden by default.'+ ),tags: AccountsListQueryParams.shape['tags'].describe('JSON-encoded array of tag names to filter by, e.g. `["enterprise","priority"]`. Returns accounts that have any of the listed tags.'),@@ -323,6 +326,7 @@ const accountsList = (): ToolBase<typeof AccountsListSchema, WithPostHogUrl<Schequery: {all_roles_unassigned: params.all_roles_unassigned,include_churned: params.include_churned,+ include_ignored: params.include_ignored,limit: params.limit,offset: params.offset,ordering: params.ordering,