{
  "$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"
}