provider batch_exportsfile_download_batch_exports GET /api/projects/{project_id}/file_download_batch_exports/{id}/download/
@utdk/posthog /api/projects/{project_id}/file_download_batch_exports/{id}/download/
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.
id path required
A UUID string identifying this batch export run.
string
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
fileDownloadBatchExportsDownloadRetrieve
GET/api/projects/{project_id}/file_download_batch_exports/{id}/download/
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.

Parameters

required

A UUID string identifying this batch export run.

required

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

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