PostHog · Schema

ErrorTrackingQuery

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
assignee object
dateRange object Date range to filter results.
filterGroup object
filterTestAccounts boolean Whether to filter out test accounts.
groupKey string
groupTypeIndex integer
issueId string Filter to a specific error tracking issue by ID.
kind string
limit integer
modifiers object Modifiers used when performing the query
offset integer
orderBy object Field to sort results by.
orderDirection object Sort direction.
pendingFingerprintIssueStateUpdates array Pending fingerprint issue state updates UNIONed into the fingerprint issue state subquery (V3 only). The backend caps the list at 50 entries; extras are dropped silently.
personId string
response object
searchQuery string Free-text search across exception type, message, and stack frames.
status object Filter by issue status.
tags object
useQueryV2 boolean Use V2 query path (ClickHouse postgres connector join instead of separate Postgres queries)
useQueryV3 boolean Use V3 query path (denormalized ClickHouse table, no Postgres joins)
version number version of the node, used for schema migrations
volumeResolution integer
withAggregations boolean
withFirstEvent boolean
withLastEvent boolean
View JSON Schema on GitHub

JSON Schema

posthog-errortrackingquery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorTrackingQuery",
  "title": "ErrorTrackingQuery",
  "additionalProperties": false,
  "properties": {
    "assignee": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/ErrorTrackingIssueAssignee"
        }
      ],
      "nullable": true
    },
    "dateRange": {
      "description": "Date range to filter results.",
      "allOf": [
        {
          "$ref": "#/components/schemas/DateRange"
        }
      ]
    },
    "filterGroup": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/PropertyGroupFilter"
        }
      ],
      "nullable": true
    },
    "filterTestAccounts": {
      "default": null,
      "description": "Whether to filter out test accounts.",
      "title": "Filtertestaccounts",
      "type": "boolean",
      "nullable": true
    },
    "groupKey": {
      "default": null,
      "title": "Groupkey",
      "type": "string",
      "nullable": true
    },
    "groupTypeIndex": {
      "default": null,
      "title": "Grouptypeindex",
      "type": "integer",
      "nullable": true
    },
    "issueId": {
      "default": null,
      "description": "Filter to a specific error tracking issue by ID.",
      "title": "Issueid",
      "type": "string",
      "nullable": true
    },
    "kind": {
      "default": "ErrorTrackingQuery",
      "title": "Kind",
      "type": "string",
      "enum": [
        "ErrorTrackingQuery"
      ]
    },
    "limit": {
      "default": null,
      "title": "Limit",
      "type": "integer",
      "nullable": true
    },
    "modifiers": {
      "default": null,
      "description": "Modifiers used when performing the query",
      "allOf": [
        {
          "$ref": "#/components/schemas/HogQLQueryModifiers"
        }
      ],
      "nullable": true
    },
    "offset": {
      "default": null,
      "title": "Offset",
      "type": "integer",
      "nullable": true
    },
    "orderBy": {
      "description": "Field to sort results by.",
      "allOf": [
        {
          "$ref": "#/components/schemas/ErrorTrackingOrderBy"
        }
      ]
    },
    "orderDirection": {
      "default": null,
      "description": "Sort direction.",
      "allOf": [
        {
          "$ref": "#/components/schemas/OrderDirection2"
        }
      ],
      "nullable": true
    },
    "pendingFingerprintIssueStateUpdates": {
      "default": null,
      "description": "Pending fingerprint issue state updates UNIONed into the fingerprint issue state subquery (V3 only). The backend caps the list at 50 entries; extras are dropped silently.",
      "title": "Pendingfingerprintissuestateupdates",
      "items": {
        "$ref": "#/components/schemas/ErrorTrackingPendingFingerprintIssueStateUpdate"
      },
      "type": "array",
      "nullable": true
    },
    "personId": {
      "default": null,
      "title": "Personid",
      "type": "string",
      "nullable": true
    },
    "response": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/ErrorTrackingQueryResponse"
        }
      ],
      "nullable": true
    },
    "searchQuery": {
      "default": null,
      "description": "Free-text search across exception type, message, and stack frames.",
      "title": "Searchquery",
      "type": "string",
      "nullable": true
    },
    "status": {
      "default": null,
      "description": "Filter by issue status.",
      "title": "ErrorTrackingQueryStatus",
      "anyOf": [
        {
          "$ref": "#/components/schemas/ErrorTrackingIssueStatus"
        },
        {
          "type": "string"
        }
      ],
      "nullable": true
    },
    "tags": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/QueryLogTags"
        }
      ],
      "nullable": true
    },
    "useQueryV2": {
      "default": null,
      "description": "Use V2 query path (ClickHouse postgres connector join instead of separate Postgres queries)",
      "title": "Usequeryv2",
      "type": "boolean",
      "nullable": true
    },
    "useQueryV3": {
      "default": null,
      "description": "Use V3 query path (denormalized ClickHouse table, no Postgres joins)",
      "title": "Usequeryv3",
      "type": "boolean",
      "nullable": true
    },
    "version": {
      "default": null,
      "description": "version of the node, used for schema migrations",
      "title": "Version",
      "type": "number",
      "nullable": true
    },
    "volumeResolution": {
      "title": "Volumeresolution",
      "type": "integer"
    },
    "withAggregations": {
      "default": null,
      "title": "Withaggregations",
      "type": "boolean",
      "nullable": true
    },
    "withFirstEvent": {
      "default": null,
      "title": "Withfirstevent",
      "type": "boolean",
      "nullable": true
    },
    "withLastEvent": {
      "default": null,
      "title": "Withlastevent",
      "type": "boolean",
      "nullable": true
    }
  },
  "required": [
    "dateRange",
    "orderBy",
    "volumeResolution"
  ],
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/posthog-errortrackingquery"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.