PostHog · Schema

HogQLAutocompleteResponse

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
incomplete_list boolean Whether or not the suggestions returned are complete
suggestions array
timings array Measured timings for different parts of the query generation process
View JSON Schema on GitHub

JSON Schema

posthog-hogqlautocompleteresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HogQLAutocompleteResponse",
  "title": "HogQLAutocompleteResponse",
  "additionalProperties": false,
  "properties": {
    "incomplete_list": {
      "description": "Whether or not the suggestions returned are complete",
      "title": "Incomplete List",
      "type": "boolean"
    },
    "suggestions": {
      "items": {
        "$ref": "#/components/schemas/AutocompleteCompletionItem"
      },
      "title": "Suggestions",
      "type": "array"
    },
    "timings": {
      "default": null,
      "description": "Measured timings for different parts of the query generation process",
      "title": "Timings",
      "items": {
        "$ref": "#/components/schemas/QueryTiming"
      },
      "type": "array",
      "nullable": true
    }
  },
  "required": [
    "incomplete_list",
    "suggestions"
  ],
  "type": "object"
}