Read-only access to observations produced by a scanner.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/vision/scanners/{scanner_id}/observations/
- Auth: HTTP bearer
Path parameters
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
Only observations dispatched by this backfill.
Only observations created at or after this time. Accepts ISO 8601, a relative date like -7d, or now; values without an explicit offset are interpreted in the project's timezone.
Only observations created at or before this time. Accepts ISO 8601, a relative date like -1d, or now for the current time; omit it to query through the current time. Date-only values include the whole day, interpreted in the project's timezone.
When true, return only observations that have a shared label (thumbs up or down); when false, only unlabeled observations.
Number of results to return per page.
Filter scorer observations to those scoring at or below this value. Rows with no numeric score (other scanner types, failed or in-flight runs) are excluded.
Filter scorer observations to those scoring at or above this value. Rows with no numeric score (other scanner types, failed or in-flight runs) are excluded.
The initial index from which to return the results.
Sort observations. Plain keys: created_at, started_at, completed_at, status, recording_subject_email. JSONB keys: result_score (scorer), result_verdict (monitor), result_confidence, scanner_version. Prefix with - for descending; nullable keys sort nulls last either way.
Filter to observations whose person 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, retry, or backfill). Accepts a comma-separated list.
Experiment scanners only: filter to observations attributed to any of the given variant keys (comma-separated). __unattributed__ matches observations with no attributed variant.
Filter monitor observations by verdict. Accepts a comma-separated list (e.g. yes,inconclusive).
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}Changes
No recorded changes to this operation across all 1 revision of this API.