provider hog_flows POST /api/projects/{project_id}/hog_flows/{id}/batch_jobs/
@utdk/posthog /api/projects/{project_id}/hog_flows/{id}/batch_jobs/
hog_flows_batch_jobs_create
id path required
A UUID string identifying this hog flow.
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
hogFlowsBatchJobsCreate
POST/api/projects/{project_id}/hog_flows/{id}/batch_jobs/

Parameters

required

A UUID string identifying this hog flow.

required

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

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