provider vision GET /api/projects/{project_id}/vision/scanners/{scanner_id}/observations/stats/
@utdk/posthog /api/projects/{project_id}/vision/scanners/{scanner_id}/observations/stats/
vision_scanners_observations_stats_retrieve
Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.
labeled query
When true, return only observations that have a shared label (thumbs up or down); when false, only unlabeled observations.
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
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
visionScannersObservationsStatsRetrieve
GET/api/projects/{project_id}/vision/scanners/{scanner_id}/observations/stats/
Aggregate counts and per-scanner-type distributions over the filtered observation set. Same filters as the list endpoint apply.

Parameters

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

When true, return only observations that have a shared label (thumbs up or down); when false, only unlabeled observations.

Window size in days for the coverage `recent_sessions` count. Clamped to [1, 365]. Defaults to 14 when omitted.

Filter to observations whose recording subject email contains this value (case-insensitive).

Filter to observations of one or more session recordings. Accepts a comma-separated list.

Filter by observation status. Accepts a comma-separated list.

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`.

Filter by trigger source (schedule, on_demand, or retry). Accepts a comma-separated list.

Filter monitor observations by verdict. Accepts a comma-separated list (e.g. `yes,inconclusive`).

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