provider data_warehouse POST /api/environments/{environment_id}/data_warehouse/provision/
@utdk/posthog /api/environments/{environment_id}/data_warehouse/provision/
environments_data_warehouse_provision_create
Start provisioning a managed warehouse for this organization (shared by all its teams).
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsDataWarehouseProvisionCreate
POST/api/environments/{environment_id}/data_warehouse/provision/
Start provisioning a managed warehouse for this organization (shared by all its teams).

Parameters

required

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

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