: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"description": "A unique integer value identifying this dashboard.",
"type": "number"
},
"widgets": {
"description": "Widget tiles to add atomically. Supported widget_type values: activity_events_list, canvas_app, conversations_recent_tickets, error_tracking_list, experiment_results, experiments_list, logs_list, metrics_table, notebook_widget, session_replay_list, survey_results. Use dashboard-widget-catalog-list for per-type config_schema documentation. (1–10 per request).",
"items": {
"properties": {
"config": {
"additionalProperties": {},
"description": "Widget configuration as a JSON object. Its keys depend on widget_type: read that type's config_schema from dashboard-widget-catalog-list. The API validates the config and returns a 400 that names each invalid field.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"description": {
"description": "Optional markdown description shown when show_description is enabled.",
"type": "string"
},
"layouts": {
"description": "Optional react-grid-layout positions keyed by breakpoint (sm, xs).",
"properties": {
"sm": {
"description": "Layout for the standard (desktop) breakpoint. The grid is 12 columns wide.",
"properties": {
"h": {
"description": "Height in grid rows.",
"type": "number"
},
"w": {
"description": "Width in grid columns. The desktop grid is 12 columns wide.",
"type": "number"
},
"x": {
"description": "Column position in the dashboard grid (0-indexed).",
"type": "number"
},
"y": {
"description": "Row position in the dashboard grid (0-indexed).",
"type": "number"
}
},
"type": "object"
},
"xs": {
"description": "Layout for the small (mobile) breakpoint, on a 1-column grid. The dashboard derives this layout from the sm order and heights, so a stored xs box does not change what renders.",
"properties": {
"h": {
"description": "Height in grid rows.",
"type": "number"
},
"w": {
"description": "Width in grid columns. The desktop grid is 12 columns wide.",
"type": "number"
},
"x": {
"description": "Column position in the dashboard grid (0-indexed).",
"type": "number"
},
"y": {
"description": "Row position in the dashboard grid (0-indexed).",
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": {
"anyOf": [
{
"maxLength": 400,
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional custom display name for the widget tile."
},
"show_description": {
"description": "Whether to show the description on the dashboard tile.",
"type": "boolean"
},
"widget_type": {
"description": "Widget type to add. Use dashboard-widget-catalog-list to pick one.\n\n* `activity_events_list` - Activity Events List\n* `canvas_app` - Canvas App\n* `conversations_recent_tickets` - Conversations Recent Tickets\n* `error_tracking_list` - Error Tracking List\n* `experiment_results` - Experiment Results\n* `experiments_list` - Experiments List\n* `logs_list` - Logs List\n* `metrics_table` - Metrics Table\n* `notebook_widget` - Notebook Widget\n* `session_replay_list` - Session Replay List\n* `survey_results` - Survey Results",
"enum": [
"activity_events_list",
"canvas_app",
"conversations_recent_tickets",
"error_tracking_list",
"experiment_results",
"experiments_list",
"logs_list",
"metrics_table",
"notebook_widget",
"session_replay_list",
"survey_results"
],
"type": "string"
}
},
"required": ["widget_type", "config"],
"type": "object"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
}
},
"required": ["id", "widgets"],
"type": "object"
}