provider hog_flows PATCH /api/environments/{environment_id}/hog_flows/{id}/graph/
@utdk/posthog /api/environments/{environment_id}/hog_flows/{id}/graph/
environments_hog_flows_graph_partial_update
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
environmentsHogFlowsGraphPartialUpdate
PATCH/api/environments/{environment_id}/hog_flows/{id}/graph/

Parameters

required

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

required

A UUID string identifying this hog flow.

Input

Ordered graph edits applied atomically to a draft workflow: the stored graph is read, the ops are applied in order, the result is fully validated, and it's saved only if valid — otherwise the workflow is unchanged. Reference nodes/edges by id so you never resend the whole graph. The full updated workflow is returned.

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