PostHog · Schema

HogQLMetadataResponse

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
ch_table_names array
errors array
isUsingIndices object
isValid boolean
notices array
query string
table_names array
warnings array
View JSON Schema on GitHub

JSON Schema

posthog-hogqlmetadataresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HogQLMetadataResponse",
  "title": "HogQLMetadataResponse",
  "additionalProperties": false,
  "properties": {
    "ch_table_names": {
      "default": null,
      "title": "Ch Table Names",
      "items": {
        "type": "string"
      },
      "type": "array",
      "nullable": true
    },
    "errors": {
      "items": {
        "$ref": "#/components/schemas/HogQLNotice"
      },
      "title": "Errors",
      "type": "array"
    },
    "isUsingIndices": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/QueryIndexUsage"
        }
      ],
      "nullable": true
    },
    "isValid": {
      "default": null,
      "title": "Isvalid",
      "type": "boolean",
      "nullable": true
    },
    "notices": {
      "items": {
        "$ref": "#/components/schemas/HogQLNotice"
      },
      "title": "Notices",
      "type": "array"
    },
    "query": {
      "default": null,
      "title": "Query",
      "type": "string",
      "nullable": true
    },
    "table_names": {
      "default": null,
      "title": "Table Names",
      "items": {
        "type": "string"
      },
      "type": "array",
      "nullable": true
    },
    "warnings": {
      "items": {
        "$ref": "#/components/schemas/HogQLNotice"
      },
      "title": "Warnings",
      "type": "array"
    }
  },
  "required": [
    "errors",
    "notices",
    "warnings"
  ],
  "type": "object"
}