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.

2.6 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "id": {
            "description": "A UUID string identifying this replay scanner.",
            "type": "string"
        },
        "max_score": {
            "anyOf": [
                {
                    "type": "number"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Scorer scanners only: count sessions scoring at or below this value."
        },
        "min_score": {
            "anyOf": [
                {
                    "type": "number"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Scorer scanners only: count sessions scoring at or above this value. Scorers require `min_score` and/or `max_score`. Not applicable to other scanner types."
        },
        "tag": {
            "anyOf": [
                {
                    "maxLength": 100,
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Classifier scanners only, required for them: count sessions carrying this tag (fixed or freeform). Not applicable to other scanner types."
        },
        "verdict": {
            "anyOf": [
                {
                    "anyOf": [
                        {
                            "const": "yes",
                            "type": "string"
                        },
                        {
                            "const": "no",
                            "type": "string"
                        },
                        {
                            "const": "inconclusive",
                            "type": "string"
                        },
                        {
                            "const": null,
                            "type": "null"
                        }
                    ]
                },
                {
                    "type": "null"
                }
            ],
            "description": "Monitor scanners only: count sessions with this verdict. Defaults to `yes`. Not applicable to other scanner types.\n\n* `yes` - Yes\n* `no` - No\n* `inconclusive` - Inconclusive"
        },
        "window_days": {
            "default": 30,
            "description": "Trailing window of observations to count. Defaults to 30 days.",
            "maximum": 90,
            "minimum": 1,
            "type": "number"
        }
    },
    "required": ["id"],
    "type": "object"
}