provider vision POST /api/projects/{project_id}/vision/scanners/{scanner_id}/observations/{id}/label/
@utdk/posthog /api/projects/{project_id}/vision/scanners/{scanner_id}/observations/{id}/label/
vision_scanners_observations_label_create
Set or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.
id path required
A UUID string identifying this replay observation.
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
scanner_id path required
string

Try it

Authentication
Configure credentials for PostHog API
visionScannersObservationsLabelCreate
POST/api/projects/{project_id}/vision/scanners/{scanner_id}/observations/{id}/label/
Set or update the observation's shared label: whether the scanner scored the session correctly, plus optional feedback on what it got wrong. One label per observation, shared across the team; these labels feed prompt improvement. Requires session recording edit access.

Parameters

required

A UUID string identifying this replay observation.

required

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

required

Input

required

True if the scanner scored this session correctly, false if not.

Optional written context on the rating, for thumbs-up and thumbs-down alike: what the scanner got right or wrong, or what it should have concluded.

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