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.4 KB
Raw Blame
{
    "type": "ai/artifact",
    "content": {
        "content_type": "visualization",
        "query": {
            "aggregation_group_type_index": null,
            "breakdownFilter": {
                "breakdown_hide_other_aggregation": null,
                "breakdown_histogram_bin_count": null,
                "breakdown_limit": null,
                "breakdowns": [
                    {
                        "group_type_index": null,
                        "histogram_bin_count": null,
                        "normalize_url": null,
                        "property": "$current_url",
                        "type": "event"
                    }
                ]
            },
            "compareFilter": null,
            "dateRange": {
                "date_from": "-30d",
                "date_to": null,
                "explicitDate": false
            },
            "filterTestAccounts": true,
            "interval": "day",
            "kind": "TrendsQuery",
            "properties": [],
            "samplingFactor": null,
            "series": [
                {
                    "custom_name": "Pageviews",
                    "event": "$pageview",
                    "fixedProperties": null,
                    "kind": "EventsNode",
                    "math": "total",
                    "math_group_type_index": null,
                    "math_property": null,
                    "name": null,
                    "orderBy": null,
                    "properties": null,
                    "response": null
                }
            ],
            "trendsFilter": {
                "aggregationAxisFormat": "numeric",
                "aggregationAxisPostfix": null,
                "aggregationAxisPrefix": null,
                "breakdown_histogram_bin_count": null,
                "decimalPlaces": null,
                "display": "ActionsBar",
                "formula": null,
                "hiddenLegendIndexes": null,
                "showLabelsOnSeries": null,
                "showLegend": false,
                "showPercentStackView": false,
                "showValuesOnSeries": false,
                "smoothingIntervals": 1,
                "yAxisScaleType": null
            }
        },
        "name": "Test Artifact",
        "description": "Test plan"
    },
    "artifact_id": "test-visualization-artifact-message",
    "source": "artifact",
    "id": "test-visualization-message"
}