PostHog · Schema

EndpointsUsageTableQuery

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
breakdownBy object
dateRange object
endpointNames array Filter to specific endpoints by name
kind string
limit integer
materializationType object Filter by materialization type
modifiers object Modifiers used when performing the query
offset integer
orderBy array
response object
tags object
version number version of the node, used for schema migrations
View JSON Schema on GitHub

JSON Schema

posthog-endpointsusagetablequery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EndpointsUsageTableQuery",
  "title": "EndpointsUsageTableQuery",
  "additionalProperties": false,
  "properties": {
    "breakdownBy": {
      "$ref": "#/components/schemas/EndpointsUsageBreakdown"
    },
    "dateRange": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/DateRange"
        }
      ],
      "nullable": true
    },
    "endpointNames": {
      "default": null,
      "description": "Filter to specific endpoints by name",
      "title": "Endpointnames",
      "items": {
        "type": "string"
      },
      "type": "array",
      "nullable": true
    },
    "kind": {
      "default": "EndpointsUsageTableQuery",
      "title": "Kind",
      "type": "string",
      "enum": [
        "EndpointsUsageTableQuery"
      ]
    },
    "limit": {
      "default": null,
      "title": "Limit",
      "type": "integer",
      "nullable": true
    },
    "materializationType": {
      "default": null,
      "description": "Filter by materialization type",
      "allOf": [
        {
          "$ref": "#/components/schemas/MaterializationType"
        }
      ],
      "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": {
      "default": null,
      "title": "Orderby",
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/EndpointsUsageOrderByField"
          },
          {
            "$ref": "#/components/schemas/EndpointsUsageOrderByDirection"
          }
        ]
      },
      "type": "array",
      "nullable": true
    },
    "response": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/EndpointsUsageTableQueryResponse"
        }
      ],
      "nullable": true
    },
    "tags": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/QueryLogTags"
        }
      ],
      "nullable": true
    },
    "version": {
      "default": null,
      "description": "version of the node, used for schema migrations",
      "title": "Version",
      "type": "number",
      "nullable": true
    }
  },
  "required": [
    "breakdownBy"
  ],
  "type": "object"
}