: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(data-warehouse): publish source table catalogs to public docs (#65791)
Tom Owers0f4b6358b942
diff --git a/.agents/skills/documenting-warehouse-sources/SKILL.md b/.agents/skills/documenting-warehouse-sources/SKILL.mdnew file mode 100644index 000000000000..478cb85b0aee--- /dev/null+++ b/.agents/skills/documenting-warehouse-sources/SKILL.md@@ -0,0 +1,158 @@+---+name: documenting-warehouse-sources+description: Write or update the user-facing posthog.com documentation for a PostHog Data warehouse import source. Use when adding a new source doc, fixing an inconsistent or stub source doc, or standardizing the docs at contents/docs/cdp/sources. Covers the canonical template, shared snippets, the auto-rendered <SourceParameters /> and <SourceTables /> components, frontmatter, and the docsUrl/slug rule that prevents 404s.+---++# Documenting Data warehouse sources++User-facing source docs live in the **posthog.com** repo (not this one) at+`contents/docs/cdp/sources/<slug>.md`, served at both `/docs/cdp/sources/<slug>` and+`/docs/data-warehouse/sources/<slug>`. This skill defines the one consistent shape every source doc+must follow. Pair it with `/implementing-warehouse-sources` when shipping a new source.++Assume a sibling posthog.com checkout (e.g. `../posthog.com`).++## The two things the website renders for you++You do **not** hand-write connection fields or the table list — both come from the+`public_source_configs` API the site fetches at build time, mirrored into the doc via MDX components:++- `<SourceParameters />` renders the connection/config form fields from `get_source_config.fields`.+- `<SourceTables />` renders the **Supported tables** reference (table name, description, sync method,+ incremental field, primary key) from the source's `get_documented_tables()`.++`<SourceTables />` only has data when the source opts in by setting+`lists_tables_without_credentials = True` on its source class (only valid when `get_schemas` iterates a+**static** endpoint catalog with no I/O — see `/implementing-warehouse-sources`). Otherwise it renders a+generic "discovered from your account" note. **If a table is missing or its description is thin, fix the+source code** (`settings.py` endpoints + `canonical_descriptions.py`), not the doc — the doc just renders+what the API returns, so the code stays the single source of truth.++## Frontmatter++```yaml+---+title: Linking <Source> as a source+sidebar: Docs+showTitle: true+availability: { free: full, selfServe: full, enterprise: full }+sourceId: <EnumValue> # MUST equal the ExternalDataSourceType value, e.g. ActiveCampaign, Stripe+beta: true # optional — only for beta sources+---+```++`sourceId` is what links the doc to its API config (icon, fields, tables). Get it wrong and the doc+renders with no `<SourceParameters />` / `<SourceTables />` data. It must be a real+`ExternalDataSourceType` value (PascalCase, e.g. `ActiveCampaign`, not `Active Campaign`).++## Canonical template++```text+---+title: Linking <Source> as a source+sidebar: Docs+showTitle: true+availability: { free: full, selfServe: full, enterprise: full }+sourceId: <EnumValue>+---++import SourceSetupIntro from "../_snippets/source-setup-intro.mdx"+import SyncModes from "../_snippets/sync-modes.mdx"+import TroubleshootingLink from "../_snippets/dw-troubleshooting-link.mdx"++<!-- Alpha/beta only: import AlphaRelease from "../_snippets/alpha-release.mdx" and render <AlphaRelease /> here -->++One or two sentences: what this connector syncs and the typical use case.++## Prerequisites++Account tier / admin rights / API access the user needs before they can connect.++## Adding a data source++<SourceSetupIntro />++List the specific credentials this source needs and exactly where to get them (link to the provider's+dashboard). For sources with more than one auth method, use `###` subsections (mirror Stripe's+"Option 1 / Option 2").++## Sync modes++<SyncModes />++Add any source-specific recommendation here (e.g. "use webhooks for Stripe").++## Configuration++<SourceParameters />++## Supported tables++<SourceTables />++## Troubleshooting++Source-specific errors and fixes (optional but encouraged), then:++<TroubleshootingLink />+```++### Essential sections (every source)++Status callout (alpha/beta only) → intro → Prerequisites → Adding a data source → Sync modes →+Configuration → Supported tables → Troubleshooting.++### Optional sections (when applicable)++Webhooks (real-time sync), CDC (databases), Column selection, Row filters, Inbound IP addresses+(`<InboundIpAddresses />`), data-type handling, known limitations, ERD/relationships. Reference+implementations already in the repo: **Stripe** (SaaS + webhooks), **Postgres** (database + CDC),+**ClickHouse** (database). Don't invent sections the source doesn't need.++## Shared snippets++Reuse these instead of re-writing the same prose (they live in `contents/docs/cdp/_snippets/`):++- `source-setup-intro.mdx` — the standard "Adding a data source" steps.+- `sync-modes.mdx` — sync-mode summary linking to the canonical explanation.+- `alpha-release.mdx` / `beta-release.mdx` — status callouts (also set `beta: true` in frontmatter).+- `dw-troubleshooting-link.mdx` — the troubleshooting/support footer.+- `inbound-ip-addresses.mdx` — IP allowlist table for DB sources.+- `feedback-questions.mdx` — feedback/FAQ footer.++`.md` source docs support MDX `import` (e.g. `convex.md`, `mongodb.md`), so you don't need to rename to+`.mdx` to use snippets — but `.mdx` is fine too. `CalloutBox`, `ProductScreenshot`, `SourceParameters`,+and `SourceTables` are global components — no import needed.++## docsUrl / slug rule (prevents 404s)++The website derives the doc slug from the source's `docsUrl` (its last `/docs/cdp/sources/<slug>`+segment), so these three must agree:++1. The doc **filename**: `<slug>.md`.+2. The source's `docsUrl` in `get_source_config`: `https://posthog.com/docs/cdp/sources/<slug>`.+3. (implicitly) the listing link — now derived from `docsUrl`, so it follows automatically.++Use kebab-case for multi-word slugs (`active-campaign`, not `activecampaign`). After writing or renaming+a doc, run the audit from this (posthog) repo:++```sh+python manage.py audit_source_docs --docs-dir ../posthog.com/contents/docs/cdp/sources+```++It fails if any source `docsUrl` points at a missing file or any doc's `sourceId` isn't a real source.+Renaming a published doc also needs a 301 in `posthog.com/vercel.json` for both+`/docs/cdp/sources/*` and `/docs/data-warehouse/sources/*`.++## Checklist++- [ ] Frontmatter `sourceId` matches the `ExternalDataSourceType` value exactly+- [ ] Intro, Prerequisites, Adding a data source, Sync modes, Configuration, Supported tables, Troubleshooting+- [ ] Status snippet + `beta: true` if alpha/beta+- [ ] Shared snippets used instead of bespoke prose+- [ ] `<SourceParameters />` and `<SourceTables />` present (don't hand-write fields or the table list)+- [ ] If the rendered table list is empty/thin and the source is fixed-schema, enrich its code+ (`lists_tables_without_credentials`, `settings.py`, `canonical_descriptions.py`) — see+ `/implementing-warehouse-sources`+- [ ] Filename, `docsUrl`, and slug all agree (kebab-case)+- [ ] `audit_source_docs` passesdiff --git a/.agents/skills/implementing-warehouse-sources/SKILL.md b/.agents/skills/implementing-warehouse-sources/SKILL.mdindex 968b036ab787..5c96aac4fbe4 100644--- a/.agents/skills/implementing-warehouse-sources/SKILL.md+++ b/.agents/skills/implementing-warehouse-sources/SKILL.md@@ -88,7 +88,13 @@ Follow this order. Each step maps to TODOs in `source.template`.Whenever you set `releaseStatus`, use the `ReleaseStatus` enum from `posthog.schema` — never a bare string literal. Add `ReleaseStatus` to your existing `from posthog.schema import (...)` block.-14. **Delete the template TODO comments** before PR.+14. **Document the source.** Write or update the user-facing doc on posthog.com following the+ `/documenting-warehouse-sources` skill (template, shared snippets, `<SourceParameters />` ++ `<SourceTables />`). Ensure `docsUrl` in `get_source_config` matches the doc filename+ (kebab-case), and — if `get_schemas` is a static endpoint catalog — set+ `lists_tables_without_credentials = True` (see below) so the doc's Supported tables section+ renders. A finished source ships with a consistent doc, not a stub.+15. **Delete the template TODO comments** before PR.## Source architecture contract@@ -151,6 +157,29 @@ Rules:nothing — the base hook returns `{}`.- Don't touch `source.py`/`settings.py` transport logic — this is purely additive metadata.+## Publishing the table catalog to public docs++The posthog.com docs render a **Supported tables** section via a `<SourceTables />` component fed by the+`public_source_configs` API, which calls `get_documented_tables()` on each source. The base+implementation lists tables from `get_schemas` (merged with `canonical_descriptions`) **only when the+source opts in**:++```python+class MySource(SimpleSource[MySourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+```++Set this to `True` **only** when `get_schemas` iterates a static endpoint catalog with **no I/O** — no+network, no DB, no credentials (the common fixed-schema SaaS pattern: `for endpoint in ENDPOINTS`). The+endpoint builds a placeholder config and calls `get_schemas` with no real credentials, so a source that+connects to discover schemas (SQL, file storage, MongoDB, ad platforms that list accounts) must leave+this `False` (the default) — otherwise it would try to connect to an empty host, hang, or close the DB+session. When `False`, the docs render a generic "discovered from your account" note instead.++The richer the table list, the better the docs — so pair this with `canonical_descriptions.py`+(table/column descriptions). Verify the rendered output via the API:+`GET /api/public_source_configs` → your source → `tables`.+## Source category & keywordsEvery source **must** set `category` on its `SourceConfig` — it groups the source in the new-source wizard@@ -574,6 +603,7 @@ Source implementation:- [ ] Implement webhook methods if WebhookSource- [ ] Add get_non_retryable_errors for auth/permission errors- [ ] (Fixed-schema sources) Add canonical_descriptions.py from the API docs + override get_canonical_descriptions+- [ ] (Fixed-schema sources, static get_schemas only) Set lists_tables_without_credentials = True so public docs render the table catalogTooling & assets:- [ ] Icon in frontend/public/services/ (SVG preferred — ask user for Logo.dev key if needed)@@ -593,6 +623,7 @@ Release status (default: a finished source has NO unreleasedSource flag — it hTests & handoff:- [ ] Source tests (test_<source>_source.py)- [ ] Transport tests (test_<source>.py)+- [ ] User-facing doc written/updated per /documenting-warehouse-sources (docsUrl matches filename; `audit_source_docs` passes)- [ ] `ruff check . --fix` and `ruff format .`- [ ] List any new env vars (OAuth client IDs/secrets, etc) in the PR / handoff```diff --git a/posthog/management/commands/audit_source_docs.py b/posthog/management/commands/audit_source_docs.pynew file mode 100644index 000000000000..e49aba40134d--- /dev/null+++ b/posthog/management/commands/audit_source_docs.py@@ -0,0 +1,73 @@+import re+from pathlib import Path+from typing import Any++from django.core.management.base import BaseCommand, CommandError++import yaml++from posthog.temporal.data_imports.sources import SourceRegistry++from products.data_warehouse.backend.types import ExternalDataSourceType++# Matches the slug in a posthog.com source docsUrl, e.g.+# https://posthog.com/docs/cdp/sources/active-campaign -> "active-campaign".+DOCS_URL_SLUG = re.compile(r"/docs/cdp/sources/([^/?#]+)")++FRONTMATTER = re.compile(r"^---\n(.*?)\n---", re.DOTALL)+++class Command(BaseCommand):+ help = (+ "Audit data warehouse source docs against the source registry: every source whose docsUrl "+ "points at /docs/cdp/sources/<slug> must have a matching <slug>.{md,mdx} file, and every "+ "doc's `sourceId` frontmatter must be a real ExternalDataSourceType value. Exits non-zero "+ "on any mismatch so it can gate the docs/source-implementation workflows."+ )++ def add_arguments(self, parser: Any) -> None:+ parser.add_argument(+ "--docs-dir",+ required=True,+ help="Path to posthog.com/contents/docs/cdp/sources in a local posthog.com checkout.",+ )++ def handle(self, *args: Any, **options: Any) -> None:+ docs_dir = Path(options["docs_dir"])+ if not docs_dir.is_dir():+ raise CommandError(f"docs dir does not exist: {docs_dir}")++ existing_slugs = {p.stem for p in docs_dir.glob("*.md")} | {p.stem for p in docs_dir.glob("*.mdx")}+ valid_source_ids = {str(member.value) for member in ExternalDataSourceType}++ errors: list[str] = []++ # 1. Every source docsUrl that targets our docs must resolve to a committed file.+ for source_type, source in SourceRegistry.get_all_sources().items():+ docs_url = source.get_source_config.docsUrl+ if not docs_url:+ continue+ match = DOCS_URL_SLUG.search(docs_url)+ if not match:+ continue # external docs (e.g. a vendor URL) — nothing to verify here+ slug = match.group(1)+ if slug not in existing_slugs:+ errors.append(f"{source_type}: docsUrl points at '{slug}' but no {slug}.md(x) exists")++ # 2. Every doc's sourceId frontmatter must be a real source.+ for doc in sorted([*docs_dir.glob("*.md"), *docs_dir.glob("*.mdx")]):+ frontmatter = FRONTMATTER.match(doc.read_text())+ if not frontmatter:+ continue+ parsed = yaml.safe_load(frontmatter.group(1)) or {}+ source_id = parsed.get("sourceId")+ if source_id and source_id not in valid_source_ids:+ errors.append(f"{doc.name}: sourceId '{source_id}' is not a valid ExternalDataSourceType")++ if errors:+ self.stderr.write(self.style.ERROR(f"Found {len(errors)} source-doc mismatch(es):"))+ for error in errors:+ self.stderr.write(f" - {error}")+ raise CommandError("source docs are out of sync with the source registry")++ self.stdout.write(self.style.SUCCESS(f"OK: {len(existing_slugs)} source docs consistent with the registry"))diff --git a/posthog/temporal/data_imports/sources/active_campaign/source.py b/posthog/temporal/data_imports/sources/active_campaign/source.pyindex 618a4bfa8a78..956ee1bd30f5 100644--- a/posthog/temporal/data_imports/sources/active_campaign/source.py+++ b/posthog/temporal/data_imports/sources/active_campaign/source.py@@ -27,6 +27,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ActiveCampaignSource(ResumableSource[ActiveCampaignSourceConfig, ActiveCampaignResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ACTIVECAMPAIGNdiff --git a/posthog/temporal/data_imports/sources/adroll/source.py b/posthog/temporal/data_imports/sources/adroll/source.pyindex 56bfae9e4976..96db1a0535b9 100644--- a/posthog/temporal/data_imports/sources/adroll/source.py+++ b/posthog/temporal/data_imports/sources/adroll/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AdRollSource(SimpleSource[AdRollSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ADROLLdiff --git a/posthog/temporal/data_imports/sources/aircall/source.py b/posthog/temporal/data_imports/sources/aircall/source.pyindex 820806c14241..9d37a5dc3d1b 100644--- a/posthog/temporal/data_imports/sources/aircall/source.py+++ b/posthog/temporal/data_imports/sources/aircall/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AircallSource(ResumableSource[AircallSourceConfig, AircallResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.AIRCALLdiff --git a/posthog/temporal/data_imports/sources/airtable/source.py b/posthog/temporal/data_imports/sources/airtable/source.pyindex b4bcc88494b7..1ab35a5f70b2 100644--- a/posthog/temporal/data_imports/sources/airtable/source.py+++ b/posthog/temporal/data_imports/sources/airtable/source.py@@ -25,6 +25,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AirtableSource(SimpleSource[AirtableSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.AIRTABLEdiff --git a/posthog/temporal/data_imports/sources/amazon_ads/source.py b/posthog/temporal/data_imports/sources/amazon_ads/source.pyindex cc29fccb00df..37f8012ac62b 100644--- a/posthog/temporal/data_imports/sources/amazon_ads/source.py+++ b/posthog/temporal/data_imports/sources/amazon_ads/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AmazonAdsSource(SimpleSource[AmazonAdsSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.AMAZONADSdiff --git a/posthog/temporal/data_imports/sources/amplitude/source.py b/posthog/temporal/data_imports/sources/amplitude/source.pyindex 1932b1f2086a..eea20bebc093 100644--- a/posthog/temporal/data_imports/sources/amplitude/source.py+++ b/posthog/temporal/data_imports/sources/amplitude/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AmplitudeSource(ResumableSource[AmplitudeSourceConfig, AmplitudeResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.AMPLITUDEdiff --git a/posthog/temporal/data_imports/sources/apollo/source.py b/posthog/temporal/data_imports/sources/apollo/source.pyindex cc98064a1762..15c9dd2cb53f 100644--- a/posthog/temporal/data_imports/sources/apollo/source.py+++ b/posthog/temporal/data_imports/sources/apollo/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ApolloSource(ResumableSource[ApolloSourceConfig, ApolloResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.APOLLOdiff --git a/posthog/temporal/data_imports/sources/appsflyer/source.py b/posthog/temporal/data_imports/sources/appsflyer/source.pyindex dc6395543daf..89fba5753993 100644--- a/posthog/temporal/data_imports/sources/appsflyer/source.py+++ b/posthog/temporal/data_imports/sources/appsflyer/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AppsFlyerSource(SimpleSource[AppsFlyerSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.APPSFLYERdiff --git a/posthog/temporal/data_imports/sources/asana/source.py b/posthog/temporal/data_imports/sources/asana/source.pyindex e63d3a32160c..dcd79aa17b23 100644--- a/posthog/temporal/data_imports/sources/asana/source.py+++ b/posthog/temporal/data_imports/sources/asana/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AsanaSource(ResumableSource[AsanaSourceConfig, AsanaResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ASANAdiff --git a/posthog/temporal/data_imports/sources/ashby/source.py b/posthog/temporal/data_imports/sources/ashby/source.pyindex 6922e6352a06..0a8ae32818f3 100644--- a/posthog/temporal/data_imports/sources/ashby/source.py+++ b/posthog/temporal/data_imports/sources/ashby/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AshbySource(ResumableSource[AshbySourceConfig, AshbyResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ASHBYdiff --git a/posthog/temporal/data_imports/sources/attentive/source.py b/posthog/temporal/data_imports/sources/attentive/source.pyindex 1710293b9dd5..e97d60cfcaad 100644--- a/posthog/temporal/data_imports/sources/attentive/source.py+++ b/posthog/temporal/data_imports/sources/attentive/source.py@@ -69,6 +69,8 @@ class AttentiveSource(SimpleSource[AttentiveSourceConfig],WebhookSource[AttentiveSourceConfig],):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ATTENTIVEdiff --git a/posthog/temporal/data_imports/sources/attio/source.py b/posthog/temporal/data_imports/sources/attio/source.pyindex cd8ed0e3cf5d..be5f1cd670f0 100644--- a/posthog/temporal/data_imports/sources/attio/source.py+++ b/posthog/temporal/data_imports/sources/attio/source.py@@ -25,6 +25,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AttioSource(SimpleSource[AttioSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ATTIOdiff --git a/posthog/temporal/data_imports/sources/azure_devops/source.py b/posthog/temporal/data_imports/sources/azure_devops/source.pyindex 8a06bcf54196..f8fb1b2d5f96 100644--- a/posthog/temporal/data_imports/sources/azure_devops/source.py+++ b/posthog/temporal/data_imports/sources/azure_devops/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass AzureDevOpsSource(ResumableSource[AzureDevOpsSourceConfig, AzureDevOpsResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.AZUREDEVOPSdiff --git a/posthog/temporal/data_imports/sources/bamboohr/source.py b/posthog/temporal/data_imports/sources/bamboohr/source.pyindex 24397a774995..643b543d25f8 100644--- a/posthog/temporal/data_imports/sources/bamboohr/source.py+++ b/posthog/temporal/data_imports/sources/bamboohr/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass BambooHRSource(ResumableSource[BambooHRSourceConfig, BambooHRResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.BAMBOOHRdiff --git a/posthog/temporal/data_imports/sources/bing_ads/source.py b/posthog/temporal/data_imports/sources/bing_ads/source.pyindex 5a232a3887fc..3a93bddea668 100644--- a/posthog/temporal/data_imports/sources/bing_ads/source.py+++ b/posthog/temporal/data_imports/sources/bing_ads/source.py@@ -32,6 +32,8 @@ from .utils import BingAdsResumeConfig@SourceRegistry.registerclass BingAdsSource(ResumableSource[BingAdsSourceConfig, BingAdsResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.BINGADSdiff --git a/posthog/temporal/data_imports/sources/braintree/source.py b/posthog/temporal/data_imports/sources/braintree/source.pyindex a315f83ed0c8..bdc6db640ba1 100644--- a/posthog/temporal/data_imports/sources/braintree/source.py+++ b/posthog/temporal/data_imports/sources/braintree/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass BraintreeSource(ResumableSource[BraintreeSourceConfig, BraintreeResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.BRAINTREEdiff --git a/posthog/temporal/data_imports/sources/braze/source.py b/posthog/temporal/data_imports/sources/braze/source.pyindex a3619c5f0d46..930a8a761704 100644--- a/posthog/temporal/data_imports/sources/braze/source.py+++ b/posthog/temporal/data_imports/sources/braze/source.py@@ -29,6 +29,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass BrazeSource(ResumableSource[BrazeSourceConfig, BrazeResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.BRAZEdiff --git a/posthog/temporal/data_imports/sources/brevo/source.py b/posthog/temporal/data_imports/sources/brevo/source.pyindex 086ecadac199..aac0f0e2a68e 100644--- a/posthog/temporal/data_imports/sources/brevo/source.py+++ b/posthog/temporal/data_imports/sources/brevo/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass BrevoSource(ResumableSource[BrevoSourceConfig, BrevoResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.BREVOdiff --git a/posthog/temporal/data_imports/sources/brex/source.py b/posthog/temporal/data_imports/sources/brex/source.pyindex 76a36fca6a61..55da778d1535 100644--- a/posthog/temporal/data_imports/sources/brex/source.py+++ b/posthog/temporal/data_imports/sources/brex/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass BrexSource(ResumableSource[BrexSourceConfig, BrexResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.BREXdiff --git a/posthog/temporal/data_imports/sources/buildbetter/source.py b/posthog/temporal/data_imports/sources/buildbetter/source.pyindex bfc5f1572e05..2db9c0916007 100644--- a/posthog/temporal/data_imports/sources/buildbetter/source.py+++ b/posthog/temporal/data_imports/sources/buildbetter/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass BuildBetterSource(ResumableSource[BuildBetterSourceConfig, BuildBetterResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.BUILDBETTERdiff --git a/posthog/temporal/data_imports/sources/calendly/source.py b/posthog/temporal/data_imports/sources/calendly/source.pyindex ed83ebd28cba..99893021c53b 100644--- a/posthog/temporal/data_imports/sources/calendly/source.py+++ b/posthog/temporal/data_imports/sources/calendly/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CalendlySource(ResumableSource[CalendlySourceConfig, CalendlyResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CALENDLYdiff --git a/posthog/temporal/data_imports/sources/campaign_monitor/source.py b/posthog/temporal/data_imports/sources/campaign_monitor/source.pyindex 499f9e49e78b..7f18a28b6007 100644--- a/posthog/temporal/data_imports/sources/campaign_monitor/source.py+++ b/posthog/temporal/data_imports/sources/campaign_monitor/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CampaignMonitorSource(ResumableSource[CampaignMonitorSourceConfig, CampaignMonitorResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CAMPAIGNMONITORdiff --git a/posthog/temporal/data_imports/sources/chargebee/source.py b/posthog/temporal/data_imports/sources/chargebee/source.pyindex a3e486277ab7..a9667b9f3577 100644--- a/posthog/temporal/data_imports/sources/chargebee/source.py+++ b/posthog/temporal/data_imports/sources/chargebee/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ChargebeeSource(ResumableSource[ChargebeeSourceConfig, ChargebeeResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CHARGEBEEdiff --git a/posthog/temporal/data_imports/sources/chartmogul/source.py b/posthog/temporal/data_imports/sources/chartmogul/source.pyindex b07c8424217a..bbddf16e8244 100644--- a/posthog/temporal/data_imports/sources/chartmogul/source.py+++ b/posthog/temporal/data_imports/sources/chartmogul/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ChartMogulSource(ResumableSource[ChartMogulSourceConfig, ChartMogulResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CHARTMOGULdiff --git a/posthog/temporal/data_imports/sources/checkout_com/source.py b/posthog/temporal/data_imports/sources/checkout_com/source.pyindex ea9cc66b3fec..aa80bce883a9 100644--- a/posthog/temporal/data_imports/sources/checkout_com/source.py+++ b/posthog/temporal/data_imports/sources/checkout_com/source.py@@ -39,6 +39,8 @@ _DISPUTES_INCREMENTAL_FIELDS: list[IncrementalField] = [@SourceRegistry.registerclass CheckoutComSource(ResumableSource[CheckoutComSourceConfig, CheckoutComResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CHECKOUTCOMdiff --git a/posthog/temporal/data_imports/sources/circleci/source.py b/posthog/temporal/data_imports/sources/circleci/source.pyindex d97dde4e4bb8..ab0ba2287007 100644--- a/posthog/temporal/data_imports/sources/circleci/source.py+++ b/posthog/temporal/data_imports/sources/circleci/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CircleCISource(ResumableSource[CircleCISourceConfig, CircleCIResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CIRCLECIdiff --git a/posthog/temporal/data_imports/sources/clari/source.py b/posthog/temporal/data_imports/sources/clari/source.pyindex ec15a95103d0..2c6de81df3a8 100644--- a/posthog/temporal/data_imports/sources/clari/source.py+++ b/posthog/temporal/data_imports/sources/clari/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ClariSource(ResumableSource[ClariSourceConfig, ClariResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CLARIdiff --git a/posthog/temporal/data_imports/sources/clerk/source.py b/posthog/temporal/data_imports/sources/clerk/source.pyindex b9a1d37cba0d..6161a51117e0 100644--- a/posthog/temporal/data_imports/sources/clerk/source.py+++ b/posthog/temporal/data_imports/sources/clerk/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ClerkSource(ResumableSource[ClerkSourceConfig, ClerkResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CLERKdiff --git a/posthog/temporal/data_imports/sources/clickup/source.py b/posthog/temporal/data_imports/sources/clickup/source.pyindex 8657f8e4616c..4c5de4d88b1c 100644--- a/posthog/temporal/data_imports/sources/clickup/source.py+++ b/posthog/temporal/data_imports/sources/clickup/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ClickUpSource(ResumableSource[ClickUpSourceConfig, ClickUpResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CLICKUPdiff --git a/posthog/temporal/data_imports/sources/close/source.py b/posthog/temporal/data_imports/sources/close/source.pyindex e15ab26d905a..5938e840de58 100644--- a/posthog/temporal/data_imports/sources/close/source.py+++ b/posthog/temporal/data_imports/sources/close/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CloseSource(ResumableSource[CloseSourceConfig, CloseResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CLOSEdiff --git a/posthog/temporal/data_imports/sources/cloudflare/source.py b/posthog/temporal/data_imports/sources/cloudflare/source.pyindex 73a361255a33..11f6750e1587 100644--- a/posthog/temporal/data_imports/sources/cloudflare/source.py+++ b/posthog/temporal/data_imports/sources/cloudflare/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CloudflareSource(SimpleSource[CloudflareSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CLOUDFLAREdiff --git a/posthog/temporal/data_imports/sources/coda/source.py b/posthog/temporal/data_imports/sources/coda/source.pyindex 28b4273c64fd..783f6e1221da 100644--- a/posthog/temporal/data_imports/sources/coda/source.py+++ b/posthog/temporal/data_imports/sources/coda/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CodaSource(SimpleSource[CodaSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CODAdiff --git a/posthog/temporal/data_imports/sources/commercetools/source.py b/posthog/temporal/data_imports/sources/commercetools/source.pyindex 9af57f4d8aad..6716212313b6 100644--- a/posthog/temporal/data_imports/sources/commercetools/source.py+++ b/posthog/temporal/data_imports/sources/commercetools/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CommercetoolsSource(ResumableSource[CommercetoolsSourceConfig, CommercetoolsResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.COMMERCETOOLSdiff --git a/posthog/temporal/data_imports/sources/common/base.py b/posthog/temporal/data_imports/sources/common/base.pyindex b23d4769ab77..bd87ef680f22 100644--- a/posthog/temporal/data_imports/sources/common/base.py+++ b/posthog/temporal/data_imports/sources/common/base.py@@ -1,7 +1,10 @@import dataclassesfrom abc import ABC, abstractmethod+from collections.abc import Mappingfrom typing import TYPE_CHECKING, Any, Generic, Optional, TypeVar, Union+import structlog+from posthog.temporal.data_imports.sources.common.webhook_s3 import WebhookSourceManagerif TYPE_CHECKING:@@ -26,10 +29,48 @@ from posthog.temporal.data_imports.sources.common.resumable import ResumableSourfrom posthog.temporal.data_imports.sources.common.schema import SourceSchemafrom posthog.temporal.data_imports.sources.generated_configs import get_config_for_source-from products.data_warehouse.backend.types import ExternalDataSourceType+from products.data_warehouse.backend.types import ExternalDataSourceType, IncrementalField++logger = structlog.get_logger(__name__)MARKETING_ANALYTICS_SUGGESTED_TABLE_TOOLTIP = "Required for Marketing analytics to work with this source."++def _incremental_field_labels(fields: list[IncrementalField]) -> list[str]:+ labels = []+ for f in fields:+ label = f.get("label") or f.get("field")+ if label:+ labels.append(label)+ return labels+++def _documented_table_from_schema(schema: SourceSchema, canonical: Mapping[str, Any]) -> dict[str, Any]:+ """Shape a `SourceSchema` (+ curated canonical entry) into a public-docs table entry."""+ if schema.webhook_only:+ sync_methods = ["Webhook only"]+ else:+ sync_methods = []+ if schema.supports_webhooks:+ sync_methods.append("Webhook")+ if schema.supports_cdc:+ sync_methods.append("CDC")+ if schema.supports_incremental:+ sync_methods.append("Incremental")+ if schema.supports_append and not schema.supports_incremental:+ sync_methods.append("Append only")+ sync_methods.append("Full refresh")++ return {+ "name": schema.name,+ "label": schema.label or schema.name,+ "description": schema.description or canonical.get("description"),+ "sync_methods": sync_methods,+ "incremental_fields": _incremental_field_labels(schema.incremental_fields),+ "primary_keys": schema.detected_primary_keys or [],+ }++ConfigType = TypeVar("ConfigType", bound=Config)ConfigType_contra = TypeVar("ConfigType_contra", bound=Config, contravariant=True)@@ -56,6 +97,13 @@ class _BaseSource(ABC, Generic[ConfigType]):# via their own override if a driver genuinely can't project columns).supports_column_selection: bool = False+ # Opt-in: set `True` only on sources whose `get_schemas` iterates a static endpoint+ # catalog with NO I/O — no network, no DB, no credentials. Those sources surface their+ # table list in public docs (see `get_documented_tables`). Left `False` for SQL / file /+ # API sources that discover schemas over a live connection, since calling their+ # `get_schemas` with a placeholder config could connect, hang, or close the DB session.+ lists_tables_without_credentials: bool = False+@property@abstractmethoddef source_type(self) -> ExternalDataSourceType:@@ -107,6 +155,44 @@ class _BaseSource(ABC, Generic[ConfigType]):"""raise NotImplementedError()+ def _placeholder_config(self) -> ConfigType:+ """Build a credential-free config instance for static, no-network schema listing.++ Required (no-default) fields are filled with empty placeholders. We construct the+ dataclass directly (bypassing `from_dict`), so no converters or validation run and+ the resulting object only satisfies the `get_schemas` signature — it is never used+ to make a request.+ """+ cls = self._config_class+ kwargs: dict[str, Any] = {}+ for f in dataclasses.fields(cls):+ # `init=False` fields aren't accepted by `__init__`; passing them raises TypeError.+ if not f.init:+ continue+ if f.default is not dataclasses.MISSING or f.default_factory is not dataclasses.MISSING:+ continue+ kwargs[f.name] = ""+ return cls(**kwargs)++ def get_documented_tables(self) -> list[dict[str, Any]]:+ """Credential-free table catalog for public documentation (posthog.com).++ Returns one entry per well-known table for fixed-schema sources, merging+ `get_schemas` metadata (sync methods, incremental fields) with curated+ `get_canonical_descriptions`. SQL / file sources (user-defined schemas) return+ ``[]`` so their docs render a generic "discovered from your source" note. Any+ failure degrades to ``[]`` — this must never break the public endpoint.+ """+ if not self.lists_tables_without_credentials:+ return []+ try:+ schemas = self.get_schemas(self._placeholder_config(), team_id=0)+ canonical = self.get_canonical_descriptions()+ return [_documented_table_from_schema(schema, canonical.get(schema.name, {})) for schema in schemas]+ except Exception:+ logger.exception("get_documented_tables failed", source_type=str(self.source_type))+ return []+@property@abstractmethoddef get_source_config(self) -> SourceConfig:diff --git a/posthog/temporal/data_imports/sources/confluence/source.py b/posthog/temporal/data_imports/sources/confluence/source.pyindex 5bff8db488d9..f35e7b52aee7 100644--- a/posthog/temporal/data_imports/sources/confluence/source.py+++ b/posthog/temporal/data_imports/sources/confluence/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ConfluenceSource(ResumableSource[ConfluenceSourceConfig, ConfluenceResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CONFLUENCEdiff --git a/posthog/temporal/data_imports/sources/convertkit/source.py b/posthog/temporal/data_imports/sources/convertkit/source.pyindex 80335e5a3598..2d224d2dc208 100644--- a/posthog/temporal/data_imports/sources/convertkit/source.py+++ b/posthog/temporal/data_imports/sources/convertkit/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ConvertKitSource(ResumableSource[ConvertKitSourceConfig, ConvertKitResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CONVERTKITdiff --git a/posthog/temporal/data_imports/sources/copper/source.py b/posthog/temporal/data_imports/sources/copper/source.pyindex 7570027b1ea7..65448ead0052 100644--- a/posthog/temporal/data_imports/sources/copper/source.py+++ b/posthog/temporal/data_imports/sources/copper/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CopperSource(ResumableSource[CopperSourceConfig, CopperResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.COPPERdiff --git a/posthog/temporal/data_imports/sources/coupa/source.py b/posthog/temporal/data_imports/sources/coupa/source.pyindex 2486a94f0ca4..e9b347808ca0 100644--- a/posthog/temporal/data_imports/sources/coupa/source.py+++ b/posthog/temporal/data_imports/sources/coupa/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CoupaSource(ResumableSource[CoupaSourceConfig, CoupaResumeConfig], ValidateDatabaseHostMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.COUPAdiff --git a/posthog/temporal/data_imports/sources/crunchbase/source.py b/posthog/temporal/data_imports/sources/crunchbase/source.pyindex 842a132a24d9..13d05f133e5d 100644--- a/posthog/temporal/data_imports/sources/crunchbase/source.py+++ b/posthog/temporal/data_imports/sources/crunchbase/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CrunchbaseSource(ResumableSource[CrunchbaseSourceConfig, CrunchbaseResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CRUNCHBASEdiff --git a/posthog/temporal/data_imports/sources/culture_amp/source.py b/posthog/temporal/data_imports/sources/culture_amp/source.pyindex 534c59acbdbf..9968fbaa000b 100644--- a/posthog/temporal/data_imports/sources/culture_amp/source.py+++ b/posthog/temporal/data_imports/sources/culture_amp/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass CultureAmpSource(ResumableSource[CultureAmpSourceConfig, CultureAmpResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CULTUREAMPdiff --git a/posthog/temporal/data_imports/sources/customer_io/source.py b/posthog/temporal/data_imports/sources/customer_io/source.pyindex 98b8b97ed38c..143ec608eaad 100644--- a/posthog/temporal/data_imports/sources/customer_io/source.py+++ b/posthog/temporal/data_imports/sources/customer_io/source.py@@ -80,6 +80,8 @@ class CustomerIOSource(SimpleSource[CustomerIOSourceConfig],WebhookSource[CustomerIOSourceConfig],):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.CUSTOMERIOdiff --git a/posthog/temporal/data_imports/sources/datadog/source.py b/posthog/temporal/data_imports/sources/datadog/source.pyindex f02bbd36dbf0..98682b7ff0f4 100644--- a/posthog/temporal/data_imports/sources/datadog/source.py+++ b/posthog/temporal/data_imports/sources/datadog/source.py@@ -35,6 +35,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass DatadogSource(ResumableSource[DatadogSourceConfig, DatadogResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.DATADOGdiff --git a/posthog/temporal/data_imports/sources/deel/source.py b/posthog/temporal/data_imports/sources/deel/source.pyindex 37f1d4568537..7f8cb49780b2 100644--- a/posthog/temporal/data_imports/sources/deel/source.py+++ b/posthog/temporal/data_imports/sources/deel/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass DeelSource(ResumableSource[DeelSourceConfig, DeelResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.DEELdiff --git a/posthog/temporal/data_imports/sources/delighted/source.py b/posthog/temporal/data_imports/sources/delighted/source.pyindex eba38fef5a20..a3770d04a2cf 100644--- a/posthog/temporal/data_imports/sources/delighted/source.py+++ b/posthog/temporal/data_imports/sources/delighted/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass DelightedSource(ResumableSource[DelightedSourceConfig, DelightedResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.DELIGHTEDdiff --git a/posthog/temporal/data_imports/sources/dixa/source.py b/posthog/temporal/data_imports/sources/dixa/source.pyindex eb2e42d613d3..8578084d6c95 100644--- a/posthog/temporal/data_imports/sources/dixa/source.py+++ b/posthog/temporal/data_imports/sources/dixa/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass DixaSource(ResumableSource[DixaSourceConfig, DixaResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.DIXAdiff --git a/posthog/temporal/data_imports/sources/drip/source.py b/posthog/temporal/data_imports/sources/drip/source.pyindex 6e1219d36683..4e427a9ea765 100644--- a/posthog/temporal/data_imports/sources/drip/source.py+++ b/posthog/temporal/data_imports/sources/drip/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass DripSource(ResumableSource[DripSourceConfig, DripResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.DRIPdiff --git a/posthog/temporal/data_imports/sources/eventbrite/source.py b/posthog/temporal/data_imports/sources/eventbrite/source.pyindex 355bd6a72bae..5bf1fb1913ea 100644--- a/posthog/temporal/data_imports/sources/eventbrite/source.py+++ b/posthog/temporal/data_imports/sources/eventbrite/source.py@@ -32,6 +32,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass EventbriteSource(ResumableSource[EventbriteSourceConfig, EventbriteResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.EVENTBRITEdiff --git a/posthog/temporal/data_imports/sources/freshdesk/source.py b/posthog/temporal/data_imports/sources/freshdesk/source.pyindex ca0e2821aac1..79e68e3b1052 100644--- a/posthog/temporal/data_imports/sources/freshdesk/source.py+++ b/posthog/temporal/data_imports/sources/freshdesk/source.py@@ -38,6 +38,8 @@ _SUBDOMAIN_REGEX = re.compile(r"^[a-zA-Z0-9-]+$")@SourceRegistry.registerclass FreshdeskSource(ResumableSource[FreshdeskSourceConfig, FreshdeskResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.FRESHDESKdiff --git a/posthog/temporal/data_imports/sources/freshsales/source.py b/posthog/temporal/data_imports/sources/freshsales/source.pyindex 47866560be9c..206c97c9972e 100644--- a/posthog/temporal/data_imports/sources/freshsales/source.py+++ b/posthog/temporal/data_imports/sources/freshsales/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass FreshsalesSource(ResumableSource[FreshsalesSourceConfig, FreshsalesResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.FRESHSALESdiff --git a/posthog/temporal/data_imports/sources/front/source.py b/posthog/temporal/data_imports/sources/front/source.pyindex ad8b90e6b4f3..c7c6df577259 100644--- a/posthog/temporal/data_imports/sources/front/source.py+++ b/posthog/temporal/data_imports/sources/front/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass FrontSource(ResumableSource[FrontSourceConfig, FrontResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.FRONTdiff --git a/posthog/temporal/data_imports/sources/fullstory/source.py b/posthog/temporal/data_imports/sources/fullstory/source.pyindex cc7ce2de38ec..dc429c10519b 100644--- a/posthog/temporal/data_imports/sources/fullstory/source.py+++ b/posthog/temporal/data_imports/sources/fullstory/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass FullStorySource(ResumableSource[FullStorySourceConfig, FullStoryResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.FULLSTORYdiff --git a/posthog/temporal/data_imports/sources/github/source.py b/posthog/temporal/data_imports/sources/github/source.pyindex cbddea4a2c81..2ca79064cd71 100644--- a/posthog/temporal/data_imports/sources/github/source.py+++ b/posthog/temporal/data_imports/sources/github/source.py@@ -59,6 +59,8 @@ class GithubSource(WebhookSource[GithubSourceConfig],OAuthMixin,):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GITHUBdiff --git a/posthog/temporal/data_imports/sources/gitlab/source.py b/posthog/temporal/data_imports/sources/gitlab/source.pyindex 1637fd7d1e86..7a4e6b11841f 100644--- a/posthog/temporal/data_imports/sources/gitlab/source.py+++ b/posthog/temporal/data_imports/sources/gitlab/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GitLabSource(ResumableSource[GitLabSourceConfig, GitLabResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GITLABdiff --git a/posthog/temporal/data_imports/sources/gladly/source.py b/posthog/temporal/data_imports/sources/gladly/source.pyindex f2e8f205d9d0..6e743d252a7e 100644--- a/posthog/temporal/data_imports/sources/gladly/source.py+++ b/posthog/temporal/data_imports/sources/gladly/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GladlySource(ResumableSource[GladlySourceConfig, GladlyResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GLADLYdiff --git a/posthog/temporal/data_imports/sources/gocardless/source.py b/posthog/temporal/data_imports/sources/gocardless/source.pyindex 69e80c79d8e8..346a7bf41287 100644--- a/posthog/temporal/data_imports/sources/gocardless/source.py+++ b/posthog/temporal/data_imports/sources/gocardless/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GoCardlessSource(ResumableSource[GoCardlessSourceConfig, GoCardlessResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GOCARDLESSdiff --git a/posthog/temporal/data_imports/sources/gong/source.py b/posthog/temporal/data_imports/sources/gong/source.pyindex f2ae39cf5437..bf6a53384b57 100644--- a/posthog/temporal/data_imports/sources/gong/source.py+++ b/posthog/temporal/data_imports/sources/gong/source.py@@ -29,6 +29,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GongSource(ResumableSource[GongSourceConfig, GongResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GONGdiff --git a/posthog/temporal/data_imports/sources/google_analytics/source.py b/posthog/temporal/data_imports/sources/google_analytics/source.pyindex 917eeb177433..a591f3b511da 100644--- a/posthog/temporal/data_imports/sources/google_analytics/source.py+++ b/posthog/temporal/data_imports/sources/google_analytics/source.py@@ -37,6 +37,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GoogleAnalyticsSource(ResumableSource[GoogleAnalyticsSourceConfig, GoogleAnalyticsResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GOOGLEANALYTICSdiff --git a/posthog/temporal/data_imports/sources/google_search_console/source.py b/posthog/temporal/data_imports/sources/google_search_console/source.pyindex 2f22290bf9c4..c66d5623443c 100644--- a/posthog/temporal/data_imports/sources/google_search_console/source.py+++ b/posthog/temporal/data_imports/sources/google_search_console/source.py@@ -41,6 +41,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceTypeclass GoogleSearchConsoleSource(ResumableSource[GoogleSearchConsoleSourceConfig, GoogleSearchConsoleResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GOOGLESEARCHCONSOLEdiff --git a/posthog/temporal/data_imports/sources/gorgias/source.py b/posthog/temporal/data_imports/sources/gorgias/source.pyindex 10c42ba4bc1a..387861b33dfc 100644--- a/posthog/temporal/data_imports/sources/gorgias/source.py+++ b/posthog/temporal/data_imports/sources/gorgias/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GorgiasSource(ResumableSource[GorgiasSourceConfig, GorgiasResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GORGIASdiff --git a/posthog/temporal/data_imports/sources/granola/source.py b/posthog/temporal/data_imports/sources/granola/source.pyindex 13eff1ee7d44..d34177a9feb4 100644--- a/posthog/temporal/data_imports/sources/granola/source.py+++ b/posthog/temporal/data_imports/sources/granola/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GranolaSource(ResumableSource[GranolaSourceConfig, GranolaResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GRANOLAdiff --git a/posthog/temporal/data_imports/sources/greenhouse/source.py b/posthog/temporal/data_imports/sources/greenhouse/source.pyindex fc880f38300c..0f3015161b16 100644--- a/posthog/temporal/data_imports/sources/greenhouse/source.py+++ b/posthog/temporal/data_imports/sources/greenhouse/source.py@@ -32,6 +32,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GreenhouseSource(ResumableSource[GreenhouseSourceConfig, GreenhouseResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GREENHOUSEdiff --git a/posthog/temporal/data_imports/sources/guru/source.py b/posthog/temporal/data_imports/sources/guru/source.pyindex 229936ade30a..74beb561dc0f 100644--- a/posthog/temporal/data_imports/sources/guru/source.py+++ b/posthog/temporal/data_imports/sources/guru/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass GuruSource(ResumableSource[GuruSourceConfig, GuruResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.GURUdiff --git a/posthog/temporal/data_imports/sources/hibob/source.py b/posthog/temporal/data_imports/sources/hibob/source.pyindex 293fbaa02700..d39e891eb523 100644--- a/posthog/temporal/data_imports/sources/hibob/source.py+++ b/posthog/temporal/data_imports/sources/hibob/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass HiBobSource(SimpleSource[HiBobSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.HIBOBdiff --git a/posthog/temporal/data_imports/sources/hubspot/source.py b/posthog/temporal/data_imports/sources/hubspot/source.pyindex 7822f023c14a..ac7e7546f04d 100644--- a/posthog/temporal/data_imports/sources/hubspot/source.py+++ b/posthog/temporal/data_imports/sources/hubspot/source.py@@ -41,6 +41,8 @@ class HubspotSourceOldConfig(config.Config):@SourceRegistry.registerclass HubspotSource(ResumableSource[HubspotSourceConfig | HubspotSourceOldConfig, HubspotResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.HUBSPOTdiff --git a/posthog/temporal/data_imports/sources/incident_io/source.py b/posthog/temporal/data_imports/sources/incident_io/source.pyindex cdcdb69531cc..4b89ace37cbe 100644--- a/posthog/temporal/data_imports/sources/incident_io/source.py+++ b/posthog/temporal/data_imports/sources/incident_io/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass IncidentIoSource(ResumableSource[IncidentIoSourceConfig, IncidentIoResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.INCIDENTIOdiff --git a/posthog/temporal/data_imports/sources/intercom/source.py b/posthog/temporal/data_imports/sources/intercom/source.pyindex 315309c70cf5..5c12d1608732 100644--- a/posthog/temporal/data_imports/sources/intercom/source.py+++ b/posthog/temporal/data_imports/sources/intercom/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass IntercomSource(SimpleSource[IntercomSourceConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.INTERCOMdiff --git a/posthog/temporal/data_imports/sources/iterable/source.py b/posthog/temporal/data_imports/sources/iterable/source.pyindex 449589783439..8a9379d32896 100644--- a/posthog/temporal/data_imports/sources/iterable/source.py+++ b/posthog/temporal/data_imports/sources/iterable/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass IterableSource(ResumableSource[IterableSourceConfig, IterableResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ITERABLEdiff --git a/posthog/temporal/data_imports/sources/jira/source.py b/posthog/temporal/data_imports/sources/jira/source.pyindex d5ed1e230dd9..869ac5e6b2a8 100644--- a/posthog/temporal/data_imports/sources/jira/source.py+++ b/posthog/temporal/data_imports/sources/jira/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass JiraSource(ResumableSource[JiraSourceConfig, JiraResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.JIRAdiff --git a/posthog/temporal/data_imports/sources/klaviyo/source.py b/posthog/temporal/data_imports/sources/klaviyo/source.pyindex 780064e85ec4..c2cefb20e388 100644--- a/posthog/temporal/data_imports/sources/klaviyo/source.py+++ b/posthog/temporal/data_imports/sources/klaviyo/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass KlaviyoSource(ResumableSource[KlaviyoSourceConfig, KlaviyoResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.KLAVIYOdiff --git a/posthog/temporal/data_imports/sources/kustomer/source.py b/posthog/temporal/data_imports/sources/kustomer/source.pyindex c19e051832d3..05f38f46b820 100644--- a/posthog/temporal/data_imports/sources/kustomer/source.py+++ b/posthog/temporal/data_imports/sources/kustomer/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass KustomerSource(ResumableSource[KustomerSourceConfig, KustomerResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.KUSTOMERdiff --git a/posthog/temporal/data_imports/sources/lattice/source.py b/posthog/temporal/data_imports/sources/lattice/source.pyindex c5e442110709..74d4df21c286 100644--- a/posthog/temporal/data_imports/sources/lattice/source.py+++ b/posthog/temporal/data_imports/sources/lattice/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass LatticeSource(ResumableSource[LatticeSourceConfig, LatticeResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.LATTICEdiff --git a/posthog/temporal/data_imports/sources/launchdarkly/source.py b/posthog/temporal/data_imports/sources/launchdarkly/source.pyindex 74d6bce82239..c445199158a9 100644--- a/posthog/temporal/data_imports/sources/launchdarkly/source.py+++ b/posthog/temporal/data_imports/sources/launchdarkly/source.py@@ -32,6 +32,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass LaunchDarklySource(ResumableSource[LaunchDarklySourceConfig, LaunchDarklyResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.LAUNCHDARKLYdiff --git a/posthog/temporal/data_imports/sources/lever/source.py b/posthog/temporal/data_imports/sources/lever/source.pyindex 07f80d20e127..44eea6aedfc6 100644--- a/posthog/temporal/data_imports/sources/lever/source.py+++ b/posthog/temporal/data_imports/sources/lever/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass LeverSource(ResumableSource[LeverSourceConfig, LeverResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.LEVERdiff --git a/posthog/temporal/data_imports/sources/lightspeed_retail/source.py b/posthog/temporal/data_imports/sources/lightspeed_retail/source.pyindex 8e160b5c7694..de60615ed15f 100644--- a/posthog/temporal/data_imports/sources/lightspeed_retail/source.py+++ b/posthog/temporal/data_imports/sources/lightspeed_retail/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass LightspeedRetailSource(ResumableSource[LightspeedRetailSourceConfig, LightspeedRetailResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.LIGHTSPEEDRETAILdiff --git a/posthog/temporal/data_imports/sources/linear/source.py b/posthog/temporal/data_imports/sources/linear/source.pyindex 63f80e16a70f..e5d7e481dc80 100644--- a/posthog/temporal/data_imports/sources/linear/source.py+++ b/posthog/temporal/data_imports/sources/linear/source.py@@ -29,6 +29,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass LinearSource(ResumableSource[LinearSourceConfig, LinearResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.LINEARdiff --git a/posthog/temporal/data_imports/sources/linkedin_ads/source.py b/posthog/temporal/data_imports/sources/linkedin_ads/source.pyindex 77bdbd8d1644..24b21a99c138 100644--- a/posthog/temporal/data_imports/sources/linkedin_ads/source.py+++ b/posthog/temporal/data_imports/sources/linkedin_ads/source.py@@ -36,6 +36,8 @@ from .linkedin_ads import (@SourceRegistry.registerclass LinkedInAdsSource(ResumableSource[LinkedinAdsSourceConfig, LinkedInAdsResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.LINKEDINADSdiff --git a/posthog/temporal/data_imports/sources/mailchimp/source.py b/posthog/temporal/data_imports/sources/mailchimp/source.pyindex a9e5f5220a01..da6173b814e3 100644--- a/posthog/temporal/data_imports/sources/mailchimp/source.py+++ b/posthog/temporal/data_imports/sources/mailchimp/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MailchimpSource(ResumableSource[MailchimpSourceConfig, MailchimpResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.MAILCHIMPdiff --git a/posthog/temporal/data_imports/sources/mailerlite/source.py b/posthog/temporal/data_imports/sources/mailerlite/source.pyindex a5e080c67202..7ad2b1651aca 100644--- a/posthog/temporal/data_imports/sources/mailerlite/source.py+++ b/posthog/temporal/data_imports/sources/mailerlite/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MailerLiteSource(ResumableSource[MailerLiteSourceConfig, MailerLiteResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.MAILERLITEdiff --git a/posthog/temporal/data_imports/sources/mailgun/source.py b/posthog/temporal/data_imports/sources/mailgun/source.pyindex 21384f56c652..42f473c04f7a 100644--- a/posthog/temporal/data_imports/sources/mailgun/source.py+++ b/posthog/temporal/data_imports/sources/mailgun/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MailgunSource(ResumableSource[MailgunSourceConfig, MailgunResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.MAILGUNdiff --git a/posthog/temporal/data_imports/sources/mailjet/source.py b/posthog/temporal/data_imports/sources/mailjet/source.pyindex 822c775b306d..626fe01e553f 100644--- a/posthog/temporal/data_imports/sources/mailjet/source.py+++ b/posthog/temporal/data_imports/sources/mailjet/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MailJetSource(ResumableSource[MailjetSourceConfig, MailjetResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.MAILJETdiff --git a/posthog/temporal/data_imports/sources/matomo/source.py b/posthog/temporal/data_imports/sources/matomo/source.pyindex ec888dae6c46..f034a424c770 100644--- a/posthog/temporal/data_imports/sources/matomo/source.py+++ b/posthog/temporal/data_imports/sources/matomo/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MatomoSource(ResumableSource[MatomoSourceConfig, MatomoResumeConfig], ValidateDatabaseHostMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.MATOMOdiff --git a/posthog/temporal/data_imports/sources/meta_ads/source.py b/posthog/temporal/data_imports/sources/meta_ads/source.pyindex a9e1ba01671c..6b9827624bb3 100644--- a/posthog/temporal/data_imports/sources/meta_ads/source.py+++ b/posthog/temporal/data_imports/sources/meta_ads/source.py@@ -34,6 +34,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MetaAdsSource(ResumableSource[MetaAdsSourceConfig, MetaAdsResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.METAADSdiff --git a/posthog/temporal/data_imports/sources/mixpanel/source.py b/posthog/temporal/data_imports/sources/mixpanel/source.pyindex c24cdeb08cc1..ff7b0dc1395b 100644--- a/posthog/temporal/data_imports/sources/mixpanel/source.py+++ b/posthog/temporal/data_imports/sources/mixpanel/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MixpanelSource(ResumableSource[MixpanelSourceConfig, MixpanelResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.MIXPANELdiff --git a/posthog/temporal/data_imports/sources/mollie/source.py b/posthog/temporal/data_imports/sources/mollie/source.pyindex b6754a988ea0..d861b9ddaeff 100644--- a/posthog/temporal/data_imports/sources/mollie/source.py+++ b/posthog/temporal/data_imports/sources/mollie/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MollieSource(ResumableSource[MollieSourceConfig, MollieResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.MOLLIEdiff --git a/posthog/temporal/data_imports/sources/monday/source.py b/posthog/temporal/data_imports/sources/monday/source.pyindex 1bd34ce40029..70d62460dc90 100644--- a/posthog/temporal/data_imports/sources/monday/source.py+++ b/posthog/temporal/data_imports/sources/monday/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass MondaySource(SimpleSource[MondaySourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.MONDAYdiff --git a/posthog/temporal/data_imports/sources/notion/source.py b/posthog/temporal/data_imports/sources/notion/source.pyindex 85c116c88338..700269b5f69f 100644--- a/posthog/temporal/data_imports/sources/notion/source.py+++ b/posthog/temporal/data_imports/sources/notion/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass NotionSource(ResumableSource[NotionSourceConfig, NotionResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.NOTIONdiff --git a/posthog/temporal/data_imports/sources/okta/source.py b/posthog/temporal/data_imports/sources/okta/source.pyindex 6ed9ed5bf85e..2f54f3d9c1f7 100644--- a/posthog/temporal/data_imports/sources/okta/source.py+++ b/posthog/temporal/data_imports/sources/okta/source.py@@ -29,6 +29,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass OktaSource(ResumableSource[OktaSourceConfig, OktaResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.OKTAdiff --git a/posthog/temporal/data_imports/sources/omnisend/source.py b/posthog/temporal/data_imports/sources/omnisend/source.pyindex c025d2c2d25d..84c3f5171d71 100644--- a/posthog/temporal/data_imports/sources/omnisend/source.py+++ b/posthog/temporal/data_imports/sources/omnisend/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass OmnisendSource(ResumableSource[OmnisendSourceConfig, OmnisendResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.OMNISENDdiff --git a/posthog/temporal/data_imports/sources/optimizely/source.py b/posthog/temporal/data_imports/sources/optimizely/source.pyindex 8cbfe985641e..41974c6a08b3 100644--- a/posthog/temporal/data_imports/sources/optimizely/source.py+++ b/posthog/temporal/data_imports/sources/optimizely/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass OptimizelySource(SimpleSource[OptimizelySourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.OPTIMIZELYdiff --git a/posthog/temporal/data_imports/sources/ortto/source.py b/posthog/temporal/data_imports/sources/ortto/source.pyindex 0addbbcd858d..2ab35994c3fb 100644--- a/posthog/temporal/data_imports/sources/ortto/source.py+++ b/posthog/temporal/data_imports/sources/ortto/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass OrttoSource(ResumableSource[OrttoSourceConfig, OrttoResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ORTTOdiff --git a/posthog/temporal/data_imports/sources/outbrain/source.py b/posthog/temporal/data_imports/sources/outbrain/source.pyindex 36ef290f8851..b40b4508e31f 100644--- a/posthog/temporal/data_imports/sources/outbrain/source.py+++ b/posthog/temporal/data_imports/sources/outbrain/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass OutbrainSource(ResumableSource[OutbrainSourceConfig, OutbrainResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.OUTBRAINdiff --git a/posthog/temporal/data_imports/sources/paddle/source.py b/posthog/temporal/data_imports/sources/paddle/source.pyindex a77b463f5915..b43be36bed02 100644--- a/posthog/temporal/data_imports/sources/paddle/source.py+++ b/posthog/temporal/data_imports/sources/paddle/source.py@@ -31,6 +31,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PaddleSource(ResumableSource[PaddleSourceConfig, PaddleResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PADDLEdiff --git a/posthog/temporal/data_imports/sources/pagerduty/source.py b/posthog/temporal/data_imports/sources/pagerduty/source.pyindex a1b865f42edc..d20811add70b 100644--- a/posthog/temporal/data_imports/sources/pagerduty/source.py+++ b/posthog/temporal/data_imports/sources/pagerduty/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PagerDutySource(ResumableSource[PagerDutySourceConfig, PagerDutyResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PAGERDUTYdiff --git a/posthog/temporal/data_imports/sources/pandadoc/source.py b/posthog/temporal/data_imports/sources/pandadoc/source.pyindex 7bddd07d50e7..64345acb9e31 100644--- a/posthog/temporal/data_imports/sources/pandadoc/source.py+++ b/posthog/temporal/data_imports/sources/pandadoc/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PandaDocSource(ResumableSource[PandaDocSourceConfig, PandaDocResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PANDADOCdiff --git a/posthog/temporal/data_imports/sources/pendo/source.py b/posthog/temporal/data_imports/sources/pendo/source.pyindex 18af49418c77..ad03f736195c 100644--- a/posthog/temporal/data_imports/sources/pendo/source.py+++ b/posthog/temporal/data_imports/sources/pendo/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PendoSource(ResumableSource[PendoSourceConfig, PendoResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PENDOdiff --git a/posthog/temporal/data_imports/sources/personio/source.py b/posthog/temporal/data_imports/sources/personio/source.pyindex 97e328744e38..318bc898696e 100644--- a/posthog/temporal/data_imports/sources/personio/source.py+++ b/posthog/temporal/data_imports/sources/personio/source.py@@ -29,6 +29,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PersonioSource(ResumableSource[PersonioSourceConfig, PersonioResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PERSONIOdiff --git a/posthog/temporal/data_imports/sources/pganalyze/source.py b/posthog/temporal/data_imports/sources/pganalyze/source.pyindex 274981e69c1e..dcc3f5b11459 100644--- a/posthog/temporal/data_imports/sources/pganalyze/source.py+++ b/posthog/temporal/data_imports/sources/pganalyze/source.py@@ -24,6 +24,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PgAnalyzeSource(SimpleSource[PgAnalyzeSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PGANALYZEdiff --git a/posthog/temporal/data_imports/sources/pingdom/source.py b/posthog/temporal/data_imports/sources/pingdom/source.pyindex 98ca8bc19d22..dae73e971230 100644--- a/posthog/temporal/data_imports/sources/pingdom/source.py+++ b/posthog/temporal/data_imports/sources/pingdom/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PingdomSource(ResumableSource[PingdomSourceConfig, PingdomResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PINGDOMdiff --git a/posthog/temporal/data_imports/sources/pinterest_ads/source.py b/posthog/temporal/data_imports/sources/pinterest_ads/source.pyindex 95ba0fc8aa54..b3305da1c9a8 100644--- a/posthog/temporal/data_imports/sources/pinterest_ads/source.py+++ b/posthog/temporal/data_imports/sources/pinterest_ads/source.py@@ -35,6 +35,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PinterestAdsSource(ResumableSource[PinterestAdsSourceConfig, PinterestAdsResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PINTERESTADSdiff --git a/posthog/temporal/data_imports/sources/pipedrive/source.py b/posthog/temporal/data_imports/sources/pipedrive/source.pyindex 39f930e886d7..ddc41bb42d2e 100644--- a/posthog/temporal/data_imports/sources/pipedrive/source.py+++ b/posthog/temporal/data_imports/sources/pipedrive/source.py@@ -29,6 +29,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PipedriveSource(ResumableSource[PipedriveSourceConfig, PipedriveResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PIPEDRIVEdiff --git a/posthog/temporal/data_imports/sources/plaid/source.py b/posthog/temporal/data_imports/sources/plaid/source.pyindex a334fe668d11..1ee7e1546d6c 100644--- a/posthog/temporal/data_imports/sources/plaid/source.py+++ b/posthog/temporal/data_imports/sources/plaid/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PlaidSource(ResumableSource[PlaidSourceConfig, PlaidResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PLAIDdiff --git a/posthog/temporal/data_imports/sources/plain/source.py b/posthog/temporal/data_imports/sources/plain/source.pyindex 9a609acb25e3..c877f40a6d55 100644--- a/posthog/temporal/data_imports/sources/plain/source.py+++ b/posthog/temporal/data_imports/sources/plain/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PlainSource(SimpleSource[PlainSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PLAINdiff --git a/posthog/temporal/data_imports/sources/polar/source.py b/posthog/temporal/data_imports/sources/polar/source.pyindex 2e1d7cf2e90c..e0d125bd9488 100644--- a/posthog/temporal/data_imports/sources/polar/source.py+++ b/posthog/temporal/data_imports/sources/polar/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PolarSource(ResumableSource[PolarSourceConfig, PolarResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.POLARdiff --git a/posthog/temporal/data_imports/sources/postmark/source.py b/posthog/temporal/data_imports/sources/postmark/source.pyindex dc4429f687f2..a90a3c5b9439 100644--- a/posthog/temporal/data_imports/sources/postmark/source.py+++ b/posthog/temporal/data_imports/sources/postmark/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass PostmarkSource(ResumableSource[PostmarkSourceConfig, PostmarkResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.POSTMARKdiff --git a/posthog/temporal/data_imports/sources/productboard/source.py b/posthog/temporal/data_imports/sources/productboard/source.pyindex b1e117be9254..728002ca720a 100644--- a/posthog/temporal/data_imports/sources/productboard/source.py+++ b/posthog/temporal/data_imports/sources/productboard/source.py@@ -44,6 +44,8 @@ def _probe_path(schema_name: Optional[str]) -> str:@SourceRegistry.registerclass ProductboardSource(ResumableSource[ProductboardSourceConfig, ProductboardResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.PRODUCTBOARDdiff --git a/posthog/temporal/data_imports/sources/ramp/source.py b/posthog/temporal/data_imports/sources/ramp/source.pyindex eec8dd38e796..e27ae14ffb2a 100644--- a/posthog/temporal/data_imports/sources/ramp/source.py+++ b/posthog/temporal/data_imports/sources/ramp/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass RampSource(ResumableSource[RampSourceConfig, RampResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.RAMPdiff --git a/posthog/temporal/data_imports/sources/recharge/source.py b/posthog/temporal/data_imports/sources/recharge/source.pyindex e7b467cf2d02..186b7ac483cf 100644--- a/posthog/temporal/data_imports/sources/recharge/source.py+++ b/posthog/temporal/data_imports/sources/recharge/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass RechargeSource(ResumableSource[RechargeSourceConfig, RechargeResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.RECHARGEdiff --git a/posthog/temporal/data_imports/sources/recurly/source.py b/posthog/temporal/data_imports/sources/recurly/source.pyindex 08a0611496d6..16c2e61e8cd4 100644--- a/posthog/temporal/data_imports/sources/recurly/source.py+++ b/posthog/temporal/data_imports/sources/recurly/source.py@@ -34,6 +34,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass RecurlySource(ResumableSource[RecurlySourceConfig, RecurlyResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.RECURLYdiff --git a/posthog/temporal/data_imports/sources/reddit_ads/source.py b/posthog/temporal/data_imports/sources/reddit_ads/source.pyindex 52bc0a3a88ca..04d01e432462 100644--- a/posthog/temporal/data_imports/sources/reddit_ads/source.py+++ b/posthog/temporal/data_imports/sources/reddit_ads/source.py@@ -32,6 +32,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass RedditAdsSource(ResumableSource[RedditAdsSourceConfig, RedditAdsResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.REDDITADSdiff --git a/posthog/temporal/data_imports/sources/resend/source.py b/posthog/temporal/data_imports/sources/resend/source.pyindex 6e64a783727e..9b8526300211 100644--- a/posthog/temporal/data_imports/sources/resend/source.py+++ b/posthog/temporal/data_imports/sources/resend/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ResendSource(ResumableSource[ResendSourceConfig, ResendResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.RESENDdiff --git a/posthog/temporal/data_imports/sources/revenuecat/source.py b/posthog/temporal/data_imports/sources/revenuecat/source.pyindex 44270f409784..78d6f21628c5 100644--- a/posthog/temporal/data_imports/sources/revenuecat/source.py+++ b/posthog/temporal/data_imports/sources/revenuecat/source.py@@ -94,6 +94,8 @@ class RevenueCatSource(ResumableSource[RevenueCatSourceConfig, RevenueCatResumeConfig],WebhookSource[RevenueCatSourceConfig],):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.REVENUECATdiff --git a/posthog/temporal/data_imports/sources/rippling/source.py b/posthog/temporal/data_imports/sources/rippling/source.pyindex 95c20091869f..abdefab06df4 100644--- a/posthog/temporal/data_imports/sources/rippling/source.py+++ b/posthog/temporal/data_imports/sources/rippling/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass RipplingSource(ResumableSource[RipplingSourceConfig, RipplingResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.RIPPLINGdiff --git a/posthog/temporal/data_imports/sources/rollbar/source.py b/posthog/temporal/data_imports/sources/rollbar/source.pyindex 96376877d58c..ff8cbaafa21e 100644--- a/posthog/temporal/data_imports/sources/rollbar/source.py+++ b/posthog/temporal/data_imports/sources/rollbar/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass RollbarSource(ResumableSource[RollbarSourceConfig, RollbarResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ROLLBARdiff --git a/posthog/temporal/data_imports/sources/salesforce/source.py b/posthog/temporal/data_imports/sources/salesforce/source.pyindex 4c3656c9370c..695702e68295 100644--- a/posthog/temporal/data_imports/sources/salesforce/source.py+++ b/posthog/temporal/data_imports/sources/salesforce/source.py@@ -24,6 +24,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass SalesforceSource(ResumableSource[SalesforceSourceConfig, SalesforceResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SALESFORCEdiff --git a/posthog/temporal/data_imports/sources/salesloft/source.py b/posthog/temporal/data_imports/sources/salesloft/source.pyindex 92a8b5d650af..c49d95fc07af 100644--- a/posthog/temporal/data_imports/sources/salesloft/source.py+++ b/posthog/temporal/data_imports/sources/salesloft/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass SalesLoftSource(ResumableSource[SalesLoftSourceConfig, SalesloftResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SALESLOFTdiff --git a/posthog/temporal/data_imports/sources/sendgrid/source.py b/posthog/temporal/data_imports/sources/sendgrid/source.pyindex 089b716a8d04..b65c0c745711 100644--- a/posthog/temporal/data_imports/sources/sendgrid/source.py+++ b/posthog/temporal/data_imports/sources/sendgrid/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass SendGridSource(ResumableSource[SendGridSourceConfig, SendGridResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SENDGRIDdiff --git a/posthog/temporal/data_imports/sources/sentry/source.py b/posthog/temporal/data_imports/sources/sentry/source.pyindex e8cb6a1ab682..ea06a7fbe7f1 100644--- a/posthog/temporal/data_imports/sources/sentry/source.py+++ b/posthog/temporal/data_imports/sources/sentry/source.py@@ -36,6 +36,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass SentrySource(ResumableSource[SentrySourceConfig, SentryResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SENTRYdiff --git a/posthog/temporal/data_imports/sources/servicenow/source.py b/posthog/temporal/data_imports/sources/servicenow/source.pyindex c14e2d60d6ca..aef8cd24e08d 100644--- a/posthog/temporal/data_imports/sources/servicenow/source.py+++ b/posthog/temporal/data_imports/sources/servicenow/source.py@@ -35,6 +35,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ServiceNowSource(ResumableSource[ServiceNowSourceConfig, ServiceNowResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SERVICENOWdiff --git a/posthog/temporal/data_imports/sources/shipstation/source.py b/posthog/temporal/data_imports/sources/shipstation/source.pyindex b01779dcdef3..99913211f576 100644--- a/posthog/temporal/data_imports/sources/shipstation/source.py+++ b/posthog/temporal/data_imports/sources/shipstation/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ShipStationSource(ResumableSource[ShipStationSourceConfig, ShipStationResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SHIPSTATIONdiff --git a/posthog/temporal/data_imports/sources/shopify/source.py b/posthog/temporal/data_imports/sources/shopify/source.pyindex 39eb066ff0b6..15700d6198be 100644--- a/posthog/temporal/data_imports/sources/shopify/source.py+++ b/posthog/temporal/data_imports/sources/shopify/source.py@@ -34,6 +34,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ShopifySource(ResumableSource[ShopifySourceConfig, ShopifyResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SHOPIFYdiff --git a/posthog/temporal/data_imports/sources/shortcut/source.py b/posthog/temporal/data_imports/sources/shortcut/source.pyindex 8693bab37d35..7897326ec63b 100644--- a/posthog/temporal/data_imports/sources/shortcut/source.py+++ b/posthog/temporal/data_imports/sources/shortcut/source.py@@ -26,6 +26,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ShortcutSource(SimpleSource[ShortcutSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SHORTCUTdiff --git a/posthog/temporal/data_imports/sources/smartsheet/source.py b/posthog/temporal/data_imports/sources/smartsheet/source.pyindex cc565d09c3be..4d675fc480c5 100644--- a/posthog/temporal/data_imports/sources/smartsheet/source.py+++ b/posthog/temporal/data_imports/sources/smartsheet/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass SmartsheetSource(ResumableSource[SmartsheetSourceConfig, SmartsheetResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SMARTSHEETdiff --git a/posthog/temporal/data_imports/sources/snapchat_ads/source.py b/posthog/temporal/data_imports/sources/snapchat_ads/source.pyindex ad983e54a586..def076dbdd65 100644--- a/posthog/temporal/data_imports/sources/snapchat_ads/source.py+++ b/posthog/temporal/data_imports/sources/snapchat_ads/source.py@@ -32,6 +32,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass SnapchatAdsSource(ResumableSource[SnapchatAdsSourceConfig, SnapchatResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SNAPCHATADSdiff --git a/posthog/temporal/data_imports/sources/square/source.py b/posthog/temporal/data_imports/sources/square/source.pyindex 9d50e46fc473..aa8c34825e3d 100644--- a/posthog/temporal/data_imports/sources/square/source.py+++ b/posthog/temporal/data_imports/sources/square/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass SquareSource(ResumableSource[SquareSourceConfig, SquareResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SQUAREdiff --git a/posthog/temporal/data_imports/sources/stripe/source.py b/posthog/temporal/data_imports/sources/stripe/source.pyindex 8e51e1100552..b6527289f317 100644--- a/posthog/temporal/data_imports/sources/stripe/source.py+++ b/posthog/temporal/data_imports/sources/stripe/source.py@@ -95,6 +95,8 @@ class StripeSource(WebhookSource[StripeSourceConfig],OAuthMixin,):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.STRIPEdiff --git a/posthog/temporal/data_imports/sources/surveymonkey/source.py b/posthog/temporal/data_imports/sources/surveymonkey/source.pyindex bdbba46f2979..abe822e2a4a3 100644--- a/posthog/temporal/data_imports/sources/surveymonkey/source.py+++ b/posthog/temporal/data_imports/sources/surveymonkey/source.py@@ -40,6 +40,8 @@ def _base_url_for(config: SurveyMonkeySourceConfig) -> str:@SourceRegistry.registerclass SurveyMonkeySource(ResumableSource[SurveyMonkeySourceConfig, SurveyMonkeyResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.SURVEYMONKEYdiff --git a/posthog/temporal/data_imports/sources/taboola/source.py b/posthog/temporal/data_imports/sources/taboola/source.pyindex b180dd4c69e5..e91696b54431 100644--- a/posthog/temporal/data_imports/sources/taboola/source.py+++ b/posthog/temporal/data_imports/sources/taboola/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass TaboolaSource(ResumableSource[TaboolaSourceConfig, TaboolaResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.TABOOLAdiff --git a/posthog/temporal/data_imports/sources/temporalio/source.py b/posthog/temporal/data_imports/sources/temporalio/source.pyindex 8c8243a5ee4e..5943253d48ec 100644--- a/posthog/temporal/data_imports/sources/temporalio/source.py+++ b/posthog/temporal/data_imports/sources/temporalio/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass TemporalIOSource(ResumableSource[TemporalIOSourceConfig, TemporalIOResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.TEMPORALIOdiff --git a/posthog/temporal/data_imports/sources/tiktok_ads/source.py b/posthog/temporal/data_imports/sources/tiktok_ads/source.pyindex 49be06b9d5f6..8329cb9f1edf 100644--- a/posthog/temporal/data_imports/sources/tiktok_ads/source.py+++ b/posthog/temporal/data_imports/sources/tiktok_ads/source.py@@ -33,6 +33,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass TikTokAdsSource(ResumableSource[TikTokAdsSourceConfig, TikTokAdsResumeConfig], OAuthMixin):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.TIKTOKADSdiff --git a/posthog/temporal/data_imports/sources/trello/source.py b/posthog/temporal/data_imports/sources/trello/source.pyindex 85045cdc72e6..43140c1dc46d 100644--- a/posthog/temporal/data_imports/sources/trello/source.py+++ b/posthog/temporal/data_imports/sources/trello/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass TrelloSource(ResumableSource[TrelloSourceConfig, TrelloResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.TRELLOdiff --git a/posthog/temporal/data_imports/sources/twilio/source.py b/posthog/temporal/data_imports/sources/twilio/source.pyindex dc083d5fe06f..34189c88d9dd 100644--- a/posthog/temporal/data_imports/sources/twilio/source.py+++ b/posthog/temporal/data_imports/sources/twilio/source.py@@ -31,6 +31,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass TwilioSource(ResumableSource[TwilioSourceConfig, TwilioResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.TWILIOdiff --git a/posthog/temporal/data_imports/sources/typeform/source.py b/posthog/temporal/data_imports/sources/typeform/source.pyindex 0055023fd101..647583c54f50 100644--- a/posthog/temporal/data_imports/sources/typeform/source.py+++ b/posthog/temporal/data_imports/sources/typeform/source.py@@ -33,6 +33,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass TypeformSource(SimpleSource[TypeformSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.TYPEFORMdiff --git a/posthog/temporal/data_imports/sources/vitally/source.py b/posthog/temporal/data_imports/sources/vitally/source.pyindex 44166bfe64da..fe41eeaa217c 100644--- a/posthog/temporal/data_imports/sources/vitally/source.py+++ b/posthog/temporal/data_imports/sources/vitally/source.py@@ -35,6 +35,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass VitallySource(SimpleSource[VitallySourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.VITALLYdiff --git a/posthog/temporal/data_imports/sources/webflow/source.py b/posthog/temporal/data_imports/sources/webflow/source.pyindex 5a286e735664..1111ceed003d 100644--- a/posthog/temporal/data_imports/sources/webflow/source.py+++ b/posthog/temporal/data_imports/sources/webflow/source.py@@ -33,6 +33,10 @@ logger = structlog.get_logger(__name__)@SourceRegistry.registerclass WebflowSource(ResumableSource[WebflowSourceConfig, WebflowResumeConfig]):+ # Only the static endpoint catalog is credential-free; CMS-collection discovery (a network+ # call) is skipped when credentials are absent, so the public-docs path stays I/O-free.+ lists_tables_without_credentials = True+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.WEBFLOW@@ -73,24 +77,27 @@ class WebflowSource(ResumableSource[WebflowSourceConfig, WebflowResumeConfig]):# dynamically and expose one schema per collection. Best-effort: if the# token can't list collections (missing scope, transient error) we still# return the static endpoints rather than failing the whole source.- try:- for collection in list_collections(config.api_token, config.site_id):- slug = collection.get("slug")- if not slug:- continue- schemas.append(- SourceSchema(- name=f"{COLLECTION_SCHEMA_PREFIX}{slug}",- supports_incremental=False,- supports_append=False,- incremental_fields=[],- label=collection.get("displayName"),+ # Skip the network call entirely without credentials (e.g. the credential-free+ # public-docs catalog path), so an unauthenticated caller can't trigger it.+ if config.api_token and config.site_id:+ try:+ for collection in list_collections(config.api_token, config.site_id):+ slug = collection.get("slug")+ if not slug:+ continue+ schemas.append(+ SourceSchema(+ name=f"{COLLECTION_SCHEMA_PREFIX}{slug}",+ supports_incremental=False,+ supports_append=False,+ incremental_fields=[],+ label=collection.get("displayName"),+ ))- )- except Exception as e:- # Best-effort: a missing scope, transient network error, or schema-discovery- # bug shouldn't fail the whole source. Log so the cause is debuggable.- logger.debug("Webflow: failed to discover CMS collections, returning static endpoints only", exc_info=e)+ except Exception as e:+ # Best-effort: a missing scope, transient network error, or schema-discovery+ # bug shouldn't fail the whole source. Log so the cause is debuggable.+ logger.debug("Webflow: failed to discover CMS collections, returning static endpoints only", exc_info=e)if names is not None:names_set = set(names)diff --git a/posthog/temporal/data_imports/sources/woocommerce/source.py b/posthog/temporal/data_imports/sources/woocommerce/source.pyindex 038f408bed96..93bb1c4e97aa 100644--- a/posthog/temporal/data_imports/sources/woocommerce/source.py+++ b/posthog/temporal/data_imports/sources/woocommerce/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass WooCommerceSource(ResumableSource[WooCommerceSourceConfig, WooCommerceResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.WOOCOMMERCEdiff --git a/posthog/temporal/data_imports/sources/workos/source.py b/posthog/temporal/data_imports/sources/workos/source.pyindex b4bcb2201c0c..e45c974317f4 100644--- a/posthog/temporal/data_imports/sources/workos/source.py+++ b/posthog/temporal/data_imports/sources/workos/source.py@@ -27,6 +27,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass WorkOSSource(ResumableSource[WorkOSSourceConfig, WorkOSResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.WORKOSdiff --git a/posthog/temporal/data_imports/sources/wrike/source.py b/posthog/temporal/data_imports/sources/wrike/source.pyindex cf988b670303..b9a86c7375b9 100644--- a/posthog/temporal/data_imports/sources/wrike/source.py+++ b/posthog/temporal/data_imports/sources/wrike/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass WrikeSource(ResumableSource[WrikeSourceConfig, WrikeResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.WRIKEdiff --git a/posthog/temporal/data_imports/sources/zendesk/source.py b/posthog/temporal/data_imports/sources/zendesk/source.pyindex a6d90071a011..eb5e882c8787 100644--- a/posthog/temporal/data_imports/sources/zendesk/source.py+++ b/posthog/temporal/data_imports/sources/zendesk/source.py@@ -32,6 +32,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ZendeskSource(SimpleSource[ZendeskSourceConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ZENDESKdiff --git a/posthog/temporal/data_imports/sources/zoom/source.py b/posthog/temporal/data_imports/sources/zoom/source.pyindex a97318743762..533006b6e3b2 100644--- a/posthog/temporal/data_imports/sources/zoom/source.py+++ b/posthog/temporal/data_imports/sources/zoom/source.py@@ -28,6 +28,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ZoomSource(ResumableSource[ZoomSourceConfig, ZoomResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ZOOMdiff --git a/posthog/temporal/data_imports/sources/zuora/source.py b/posthog/temporal/data_imports/sources/zuora/source.pyindex 315aaae481d3..7173f88ce2fd 100644--- a/posthog/temporal/data_imports/sources/zuora/source.py+++ b/posthog/temporal/data_imports/sources/zuora/source.py@@ -30,6 +30,8 @@ from products.data_warehouse.backend.types import ExternalDataSourceType@SourceRegistry.registerclass ZuoraSource(ResumableSource[ZuoraSourceConfig, ZuoraResumeConfig]):+ lists_tables_without_credentials = True # static endpoint catalog — safe for public docs+@propertydef source_type(self) -> ExternalDataSourceType:return ExternalDataSourceType.ZUORAdiff --git a/products/data_warehouse/backend/api/external_data_source.py b/products/data_warehouse/backend/api/external_data_source.pyindex 58208960fc8c..526e87254e7d 100644--- a/products/data_warehouse/backend/api/external_data_source.py+++ b/products/data_warehouse/backend/api/external_data_source.py@@ -79,6 +79,7 @@ from products.data_warehouse.backend.api.external_data_schema import (source_supports_column_selection,unsupported_row_filter_reason,)+from products.data_warehouse.backend.api.public_source_configs import build_source_configsfrom products.data_warehouse.backend.data_load.service import (bulk_create_external_data_job_schedules,bulk_delete_external_data_schedules,@@ -3184,14 +3185,7 @@ class ExternalDataSourceViewSet(TeamAndOrgViewSetMixin, AccessControlViewSetMixi@action(methods=["GET"], detail=False)def wizard(self, request: Request, *arg: Any, **kwargs: Any):- sources = SourceRegistry.get_all_sources()- results = {}- for source_type, source in sources.items():- config = source.get_source_config.model_dump()- config["supportsColumnSelection"] = bool(source.supports_column_selection)- results[str(source_type)] = config-- return Response(status=status.HTTP_200_OK, data=results)+ return Response(status=status.HTTP_200_OK, data=build_source_configs())@extend_schema(parameters=[diff --git a/products/data_warehouse/backend/api/public_source_configs.py b/products/data_warehouse/backend/api/public_source_configs.pyindex 68819696b0f5..d54fbfd48d18 100644--- a/products/data_warehouse/backend/api/public_source_configs.py+++ b/products/data_warehouse/backend/api/public_source_configs.py@@ -1,3 +1,4 @@+import structlogfrom drf_spectacular.utils import extend_schemafrom rest_framework import permissions, status, viewsetsfrom rest_framework.request import Request@@ -7,12 +8,39 @@ from posthog.schema import SourceConfigfrom posthog.temporal.data_imports.sources import SourceRegistry+logger = structlog.get_logger(__name__)+++def build_source_configs() -> dict[str, dict]:+ """Build the source-config catalog returned by both the public endpoint and the wizard.++ Each entry is the source's ``SourceConfig`` augmented with ``supportsColumnSelection`` and a+ credential-free ``tables`` catalog (empty for SQL/file sources with user-defined schemas). Kept+ in one place so the two endpoints can never drift (see ``test_matches_wizard_response``).+ """+ sources = SourceRegistry.get_all_sources()++ results: dict[str, dict] = {}+ for source_type, source in sources.items():+ config = source.get_source_config.model_dump()+ config["supportsColumnSelection"] = bool(source.supports_column_selection)+ # Per-source guard: a single misbehaving source must never break the whole catalog.+ try:+ config["tables"] = source.get_documented_tables()+ except Exception:+ logger.exception("build_source_configs: get_documented_tables failed", source_type=str(source_type))+ config["tables"] = []+ results[str(source_type)] = config++ return results+class PublicSourceConfigViewSet(viewsets.ViewSet):"""Public (unauthenticated) endpoint that returns the full SourceConfigfor every registered data warehouse import source — including the- input field schemas needed to render setup forms.+ input field schemas needed to render setup forms and, for fixed-schema+ sources, the documented table catalog rendered on posthog.com docs.This is the data-warehouse equivalent of ``/api/public_hog_function_templates``."""@@ -21,15 +49,14 @@ class PublicSourceConfigViewSet(viewsets.ViewSet):@extend_schema(responses={200: dict[str, SourceConfig]},- description="Returns a map of source type identifiers to their full SourceConfig.",+ description=(+ "Returns a map of source type identifiers to their full SourceConfig. Each entry is "+ "augmented with `supportsColumnSelection` and a `tables` array (the credential-free "+ "documented table catalog; empty for SQL/file sources with user-defined schemas)."+ ),)def list(self, request: Request) -> Response:- sources = SourceRegistry.get_all_sources()-- results = {}- for source_type, source in sources.items():- config = source.get_source_config.model_dump()- config["supportsColumnSelection"] = bool(source.supports_column_selection)- results[str(source_type)] = config-- return Response(status=status.HTTP_200_OK, data=results)+ # Results are deploy-static (they only change when source code ships), so this is a+ # safe candidate for caching if the endpoint ever gets hot; today it is fetched only+ # at posthog.com build time.+ return Response(status=status.HTTP_200_OK, data=build_source_configs())diff --git a/products/data_warehouse/backend/api/test/test_public_source_configs.py b/products/data_warehouse/backend/api/test/test_public_source_configs.pyindex 640353e9f832..6571077b7d2e 100644--- a/products/data_warehouse/backend/api/test/test_public_source_configs.py+++ b/products/data_warehouse/backend/api/test/test_public_source_configs.py@@ -36,3 +36,48 @@ class TestPublicSourceConfigs(APIBaseTest):data = response.json()assert isinstance(data, dict)assert len(data) > 0++ def test_every_config_has_tables_array(self):+ response = self.client.get("/api/public_source_configs/")+ data = response.json()++ for source_type, config in data.items():+ assert "tables" in config, f"{source_type} missing tables"+ assert isinstance(config["tables"], list), f"{source_type} tables is not a list"++ def test_fixed_schema_source_lists_tables(self):+ """Fixed-schema API sources (e.g. Stripe) expose their documented table catalog."""+ response = self.client.get("/api/public_source_configs/")+ stripe = response.json()["Stripe"]++ tables = stripe["tables"]+ assert len(tables) > 0+ names = {t["name"] for t in tables}+ assert "Customer" in names++ for table in tables:+ assert set(table.keys()) >= {+ "name",+ "label",+ "description",+ "sync_methods",+ "incremental_fields",+ "primary_keys",+ }+ assert isinstance(table["sync_methods"], list)+ assert len(table["sync_methods"]) > 0++ def test_sql_source_returns_no_tables(self):+ """SQL sources have user-defined schemas, so the catalog is empty (renders a generic note)."""+ response = self.client.get("/api/public_source_configs/")+ assert response.json()["Postgres"]["tables"] == []++ def test_many_fixed_schema_sources_list_tables(self):+ """Guard the opt-in mechanism: a large share of sources expose a static table catalog.++ ~140 sources set `lists_tables_without_credentials`; if the mechanism regresses this+ collapses toward zero. The loose threshold tolerates sources being added or removed.+ """+ response = self.client.get("/api/public_source_configs/")+ with_tables = [name for name, config in response.json().items() if config["tables"]]+ assert len(with_tables) >= 100, f"only {len(with_tables)} sources list tables"