provider external_data_sources GET
/api/projects/{project_id}/external_data_sources/{id}/cdc_status/ @utdk/posthog
/api/projects/{project_id}/external_data_sources/{id}/cdc_status/ external_data_sources_cdc_status_retrieve
Live CDC health for an existing source: slot/publication existence and WAL lag.
Reads from the source DB via the engine adapter. Returns ``{"enabled": false}``
when CDC is off, or the stored config plus live ``slot_exists`` /
``publication_exists`` / ``lag_bytes`` when on. 400s if the source DB is
unreachable so the UI can show a degraded/unreachable state.
- id path required
- A UUID string identifying this external data source.
- string
- project_id path required
- Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.externalDataSourcesCdcStatusRetrieve()