provider external_data_sources GET /api/environments/{environment_id}/external_data_sources/{id}/cdc_status/
@utdk/posthog /api/environments/{environment_id}/external_data_sources/{id}/cdc_status/
environments_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.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this external data source.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsExternalDataSourcesCdcStatusRetrieve
GET/api/environments/{environment_id}/external_data_sources/{id}/cdc_status/
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.

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

A UUID string identifying this external data source.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsExternalDataSourcesCdcStatusRetrieve()