provider batch_exportsfile_download_batch_exports GET
/api/environments/{environment_id}/file_download_batch_exports/{id}/download/ @utdk/posthog
/api/environments/{environment_id}/file_download_batch_exports/{id}/download/ environments_file_download_batch_exports_download_retrieve
Download a file (or a part) from this batch export run.
Users can provide a part component with an id or index, or no part component at
all:
* If part id is included: The file download matching the id is downloaded.
* If part index is included: The file download matching the index (as ordered
by key) is downloaded.
* If no part component is present: If there is only one file downloaded, that
is downloaded. Otherwise the first one as sorted by key is downloaded.
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- id path required
- A UUID string identifying this batch export run.
- 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.environmentsFileDownloadBatchExportsDownloadRetrieve()