warehouse_tables

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.

post/api/projects/{project_id}/warehouse_tables/{id}/refresh_schema/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/warehouse_tables/{id}/refresh_schema/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this data warehouse table.

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

Schema refreshed from the table's underlying source

Changes

No recorded changes to this operation across all 1 revision of this API.