provider vision POST /api/environments/{environment_id}/vision/scanners/{scanner_id}/prompt_suggestions/{id}/apply/
@utdk/posthog /api/environments/{environment_id}/vision/scanners/{scanner_id}/prompt_suggestions/{id}/apply/
environments_vision_scanners_prompt_suggestions_apply_create
Apply this suggestion: write its prompt to the scanner (bumping the scanner version) and mark the suggestion applied. Only the current pending suggestion can be applied. 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 scanner prompt suggestion.
string
scanner_id path required
string

Try it

Authentication
Configure credentials for PostHog API
environmentsVisionScannersPromptSuggestionsApplyCreate
POST/api/environments/{environment_id}/vision/scanners/{scanner_id}/prompt_suggestions/{id}/apply/
Apply this suggestion: write its prompt to the scanner (bumping the scanner version) and mark the suggestion applied. Only the current pending suggestion can be applied. Requires session recording edit access.

Parameters

required

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

required

A UUID string identifying this replay scanner prompt suggestion.

required

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