provider hog_flows PATCH /api/projects/{project_id}/hog_flows/{id}/graph/
@utdk/posthog /api/projects/{project_id}/hog_flows/{id}/graph/
hog_flows_graph_partial_update
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
hogFlowsGraphPartialUpdate
PATCH/api/projects/{project_id}/hog_flows/{id}/graph/

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

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