Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

4.7 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "backfill_id": {
            "description": "Only observations dispatched by this backfill.",
            "type": "string"
        },
        "date_from": {
            "description": "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.",
            "type": "string"
        },
        "date_to": {
            "description": "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.",
            "type": "string"
        },
        "group": {
            "description": "Only issue observations in this group of near duplicates, an `id` from the groups list. Pair it with the same `date_from`, `date_to`, `include_routine` and `variant` to list the observations the group counted.",
            "type": "string"
        },
        "id": {
            "description": "A UUID string identifying this replay observation.",
            "type": "string"
        },
        "include_routine": {
            "description": "With `group`, also list the group's routine observations, as the groups list does with the same flag.",
            "type": "boolean"
        },
        "labeled": {
            "description": "When true, return only observations that have a shared label (thumbs up or down); when false, only unlabeled observations.",
            "type": "boolean"
        },
        "max_score": {
            "description": "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.",
            "type": "number"
        },
        "min_score": {
            "description": "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.",
            "type": "number"
        },
        "order_by": {
            "description": "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.",
            "type": "string"
        },
        "recording_subject": {
            "description": "Filter to observations whose person email contains this value (case-insensitive).",
            "type": "string"
        },
        "session_id": {
            "description": "Filter to observations of one or more session recordings. Accepts a comma-separated list.",
            "type": "string"
        },
        "status": {
            "description": "Filter by observation status. Accepts a comma-separated list.",
            "type": "string"
        },
        "tags": {
            "description": "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`.",
            "type": "string"
        },
        "theme": {
            "description": "Only issue observations in this search theme, an `id` from the themes list. Pair it with the same `date_from` and `date_to` to list the observations the theme counted.",
            "type": "string"
        },
        "triggered_by": {
            "description": "Filter by trigger source (schedule, on_demand, retry, or backfill). Accepts a comma-separated list.",
            "type": "string"
        },
        "variant": {
            "description": "Experiment scanners only: filter to observations attributed to any of the given variant keys (comma-separated). `__unattributed__` matches observations with no attributed variant.",
            "type": "string"
        },
        "verdict": {
            "description": "Filter monitor observations by verdict. Accepts a comma-separated list (e.g. `yes,inconclusive`).",
            "type": "string"
        },
        "watch_category": {
            "description": "Only observations the watch feed ranks under any of these kinds (comma-separated: failure, struggle, revenue). Pair it with `watch_group` and the feed's `categories`.",
            "type": "string"
        },
        "watch_group": {
            "description": "Only observations the highlight feed groups with this observation as near duplicates, including itself. Pair it with the feed's `date_from` to list the sessions a feed card counts.",
            "type": "string"
        }
    },
    "required": ["id"],
    "type": "object"
}