provider vision POST /api/projects/{project_id}/vision/scanners/{scanner_id}/prompt_suggestions/{id}/apply/
@utdk/posthog /api/projects/{project_id}/vision/scanners/{scanner_id}/prompt_suggestions/{id}/apply/
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.
id path required
A UUID string identifying this replay scanner prompt suggestion.
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
visionScannersPromptSuggestionsApplyCreate
POST/api/projects/{project_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

A UUID string identifying this replay scanner prompt suggestion.

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

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