provider vision GET
/api/environments/{environment_id}/vision/scanners/{scanner_id}/observations/stats/ @utdk/posthog
/api/environments/{environment_id}/vision/scanners/{scanner_id}/observations/stats/ environments_vision_scanners_observations_stats_retrieve
Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- labeled query
- When true, return only observations that have a shared label (thumbs up or down); when false, only unlabeled observations.
- string
- recent_days query
- Window size in days for the coverage `recent_sessions` count. Clamped to [1, 365]. Defaults to 14 when omitted.
- integer
- recording_subject query
- Filter to observations whose recording subject email contains this value (case-insensitive).
- string
- scanner_id path required
- string
- session_id query
- Filter to observations of one or more session recordings. Accepts a comma-separated list.
- string
- status query
- Filter by observation status. Accepts a comma-separated list.
- string
- tags query
- Filter classifier observations whose fixed or freeform tags include any of the given values (comma-separated). Matches if the tag appears in either `tags` or `tags_freeform`.
- string
- triggered_by query
- Filter by trigger source (schedule, on_demand, or retry). Accepts a comma-separated list.
- string
- verdict query
- Filter monitor observations by verdict. Accepts a comma-separated list (e.g. `yes,inconclusive`).
- 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.environmentsVisionScannersObservationsStatsRetrieve()