provider hog_flows POST /api/environments/{environment_id}/hog_flows/{id}/batch_jobs/
@utdk/posthog /api/environments/{environment_id}/hog_flows/{id}/batch_jobs/
environments_hog_flows_batch_jobs_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this hog flow.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsHogFlowsBatchJobsCreate
POST/api/environments/{environment_id}/hog_flows/{id}/batch_jobs/

Parameters

required

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

required

A UUID string identifying this hog flow.

Input

required

Not currently tracked — stays at its initial value. Use the workflow logs/metrics endpoints for run outcome. * `waiting` - Waiting * `queued` - Queued * `active` - Active * `completed` - Completed * `cancelled` - Cancelled * `failed` - Failed

required

ID of the workflow this batch run belongs to.

Audience snapshot the run fanned out to, taken from the workflow's batch trigger filters.

Variable value overrides applied to this run.

required
required
required

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