provider vision POST /api/environments/{environment_id}/vision/scanners/{scanner_id}/prompt_suggestions/generate/
@utdk/posthog /api/environments/{environment_id}/vision/scanners/{scanner_id}/prompt_suggestions/generate/
environments_vision_scanners_prompt_suggestions_generate_create
Generate a fresh prompt suggestion from the team's current ratings. The previous pending suggestion becomes history (superseded). Requires at least one rated observation and session recording edit access.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
scanner_id path required
string

Try it

Authentication
Configure credentials for PostHog API
environmentsVisionScannersPromptSuggestionsGenerateCreate
POST/api/environments/{environment_id}/vision/scanners/{scanner_id}/prompt_suggestions/generate/
Generate a fresh prompt suggestion from the team's current ratings. The previous pending suggestion becomes history (superseded). Requires at least one rated observation and session recording edit access.

Parameters

required

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

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