provider data_warehouse POST /api/projects/{project_id}/data_warehouse/provision/
@utdk/posthog /api/projects/{project_id}/data_warehouse/provision/
data_warehouse_provision_create
Start provisioning a managed warehouse for this organization (shared by all its teams).
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
dataWarehouseProvisionCreate
POST/api/projects/{project_id}/data_warehouse/provision/
Start provisioning a managed warehouse for this organization (shared by all its teams).

Parameters

required

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

Input

required

Name for the new database

required

Name for the provisioning project's warehouse tables (events_<name>, persons_<name>, …). Lowercase letters, numbers, and underscores only; used verbatim as the suffix. Required so the first project gets its own per-environment tables.

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