: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": {
"breakdown_colors": {
"anyOf": [
{
"items": {
"properties": {
"breakdownProperty": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Breakdown property the color is scoped to, so the color applies only to tiles that break down by that property. Omit to apply it under every property."
},
"breakdownType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Breakdown type the value came from, such as `event`, `person`, `session`, or `cohort`."
},
"breakdownValue": {
"description": "The breakdown value this color applies to, as it appears in the chart legend.",
"type": "string"
},
"colorToken": {
"anyOf": [
{
"pattern": "^preset-[1-9][0-9]*$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Palette slot to color the value with, as `preset-1` upwards. Not a CSS color: a hex value is rejected. Null leaves the value on its default color."
},
"source": {
"anyOf": [
{
"description": "* `auto` - auto\n* `manual` - manual",
"enum": ["auto", "manual"],
"type": "string"
},
{
"type": "null"
}
],
"description": "`manual` for a color a person picked, `auto` for one the dashboard assigned.\n\n* `auto` - auto\n* `manual` - manual"
}
},
"required": ["breakdownValue", "colorToken"],
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"description": "Colors pinned to specific breakdown values across the dashboard's tiles. A list of entries, not an object keyed by breakdown value. Send an empty list to clear them."
},
"data_color_theme_id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "ID of the color theme used for chart visualizations."
},
"delete_insights": {
"default": false,
"description": "When deleting, also delete insights that are only on this dashboard.",
"type": "boolean"
},
"description": {
"type": "string"
},
"grid_spacing": {
"description": "Named tile density preset. Use tight, condensed, standard, relaxed, or wide.\n\n* `tight` - tight\n* `condensed` - condensed\n* `standard` - standard\n* `relaxed` - relaxed\n* `wide` - wide",
"enum": ["tight", "condensed", "standard", "relaxed", "wide"],
"type": "string"
},
"group_display": {
"description": "How tile groups show. sections shows each group as a band that opens and closes. tabs shows one group at a time, and tiles outside any group get their own first tab.\n\n* `sections` - sections\n* `tabs` - tabs",
"enum": ["sections", "tabs"],
"type": "string"
},
"groups": {
"anyOf": [
{
"additionalProperties": {
"properties": {
"collapsed": {
"description": "Whether the group starts closed. Defaults to false. When a viewer opens or closes the group, their browser keeps that choice and it wins over this default. A closed group loads its tiles when a viewer opens it.",
"type": "boolean"
},
"color": {
"anyOf": [
{
"description": "* `blue` - Blue\n* `purple` - Purple\n* `green` - Green\n* `yellow` - Yellow\n* `orange` - Orange\n* `red` - Red",
"enum": ["blue", "purple", "green", "yellow", "orange", "red"],
"type": "string"
},
{
"type": "null"
}
],
"description": "Color of a dot before the group heading. Null or omitted shows no dot.\n\n* `blue` - Blue\n* `purple` - Purple\n* `green` - Green\n* `yellow` - Yellow\n* `orange` - Orange\n* `red` - Red"
},
"title": {
"description": "Heading for the group. When it is blank or omitted, the heading shows the number of tiles.",
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Settings for tile groups, keyed by the tiles' group_key. Each group shows as a band of its tiles under a heading that viewers can open and close. Viewers who do not have bands yet see only the group title above its tiles. A write replaces the whole map. Send an empty object or null to remove all group settings."
},
"include_dashboards": {
"description": "Opt in to receiving the deprecated `dashboards` field in insight payloads. Once opt-in enforcement is enabled, API-token callers stop receiving it by default; use `dashboard_tiles` instead.",
"type": "boolean"
},
"layout_compaction": {
"description": "How tiles rearrange after a move or resize. vertical stacks tiles upward, horizontal stacks tiles to the left, and stable preserves positions while moving colliding tiles.\n\n* `vertical` - vertical\n* `horizontal` - horizontal\n* `stable` - stable",
"enum": ["vertical", "horizontal", "stable"],
"type": "string"
},
"name": {
"anyOf": [
{
"maxLength": 400,
"type": "string"
},
{
"type": "null"
}
]
},
"pinned": {
"type": "boolean"
},
"quick_filter_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"description": "List of quick filter IDs associated with this dashboard"
},
"tags": {
"items": {},
"type": "array"
},
"use_dashboard": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "ID of an existing dashboard to duplicate."
},
"use_template": {
"description": "Template key to create the dashboard from a predefined template.",
"type": "string"
}
},
"type": "object"
}