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.

17.5 KB
Raw Blame
{
    "configPropertyKeys": {
        "notebook_widget": ["notebookShortId", "snapshotId"],
        "activity_events_list": [
            "dateRange",
            "eventName",
            "filterTestAccounts",
            "limit",
            "properties",
            "widgetFilters"
        ],
        "error_tracking_list": [
            "assignee",
            "dateRange",
            "filterTestAccounts",
            "limit",
            "orderBy",
            "orderDirection",
            "status",
            "widgetFilters"
        ],
        "session_replay_list": [
            "collectionId",
            "dateRange",
            "filterTestAccounts",
            "limit",
            "orderBy",
            "orderDirection",
            "savedFilterId",
            "widgetFilters"
        ],
        "experiments_list": ["createdBy", "limit", "orderBy", "orderDirection", "status"],
        "experiment_results": ["experimentId"],
        "survey_results": ["dateRange", "limit", "surveyId"],
        "logs_list": [
            "dateRange",
            "limit",
            "orderBy",
            "savedViewId",
            "serviceNames",
            "severityLevels",
            "timezone",
            "wrapLines"
        ],
        "conversations_recent_tickets": [
            "assignees",
            "channel",
            "limit",
            "priorities",
            "savedViewId",
            "search",
            "status"
        ],
        "canvas_app": ["canvasId"],
        "metrics_table": ["columns", "dateRange", "groupBy", "interval", "limit", "orderByColumn", "orderDirection"]
    },
    "configPropertyTrees": {
        "notebook_widget": {
            "notebookShortId": {
                "$type": "string"
            },
            "snapshotId": {
                "$type": "string"
            }
        },
        "activity_events_list": {
            "dateRange": {
                "date_from": {
                    "$enum": ["-14d", "-1M", "-1h", "-24h", "-30M", "-30d", "-3h", "-7d", "-90d"]
                }
            },
            "filterTestAccounts": {
                "$type": "boolean"
            },
            "widgetFilters": {
                "$record": {
                    "filterId": {
                        "$type": "string"
                    },
                    "propertyName": {
                        "$type": "string"
                    },
                    "optionId": {
                        "$type": "string"
                    },
                    "operator": {
                        "$enum": [
                            "between",
                            "ends_with",
                            "exact",
                            "flag_evaluates_to",
                            "gt",
                            "gte",
                            "icontains",
                            "icontains_multi",
                            "in",
                            "is_cleaned_path_exact",
                            "is_cleaned_path_not_exact",
                            "is_date_after",
                            "is_date_before",
                            "is_date_exact",
                            "is_not",
                            "is_not_set",
                            "is_set",
                            "lt",
                            "lte",
                            "max",
                            "min",
                            "not_between",
                            "not_ends_with",
                            "not_icontains",
                            "not_icontains_multi",
                            "not_in",
                            "not_regex",
                            "not_starts_with",
                            "regex",
                            "semver_caret",
                            "semver_eq",
                            "semver_gt",
                            "semver_gte",
                            "semver_lt",
                            "semver_lte",
                            "semver_neq",
                            "semver_tilde",
                            "semver_wildcard",
                            "starts_with"
                        ]
                    },
                    "value": {
                        "$types": ["string"]
                    }
                }
            },
            "limit": {
                "$type": "integer"
            },
            "eventName": {
                "$type": "string"
            },
            "properties": {
                "$array": {
                    "key": {
                        "$type": "string"
                    },
                    "label": {
                        "$type": "string"
                    },
                    "operator": {
                        "$enum": [
                            "between",
                            "ends_with",
                            "exact",
                            "flag_evaluates_to",
                            "gt",
                            "gte",
                            "icontains",
                            "icontains_multi",
                            "in",
                            "is_cleaned_path_exact",
                            "is_cleaned_path_not_exact",
                            "is_date_after",
                            "is_date_before",
                            "is_date_exact",
                            "is_not",
                            "is_not_set",
                            "is_set",
                            "lt",
                            "lte",
                            "max",
                            "min",
                            "not_between",
                            "not_ends_with",
                            "not_icontains",
                            "not_icontains_multi",
                            "not_in",
                            "not_regex",
                            "not_starts_with",
                            "regex",
                            "semver_caret",
                            "semver_eq",
                            "semver_gt",
                            "semver_gte",
                            "semver_lt",
                            "semver_lte",
                            "semver_neq",
                            "semver_tilde",
                            "semver_wildcard",
                            "starts_with"
                        ]
                    },
                    "type": {
                        "$enum": ["event", "person"]
                    },
                    "value": {
                        "$types": ["string"]
                    }
                }
            }
        },
        "error_tracking_list": {
            "dateRange": {
                "date_from": {
                    "$enum": ["-14d", "-1M", "-1h", "-24h", "-30M", "-30d", "-3h", "-7d", "-90d"]
                }
            },
            "filterTestAccounts": {
                "$type": "boolean"
            },
            "widgetFilters": {
                "$record": {
                    "filterId": {
                        "$type": "string"
                    },
                    "propertyName": {
                        "$type": "string"
                    },
                    "optionId": {
                        "$type": "string"
                    },
                    "operator": {
                        "$enum": [
                            "between",
                            "ends_with",
                            "exact",
                            "flag_evaluates_to",
                            "gt",
                            "gte",
                            "icontains",
                            "icontains_multi",
                            "in",
                            "is_cleaned_path_exact",
                            "is_cleaned_path_not_exact",
                            "is_date_after",
                            "is_date_before",
                            "is_date_exact",
                            "is_not",
                            "is_not_set",
                            "is_set",
                            "lt",
                            "lte",
                            "max",
                            "min",
                            "not_between",
                            "not_ends_with",
                            "not_icontains",
                            "not_icontains_multi",
                            "not_in",
                            "not_regex",
                            "not_starts_with",
                            "regex",
                            "semver_caret",
                            "semver_eq",
                            "semver_gt",
                            "semver_gte",
                            "semver_lt",
                            "semver_lte",
                            "semver_neq",
                            "semver_tilde",
                            "semver_wildcard",
                            "starts_with"
                        ]
                    },
                    "value": {
                        "$types": ["string"]
                    }
                }
            },
            "limit": {
                "$type": "integer"
            },
            "orderBy": {
                "$enum": ["first_seen", "last_seen", "occurrences", "sessions", "severity", "users"]
            },
            "orderDirection": {
                "$enum": ["ASC", "DESC"]
            },
            "status": {
                "$enum": ["active", "all", "archived", "pending_release", "resolved", "suppressed"]
            },
            "assignee": {
                "id": {
                    "$types": ["integer", "string"]
                },
                "type": {
                    "$enum": ["role", "user"]
                }
            }
        },
        "session_replay_list": {
            "dateRange": {
                "date_from": {
                    "$enum": ["-14d", "-1M", "-1h", "-24h", "-30M", "-30d", "-3h", "-7d", "-90d"]
                }
            },
            "filterTestAccounts": {
                "$type": "boolean"
            },
            "widgetFilters": {
                "$record": {
                    "filterId": {
                        "$type": "string"
                    },
                    "propertyName": {
                        "$type": "string"
                    },
                    "optionId": {
                        "$type": "string"
                    },
                    "operator": {
                        "$enum": [
                            "between",
                            "ends_with",
                            "exact",
                            "flag_evaluates_to",
                            "gt",
                            "gte",
                            "icontains",
                            "icontains_multi",
                            "in",
                            "is_cleaned_path_exact",
                            "is_cleaned_path_not_exact",
                            "is_date_after",
                            "is_date_before",
                            "is_date_exact",
                            "is_not",
                            "is_not_set",
                            "is_set",
                            "lt",
                            "lte",
                            "max",
                            "min",
                            "not_between",
                            "not_ends_with",
                            "not_icontains",
                            "not_icontains_multi",
                            "not_in",
                            "not_regex",
                            "not_starts_with",
                            "regex",
                            "semver_caret",
                            "semver_eq",
                            "semver_gt",
                            "semver_gte",
                            "semver_lt",
                            "semver_lte",
                            "semver_neq",
                            "semver_tilde",
                            "semver_wildcard",
                            "starts_with"
                        ]
                    },
                    "value": {
                        "$types": ["string"]
                    }
                }
            },
            "limit": {
                "$type": "integer"
            },
            "orderBy": {
                "$enum": [
                    "activity_score",
                    "click_count",
                    "console_error_count",
                    "duration",
                    "recording_duration",
                    "start_time"
                ]
            },
            "orderDirection": {
                "$enum": ["ASC", "DESC"]
            },
            "savedFilterId": {
                "$type": "string"
            },
            "collectionId": {
                "$type": "string"
            }
        },
        "experiments_list": {
            "limit": {
                "$type": "integer"
            },
            "orderBy": {
                "$enum": ["created_at", "name", "start_date"]
            },
            "orderDirection": {
                "$enum": ["ASC", "DESC"]
            },
            "status": {
                "$enum": ["all", "draft", "exposure_frozen", "paused", "running", "stopped"]
            },
            "createdBy": {
                "$type": "integer"
            }
        },
        "experiment_results": {
            "experimentId": {
                "$type": "integer"
            }
        },
        "survey_results": {
            "dateRange": {
                "date_from": {
                    "$enum": ["-14d", "-1M", "-1h", "-24h", "-30M", "-30d", "-3h", "-7d", "-90d"]
                }
            },
            "surveyId": {
                "$type": "string"
            },
            "limit": {
                "$type": "integer"
            }
        },
        "logs_list": {
            "dateRange": {
                "date_from": {
                    "$enum": ["-14d", "-1M", "-1h", "-24h", "-30M", "-30d", "-3h", "-7d", "-90d"]
                }
            },
            "limit": {
                "$type": "integer"
            },
            "orderBy": {
                "$enum": ["earliest", "latest"]
            },
            "severityLevels": {
                "$array": {
                    "$enum": ["debug", "error", "fatal", "info", "trace", "warn"]
                }
            },
            "serviceNames": {
                "$array": {
                    "$type": "string"
                }
            },
            "wrapLines": {
                "$type": "boolean"
            },
            "timezone": {
                "$enum": ["UTC", "local"]
            },
            "savedViewId": {
                "$type": "string"
            }
        },
        "conversations_recent_tickets": {
            "limit": {
                "$type": "integer"
            },
            "status": {
                "$enum": ["all", "new", "on_hold", "open", "pending", "resolved"]
            },
            "priorities": {
                "$array": {
                    "$enum": ["critical", "high", "low", "medium"]
                }
            },
            "channel": {
                "$enum": ["all", "email", "github", "slack", "teams", "widget"]
            },
            "assignees": {
                "$array": {
                    "id": {
                        "$types": ["integer", "string"]
                    },
                    "type": {
                        "$enum": ["role", "user"]
                    }
                }
            },
            "search": {
                "$type": "string"
            },
            "savedViewId": {
                "$type": "string"
            }
        },
        "canvas_app": {
            "canvasId": {
                "$type": "string"
            }
        },
        "metrics_table": {
            "dateRange": {
                "date_from": {
                    "$enum": ["-14d", "-1M", "-1h", "-24h", "-30M", "-30d", "-3h", "-7d", "-90d"]
                }
            },
            "groupBy": {
                "$type": "string"
            },
            "columns": {
                "$array": {
                    "label": {
                        "$type": "string"
                    },
                    "metricName": {
                        "$type": "string"
                    },
                    "aggregation": {
                        "$enum": ["avg", "histogram_quantile", "increase", "max", "min", "rate", "sum"]
                    },
                    "quantile": {
                        "$type": "number"
                    },
                    "filters": {
                        "$array": {
                            "key": {
                                "$type": "string"
                            },
                            "op": {
                                "$enum": ["eq", "neq", "not_regex", "regex"]
                            },
                            "value": {
                                "$type": "string"
                            }
                        }
                    }
                }
            },
            "interval": {
                "$enum": ["day", "hour", "minute", "minute_15", "minute_5"]
            },
            "orderByColumn": {
                "$type": "integer"
            },
            "orderDirection": {
                "$enum": ["ASC", "DESC"]
            },
            "limit": {
                "$type": "integer"
            }
        }
    }
}