provider batch_exportsfile_download_batch_exports POST /api/environments/{environment_id}/file_download_batch_exports/
@utdk/posthog /api/environments/{environment_id}/file_download_batch_exports/
environments_file_download_batch_exports_create
Create and start a batch export on demand run to download a file.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsFileDownloadBatchExportsCreate
POST/api/environments/{environment_id}/file_download_batch_exports/
Create and start a batch export on demand run to download a file.

Parameters

required

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

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