provider warehouse_tables POST
/api/projects/{project_id}/warehouse_tables/{id}/refresh_schema/ @utdk/posthog
/api/projects/{project_id}/warehouse_tables/{id}/refresh_schema/ Refresh table schema from source
Re-introspect a self-managed (manually linked) warehouse table's schema from its underlying source files and overwrite its stored column list. Use when the source schema has evolved (e.g. new columns in the underlying Delta/Parquet/CSV files) but queries still can't see the new columns, because PostHog serves a cached column snapshot until the table is refreshed. Not for tables managed by an external data source sync — those refresh on their own schedule.
- id path required
- A UUID string identifying this data warehouse table.
- 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.warehouseTablesRefreshSchemaCreate()