def METHOD_NAME(self) -> Any:
    return self.app.METHOD_NAME(
        "/discover/snql",
        data=json.dumps(
            {
                "query": f"""MATCH (discover_events)
                SELECT count() AS count BY project_id, tags[custom_tag]
                WHERE type != 'transaction'
                AND project_id = {self.project_id}
                AND timestamp >= toDateTime('{self.base_time.isoformat()}')
                AND timestamp < toDateTime('{self.next_time.isoformat()}')""",
                "turbo": False,
                "consistent": True,
                "debug": True,
                "tenant_ids": {"organization_id": 132, "referrer": "r"},
            }
        ),
        headers={"referer": "test"},
    )