provider vision POST
/api/environments/{environment_id}/vision/scanners/{scanner_id}/observations/{id}/label/ @utdk/posthog
/api/environments/{environment_id}/vision/scanners/{scanner_id}/observations/{id}/label/ environments_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.
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- id path required
- A UUID string identifying this replay observation.
- string
- scanner_id path required
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.environmentsVisionScannersObservationsLabelCreate()