provider external_data_sources POST /api/environments/{environment_id}/external_data_sources/{id}/update_cdc_settings/
@utdk/posthog /api/environments/{environment_id}/external_data_sources/{id}/update_cdc_settings/
environments_external_data_sources_update_cdc_settings_create
Update CDC tuning fields without enabling/disabling. Lets users edit ``cdc_auto_drop_slot``, ``cdc_lag_warning_threshold_mb``, and ``cdc_lag_critical_threshold_mb`` independently. These fields are universal across engines. Engine-specific identifiers (slot name, management mode, …) are immutable post-enable — switching them requires disable + enable.
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
environmentsExternalDataSourcesUpdateCdcSettingsCreate
POST/api/environments/{environment_id}/external_data_sources/{id}/update_cdc_settings/
Update CDC tuning fields without enabling/disabling. Lets users edit ``cdc_auto_drop_slot``, ``cdc_lag_warning_threshold_mb``, and ``cdc_lag_critical_threshold_mb`` independently. These fields are universal across engines. Engine-specific identifiers (slot name, management mode, …) are immutable post-enable — switching them requires disable + enable.

Parameters

required

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

required

A UUID string identifying this external data source.

Input

required
required
required

How this source was created. Defaults to `api` on create when omitted. `web` for the in-app UI, `api` for direct API callers, `mcp` for agent/MCP tool calls. Ignored on update. * `web` - web * `api` - api * `mcp` - mcp

required
required
required
required
required
required

Whether this synced source is also live-queryable via direct connection. Defaults to true for new sources; ignored for pure direct-query sources.

required

Backend engine detected for the direct connection. * `duckdb` - duckdb * `postgres` - postgres * `mysql` - mysql * `snowflake` - snowflake

required
required
required
required

The effective access level the user has for this object

required
required

Whether this source supports per-column sync selection via `enabled_columns`.

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.environmentsExternalDataSourcesUpdateCdcSettingsCreate()