: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": {
"after": {
"default": "-7d",
"description": "Start of the time range. Accepts relative formats like '-7d', '-24h' or ISO 8601 timestamps. Defaults to '-7d'.",
"minLength": 1,
"type": "string"
},
"before": {
"description": "End of the time range. Same format as 'after'. Defaults to now.",
"minLength": 1,
"type": "string"
},
"breakdown_by": {
"default": "kind",
"description": "Group the series by metric 'name' or 'kind'. Defaults to 'kind'.\n\n* `name` - name\n* `kind` - kind",
"enum": ["name", "kind"],
"type": "string"
},
"id": {
"description": "A UUID string identifying this hog flow.",
"type": "string"
},
"instance_id": {
"description": "Filter metrics to a specific execution instance.",
"minLength": 1,
"type": "string"
},
"interval": {
"default": "day",
"description": "Time bucket size for the series. One of: hour, day, week. Defaults to 'day'.\n\n* `hour` - hour\n* `day` - day\n* `week` - week",
"enum": ["hour", "day", "week"],
"type": "string"
},
"kind": {
"description": "Comma-separated metric kinds to filter by, up to 50, e.g. 'success,failure'. With breakdown_by=kind, each named kind is returned, as zeros when it has no rows.",
"minLength": 1,
"type": "string"
},
"name": {
"description": "Comma-separated metric names to filter by, up to 50. With breakdown_by=name, each named metric is returned, as zeros when it has no rows.",
"minLength": 1,
"type": "string"
},
"version": {
"description": "Read one workflow version's series: every run of that version, keyed on the workflow. The unversioned read keys batch and broadcast runs on the run instead, so it is not the sum of the versions; compare versions with each other, not with it.",
"type": "number"
}
},
"required": ["id", "version"],
"type": "object"
}