provider batch_exports POST /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/{id}/cancel/
@utdk/posthog /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/{id}/cancel/
environments_batch_exports_backfills_cancel_create
Cancel a batch export backfill.
batch_export_id path required
string
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this batch export backfill.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsBatchExportsBackfillsCancelCreate
POST/api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/{id}/cancel/
Cancel a batch export backfill.

Parameters

required
required

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

required

A UUID string identifying this batch export backfill.

Input

required
required

The start of the data interval.

The end of the data interval.

required

The status of this backfill. * `Cancelled` - Cancelled * `Completed` - Completed * `ContinuedAsNew` - Continued As New * `Failed` - Failed * `FailedRetryable` - Failed Retryable * `Terminated` - Terminated * `TimedOut` - Timedout * `Running` - Running * `Starting` - Starting

required

The timestamp at which this BatchExportBackfill was created.

The timestamp at which this BatchExportBackfill finished, successfully or not.

required

The timestamp at which this BatchExportBackfill was last updated.

The total number of records to export. Initially estimated, updated with actual count after completion.

The actual start time after adjustment for earliest available data. May differ from start_at if user requested a date before data exists.

required

The team this belongs to.

required

The BatchExport this backfill belongs to.

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