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.

1.4 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "date_from": {
            "default": "-30d",
            "description": "Earliest bucket start in the range. A relative date such as `-30d`, or an ISO 8601 date.",
            "minLength": 1,
            "type": "string"
        },
        "date_to": {
            "description": "Latest bucket start in the range. A relative date or an ISO 8601 date. Defaults to now.",
            "minLength": 1,
            "type": "string"
        },
        "include_buckets": {
            "default": true,
            "description": "Return the buckets of each series. Set false for the per-series summary only.",
            "type": "boolean"
        },
        "include_warmup": {
            "default": false,
            "description": "Include warm-up buckets: scored rows with a null score and flag, written while the detector still lacks history. When false, a warm-up bucket shows as `scored: false`.",
            "type": "boolean"
        },
        "insight_id": {
            "description": "The insight, by numeric id.",
            "type": "number"
        },
        "series_key": {
            "description": "Only this series, by the `series_key` of an anomaly search row.",
            "minLength": 1,
            "type": "string"
        }
    },
    "required": ["insight_id"],
    "type": "object"
}