provider vision PATCH /api/projects/{project_id}/vision/actions/{id}/
@utdk/posthog /api/projects/{project_id}/vision/actions/{id}/
vision_actions_partial_update
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.
id path required
A UUID string identifying this vision action.
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
visionActionsPartialUpdate
PATCH/api/projects/{project_id}/vision/actions/{id}/
CRUD for Replay Vision actions — scheduled "and then…" automations over a scanner's observations.

Parameters

required

A UUID string identifying this vision action.

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

Human-readable action name. Unique within the team.

Scanner whose observations this action operates on. Must belong to the same team.

When false, the scheduler skips this action.

Marks this action as the scanner's built-in daily digest, the one summary surfaced on the scanner overview. At most one digest per scanner.

What fires the action. MVP supports 'schedule' only. * `schedule` - Schedule * `threshold` - Threshold

What the action produces. MVP supports 'group_summary' only. * `group_summary` - Group summary * `per_observation` - Per observation

Trigger parameters. For schedule triggers: {rrule, timezone}.

Targeting predicate: which of the scanner's observations this action runs on.

Synthesis options for the group summary, e.g. {prompt_guide}.

List of delivery destinations the synthesized summary is sent to.

Computed next fire time for schedule triggers; the scheduler scans this.

Timestamp of the most recent run, or null if it has never run.

ID of the delivery flow provisioned for this action. Null until delivery is wired up.

User who created the action.

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