openapi: 3.0.3 info: title: PostHog actions query API version: 1.0.0 description: '' tags: - name: query paths: /api/environments/{environment_id}/query/: post: operationId: environments_query_create description: 'DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF''s initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.' parameters: - $ref: '#/components/parameters/EnvironmentIdPath' tags: - query requestBody: content: application/json: schema: $ref: '#/components/schemas/QueryRequest' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/QueryRequest' multipart/form-data: schema: $ref: '#/components/schemas/QueryRequest' required: true security: - PersonalAPIKeyAuth: - query:read responses: '200': content: application/json: schema: $ref: '#/components/schemas/QueryResponseAlternative' description: '' deprecated: true x-explicit-tags: [] /api/environments/{environment_id}/query/{id}/: get: operationId: environments_query_retrieve description: (Experimental) parameters: - $ref: '#/components/parameters/EnvironmentIdPath' - in: path name: id schema: type: string required: true tags: - query security: - PersonalAPIKeyAuth: - query:read responses: '200': content: application/json: schema: $ref: '#/components/schemas/QueryStatusResponse' description: '' deprecated: true x-explicit-tags: [] delete: operationId: environments_query_destroy description: (Experimental) parameters: - $ref: '#/components/parameters/EnvironmentIdPath' - in: path name: id schema: type: string required: true tags: - query security: - PersonalAPIKeyAuth: - query:read responses: '204': description: Query cancelled deprecated: true x-explicit-tags: [] /api/environments/{environment_id}/query/{id}/log/: get: operationId: environments_query_log_retrieve description: Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours. parameters: - $ref: '#/components/parameters/EnvironmentIdPath' - in: path name: id schema: type: string required: true tags: - query responses: '200': content: application/json: schema: type: object additionalProperties: true description: '' deprecated: true x-explicit-tags: [] /api/environments/{environment_id}/query/{query_kind}/: post: operationId: environments_query_create_with_kind description: 'DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF''s initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.' parameters: - $ref: '#/components/parameters/EnvironmentIdPath' - in: path name: query_kind schema: type: string pattern: ^[A-Z][A-Za-z]*$ required: true tags: - query responses: '200': description: No response body deprecated: true x-explicit-tags: [] /api/environments/{environment_id}/query/check_auth_for_async/: post: operationId: environments_query_check_auth_for_async_create description: 'DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF''s initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.' parameters: - $ref: '#/components/parameters/EnvironmentIdPath' tags: - query responses: '200': content: application/json: schema: type: object additionalProperties: true description: '' deprecated: true x-explicit-tags: [] /api/environments/{environment_id}/query/draft_sql/: get: operationId: environments_query_draft_sql_retrieve description: 'DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF''s initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.' parameters: - $ref: '#/components/parameters/EnvironmentIdPath' tags: - query responses: '200': content: application/json: schema: type: object additionalProperties: true description: '' deprecated: true x-explicit-tags: [] /api/environments/{environment_id}/query/upgrade/: post: operationId: environments_query_upgrade_create description: Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version. parameters: - $ref: '#/components/parameters/EnvironmentIdPath' tags: - query requestBody: content: application/json: schema: $ref: '#/components/schemas/QueryUpgradeRequest' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/QueryUpgradeRequest' multipart/form-data: schema: $ref: '#/components/schemas/QueryUpgradeRequest' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/QueryUpgradeResponse' description: '' deprecated: true x-explicit-tags: [] /api/projects/{project_id}/query/: post: operationId: query_create description: 'DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF''s initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.' parameters: - $ref: '#/components/parameters/ProjectIdPath' tags: - query requestBody: content: application/json: schema: $ref: '#/components/schemas/QueryRequest' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/QueryRequest' multipart/form-data: schema: $ref: '#/components/schemas/QueryRequest' required: true security: - PersonalAPIKeyAuth: - query:read responses: '200': content: application/json: schema: $ref: '#/components/schemas/QueryResponseAlternative' description: '' x-explicit-tags: [] /api/projects/{project_id}/query/{id}/: get: operationId: query_retrieve description: (Experimental) parameters: - in: path name: id schema: type: string required: true - $ref: '#/components/parameters/ProjectIdPath' tags: - query security: - PersonalAPIKeyAuth: - query:read responses: '200': content: application/json: schema: $ref: '#/components/schemas/QueryStatusResponse' description: '' x-explicit-tags: [] delete: operationId: query_destroy description: (Experimental) parameters: - in: path name: id schema: type: string required: true - $ref: '#/components/parameters/ProjectIdPath' tags: - query security: - PersonalAPIKeyAuth: - query:read responses: '204': description: Query cancelled x-explicit-tags: [] /api/projects/{project_id}/query/{id}/log/: get: operationId: query_log_retrieve description: Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours. parameters: - in: path name: id schema: type: string required: true - $ref: '#/components/parameters/ProjectIdPath' tags: - query responses: '200': content: application/json: schema: type: object additionalProperties: true description: '' x-explicit-tags: [] /api/projects/{project_id}/query/{query_kind}/: post: operationId: query_create_with_kind description: 'DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF''s initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.' parameters: - $ref: '#/components/parameters/ProjectIdPath' - in: path name: query_kind schema: type: string pattern: ^[A-Z][A-Za-z]*$ required: true tags: - query responses: '200': description: No response body x-explicit-tags: [] /api/projects/{project_id}/query/check_auth_for_async/: post: operationId: query_check_auth_for_async_create description: 'DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF''s initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.' parameters: - $ref: '#/components/parameters/ProjectIdPath' tags: - query responses: '200': content: application/json: schema: type: object additionalProperties: true description: '' x-explicit-tags: [] /api/projects/{project_id}/query/draft_sql/: get: operationId: query_draft_sql_retrieve description: 'DRF ViewSet mixin that gates coalesced responses behind permission checks. The QueryCoalescingMiddleware attaches cached response data to request.META["_coalesced_response"] for followers. This mixin runs DRF''s initial() (auth + permissions + throttling) before returning the cached response, ensuring the request is authorized.' parameters: - $ref: '#/components/parameters/ProjectIdPath' tags: - query responses: '200': content: application/json: schema: type: object additionalProperties: true description: '' x-explicit-tags: [] /api/projects/{project_id}/query/upgrade/: post: operationId: query_upgrade_create description: Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version. parameters: - $ref: '#/components/parameters/ProjectIdPath' tags: - query requestBody: content: application/json: schema: $ref: '#/components/schemas/QueryUpgradeRequest' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/QueryUpgradeRequest' multipart/form-data: schema: $ref: '#/components/schemas/QueryUpgradeRequest' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/QueryUpgradeResponse' description: '' x-explicit-tags: [] components: schemas: Response6: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: Response6 type: object RetentionFilter: additionalProperties: false properties: aggregationProperty: default: null description: The property to aggregate when aggregationType is sum or avg title: Aggregationproperty type: string nullable: true aggregationPropertyType: default: event description: The type of property to aggregate on (event or person). Defaults to event. allOf: - $ref: '#/components/schemas/AggregationPropertyType' nullable: true aggregationType: default: count description: The aggregation type to use for retention allOf: - $ref: '#/components/schemas/AggregationType' nullable: true cumulative: default: null title: Cumulative type: boolean nullable: true customAggregationTarget: default: null description: For data warehouse based retention insights when the aggregation target can't be mapped to persons or groups. title: Customaggregationtarget type: boolean nullable: true dashboardDisplay: default: null allOf: - $ref: '#/components/schemas/RetentionDashboardDisplayType' nullable: true display: default: null description: controls the display of the retention graph allOf: - $ref: '#/components/schemas/ChartDisplayType' nullable: true goalLines: default: null title: Goallines items: $ref: '#/components/schemas/GoalLine' type: array nullable: true meanRetentionCalculation: default: null allOf: - $ref: '#/components/schemas/MeanRetentionCalculation' nullable: true minimumOccurrences: default: null title: Minimumoccurrences type: integer nullable: true period: default: Day allOf: - $ref: '#/components/schemas/RetentionPeriod' nullable: true retentionCustomBrackets: default: null description: Custom brackets for retention calculations title: Retentioncustombrackets items: type: number type: array nullable: true retentionReference: default: null description: Whether retention is with regard to initial cohort size, or that of the previous period. allOf: - $ref: '#/components/schemas/RetentionReference' nullable: true retentionType: default: null allOf: - $ref: '#/components/schemas/RetentionType' nullable: true returningEntity: default: null allOf: - $ref: '#/components/schemas/RetentionEntity' nullable: true selectedInterval: default: null description: The selected interval to display across all cohorts (null = show all intervals for each cohort) title: Selectedinterval type: integer nullable: true showTrendLines: default: null title: Showtrendlines type: boolean nullable: true targetEntity: default: null allOf: - $ref: '#/components/schemas/RetentionEntity' nullable: true timeWindowMode: default: null description: The time window mode to use for retention calculations allOf: - $ref: '#/components/schemas/TimeWindowMode' nullable: true totalIntervals: default: 8 title: Totalintervals type: integer nullable: true title: RetentionFilter type: object Integration: additionalProperties: false properties: display_name: title: Display Name type: string id: title: Id type: number kind: $ref: '#/components/schemas/IntegrationKind' required: - display_name - id - kind title: Integration type: object LLMTrace: additionalProperties: false properties: aiSessionId: default: null title: Aisessionid type: string nullable: true createdAt: title: Createdat type: string distinctId: title: Distinctid type: string errorCount: default: null title: Errorcount type: number nullable: true events: items: $ref: '#/components/schemas/LLMTraceEvent' title: Events type: array id: title: Id type: string inputCost: default: null title: Inputcost type: number nullable: true inputState: default: null title: Inputstate nullable: true inputTokens: default: null title: Inputtokens type: number nullable: true isSupportTrace: default: null title: Issupporttrace type: boolean nullable: true outputCost: default: null title: Outputcost type: number nullable: true outputState: default: null title: Outputstate nullable: true outputTokens: default: null title: Outputtokens type: number nullable: true person: default: null allOf: - $ref: '#/components/schemas/LLMTracePerson' nullable: true requestCost: default: null title: Requestcost type: number nullable: true tools: default: null title: Tools items: type: string type: array nullable: true totalCost: default: null title: Totalcost type: number nullable: true totalLatency: default: null title: Totallatency type: number nullable: true traceName: default: null title: Tracename type: string nullable: true webSearchCost: default: null title: Websearchcost type: number nullable: true required: - createdAt - distinctId - events - id title: LLMTrace type: object SuggestedQuestionsQueryResponse: additionalProperties: false properties: questions: items: type: string title: Questions type: array required: - questions title: SuggestedQuestionsQueryResponse type: object MaterializationType: enum: - materialized - inline - null title: MaterializationType ActorsQueryResponse: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string limit: title: Limit type: integer missing_actors_count: default: null title: Missing Actors Count type: integer nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: title: Offset type: integer query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: default: null title: Types items: type: string type: array nullable: true required: - columns - hogql - limit - offset - results title: ActorsQueryResponse type: object EventsNode: additionalProperties: false properties: custom_name: default: null title: Custom Name type: string nullable: true event: default: null description: The event or `null` for all events. title: Event type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true kind: default: EventsNode title: Kind type: string enum: - EventsNode limit: default: null title: Limit type: integer nullable: true math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true orderBy: default: null description: Columns to order by title: Orderby items: type: string type: array nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true title: EventsNode type: object TraceSpansQuery: additionalProperties: false properties: after: default: null description: Cursor for fetching the next page of results title: After type: string nullable: true dateRange: $ref: '#/components/schemas/DateRange' filterGroup: default: null allOf: - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true kind: default: TraceSpansQuery title: Kind type: string enum: - TraceSpansQuery 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: default: null allOf: - $ref: '#/components/schemas/LogsOrderBy' nullable: true prefetchSpans: default: null description: Prefetch up to this many spans per trace and include them in results title: Prefetchspans type: integer nullable: true response: default: null allOf: - $ref: '#/components/schemas/TraceSpansQueryResponse' nullable: true rootSpans: default: null title: Rootspans type: boolean nullable: true serviceNames: default: null title: Servicenames items: type: string type: array nullable: true statusCodes: default: null title: Statuscodes items: type: integer type: array nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true traceId: default: null title: Traceid type: string nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - dateRange title: TraceSpansQuery type: object QueryResponseAlternative15: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/SimilarIssue' title: Results 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: - results title: QueryResponseAlternative15 type: object UsageMetricDisplay: enum: - number - sparkline title: UsageMetricDisplay type: string ErrorTrackingSimilarIssuesQuery: additionalProperties: false properties: dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true issueId: title: Issueid type: string kind: default: ErrorTrackingSimilarIssuesQuery title: Kind type: string enum: - ErrorTrackingSimilarIssuesQuery limit: default: null title: Limit type: integer nullable: true maxDistance: default: null title: Maxdistance type: number nullable: true modelName: default: null allOf: - $ref: '#/components/schemas/EmbeddingModelName' 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 rendering: default: null title: Rendering type: string nullable: true response: default: null allOf: - $ref: '#/components/schemas/ErrorTrackingSimilarIssuesQueryResponse' 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: - issueId title: ErrorTrackingSimilarIssuesQuery type: object LogValuesQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LogValueResult' title: Results 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: - results title: LogValuesQueryResponse type: object DatabaseSchemaManagedViewTableKind: enum: - revenue_analytics_charge - revenue_analytics_customer - revenue_analytics_mrr - revenue_analytics_product - revenue_analytics_revenue_item - revenue_analytics_subscription title: DatabaseSchemaManagedViewTableKind type: string CalendarHeatmapQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation title: Aggregation Group Type Index type: integer nullable: true calendarHeatmapFilter: default: null description: Properties specific to the trends insight allOf: - $ref: '#/components/schemas/CalendarHeatmapFilter' nullable: true conversionGoal: default: null description: Whether we should be comparing against a specific conversion goal title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization title: Datacolortheme type: number nullable: true dateRange: default: null description: Date range for the query allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: false description: Exclude internal and test users by applying the respective filters title: Filtertestaccounts type: boolean nullable: true interval: default: day description: Granularity of the response. Can be one of `hour`, `day`, `week` or `month` allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: CalendarHeatmapQuery title: Kind type: string enum: - CalendarHeatmapQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: default: [] description: Property filters for all series title: Properties anyOf: - items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true response: default: null allOf: - $ref: '#/components/schemas/CalendarHeatmapResponse' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true series: description: Events and actions to include items: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/DataWarehouseNode' title: Series type: array tags: default: null description: Tags that will be added to the Query log comment 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: - series title: CalendarHeatmapQuery type: object BreakdownValue: additionalProperties: false properties: count: title: Count type: number value: title: Value type: string required: - count - value title: BreakdownValue type: object QueryResponseAlternative11: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative11 type: object QueryResponseAlternative21: additionalProperties: false properties: bias_risk: default: null allOf: - $ref: '#/components/schemas/BiasRisk' nullable: true date_range: $ref: '#/components/schemas/DateRange' kind: default: ExperimentExposureQuery title: Kind type: string enum: - ExperimentExposureQuery sample_ratio_mismatch: default: null allOf: - $ref: '#/components/schemas/SampleRatioMismatch' nullable: true timeseries: items: $ref: '#/components/schemas/ExperimentExposureTimeSeries' title: Timeseries type: array total_exposures: additionalProperties: type: number title: Total Exposures type: object required: - date_range - timeseries - total_exposures title: QueryResponseAlternative21 type: object LogsQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 nextCursor: default: null description: Cursor for fetching the next page of results title: Nextcursor type: string nullable: true offset: default: null title: Offset type: integer nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: LogsQueryResponse type: object HedgehogActorColorOption: enum: - green - red - blue - purple - dark - light - greyscale - sepia - invert - rainbow title: HedgehogActorColorOption type: string QueryResponseAlternative59: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: $ref: '#/components/schemas/MarketingAnalyticsItem' type: array title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative59 type: object UsageMetricsQuery: additionalProperties: false properties: group_key: default: null description: Group key. Required with group_type_index for group queries. title: Group Key type: string nullable: true group_type_index: default: null description: Group type index. Required with group_key for group queries. title: Group Type Index type: integer nullable: true kind: default: UsageMetricsQuery title: Kind type: string enum: - UsageMetricsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true person_id: default: null description: Person ID to fetch metrics for. Mutually exclusive with group parameters. title: Person Id type: string nullable: true response: default: null allOf: - $ref: '#/components/schemas/UsageMetricsQueryResponse' 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 title: UsageMetricsQuery type: object ErrorTrackingCorrelatedIssue: additionalProperties: false properties: assignee: default: null allOf: - $ref: '#/components/schemas/ErrorTrackingIssueAssignee' nullable: true cohort: default: null allOf: - $ref: '#/components/schemas/ErrorTrackingIssueCohort' nullable: true description: default: null title: Description type: string nullable: true event: title: Event type: string external_issues: default: null title: External Issues items: $ref: '#/components/schemas/ErrorTrackingExternalReference' type: array nullable: true first_seen: format: date-time title: First Seen type: string id: title: Id type: string last_seen: format: date-time title: Last Seen type: string library: default: null title: Library type: string nullable: true name: default: null title: Name type: string nullable: true odds_ratio: title: Odds Ratio type: number population: $ref: '#/components/schemas/Population' status: $ref: '#/components/schemas/ErrorTrackingIssueStatus' required: - event - first_seen - id - last_seen - odds_ratio - population - status title: ErrorTrackingCorrelatedIssue type: object ActorsQuery: additionalProperties: false properties: fixedProperties: default: null description: Currently only person filters supported. No filters for querying groups. See `filter_conditions()` in actor_strategies.py. title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' type: array nullable: true kind: default: ActorsQuery title: Kind type: string enum: - ActorsQuery 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: default: null title: Orderby items: type: string type: array nullable: true properties: default: null description: Currently only person filters supported. No filters for querying groups. See `filter_conditions()` in actor_strategies.py. title: Properties anyOf: - items: anyOf: - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' type: array - $ref: '#/components/schemas/PropertyGroupFilterValue' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ActorsQueryResponse' nullable: true search: default: null title: Search type: string nullable: true select: default: null title: Select items: type: string type: array nullable: true source: default: null title: Source anyOf: - $ref: '#/components/schemas/InsightActorsQuery' - $ref: '#/components/schemas/FunnelsActorsQuery' - $ref: '#/components/schemas/FunnelCorrelationActorsQuery' - $ref: '#/components/schemas/ExperimentActorsQuery' - $ref: '#/components/schemas/StickinessActorsQuery' - $ref: '#/components/schemas/HogQLQuery' 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 title: ActorsQuery type: object InsightActorsQuery: additionalProperties: false properties: breakdown: default: null title: Breakdown anyOf: - type: string - items: type: string type: array - type: integer nullable: true compare: default: null allOf: - $ref: '#/components/schemas/Compare' nullable: true day: default: null title: Day anyOf: - type: string - type: integer nullable: true includeRecordings: default: null title: Includerecordings type: boolean nullable: true interval: default: null description: An interval selected out of available intervals in source query. title: Interval type: integer nullable: true kind: default: InsightActorsQuery title: Kind type: string enum: - InsightActorsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ActorsQueryResponse' nullable: true series: default: null title: Series type: integer nullable: true source: discriminator: mapping: FunnelsQuery: '#/components/schemas/FunnelsQuery' LifecycleQuery: '#/components/schemas/LifecycleQuery' PathsQuery: '#/components/schemas/PathsQuery' RetentionQuery: '#/components/schemas/RetentionQuery' StickinessQuery: '#/components/schemas/StickinessQuery' TrendsQuery: '#/components/schemas/TrendsQuery' WebOverviewQuery: '#/components/schemas/WebOverviewQuery' WebStatsTableQuery: '#/components/schemas/WebStatsTableQuery' propertyName: kind oneOf: - $ref: '#/components/schemas/TrendsQuery' - $ref: '#/components/schemas/FunnelsQuery' - $ref: '#/components/schemas/RetentionQuery' - $ref: '#/components/schemas/PathsQuery' - $ref: '#/components/schemas/StickinessQuery' - $ref: '#/components/schemas/LifecycleQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebOverviewQuery' title: Source status: default: null title: Status type: string 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: - source title: InsightActorsQuery type: object FunnelStepReference: enum: - total - previous title: FunnelStepReference type: string Response25: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LLMTrace' title: Results 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: - results title: Response25 type: object CustomChannelRule: additionalProperties: false properties: channel_type: title: Channel Type type: string combiner: $ref: '#/components/schemas/FilterLogicalOperator' id: title: Id type: string items: items: $ref: '#/components/schemas/CustomChannelCondition' title: Items type: array required: - channel_type - combiner - id - items title: CustomChannelRule type: object UsageMetricFormat: enum: - numeric - currency title: UsageMetricFormat type: string QueryResponseAlternative48: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative48 type: object ErrorTrackingSimilarIssuesQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/SimilarIssue' title: Results 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: - results title: ErrorTrackingSimilarIssuesQueryResponse type: object QueryResponseAlternative60: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/ErrorTrackingIssue' title: Results 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: - results title: QueryResponseAlternative60 type: object QueryResponseAlternative10: 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 title: QueryResponseAlternative10 type: object ExperimentDataWarehouseNode: additionalProperties: false properties: custom_name: default: null title: Custom Name type: string nullable: true data_warehouse_join_key: title: Data Warehouse Join Key type: string events_join_key: title: Events Join Key type: string fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true kind: default: ExperimentDataWarehouseNode title: Kind type: string enum: - ExperimentDataWarehouseNode math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true table_name: title: Table Name type: string timestamp_field: title: Timestamp Field type: string version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - data_warehouse_join_key - events_join_key - table_name - timestamp_field title: ExperimentDataWarehouseNode type: object PersonType: additionalProperties: false properties: created_at: default: null title: Created At type: string nullable: true distinct_ids: items: type: string title: Distinct Ids type: array id: default: null title: Id type: string nullable: true is_identified: default: null title: Is Identified type: boolean nullable: true last_seen_at: default: null title: Last Seen At type: string nullable: true name: default: null title: Name type: string nullable: true properties: type: object additionalProperties: true title: Properties uuid: default: null title: Uuid type: string nullable: true required: - distinct_ids - properties title: PersonType type: object HedgehogActorSkinOption: enum: - default - spiderhog - robohog - hogzilla - ghost title: HedgehogActorSkinOption type: string ErrorTrackingPendingFingerprintIssueStateUpdate: additionalProperties: false properties: assigned_role_id: default: null title: Assigned Role Id type: string nullable: true assigned_user_id: default: null title: Assigned User Id type: integer nullable: true fingerprint: title: Fingerprint type: string first_seen: description: ISO 8601 datetime string. title: First Seen type: string is_deleted: title: Is Deleted type: integer issue_description: default: null title: Issue Description type: string nullable: true issue_id: title: Issue Id type: string issue_name: default: null title: Issue Name type: string nullable: true issue_status: title: Issue Status type: string version: description: Client-stamped monotonic version (`Date.now()` ms at mutation success). title: Version type: integer required: - fingerprint - first_seen - is_deleted - issue_id - issue_status - version title: ErrorTrackingPendingFingerprintIssueStateUpdate type: object PropertyGroupFilterValue: additionalProperties: false properties: type: $ref: '#/components/schemas/FilterLogicalOperator' values: items: anyOf: - $ref: '#/components/schemas/PropertyGroupFilterValue' - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' title: Values type: array required: - type - values title: PropertyGroupFilterValue type: object QueryResponseAlternative43: additionalProperties: false properties: dateFrom: default: null title: Datefrom type: string nullable: true dateTo: default: null title: Dateto type: string nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebOverviewItem' title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: QueryResponseAlternative43 type: object SpanPropertyFilterType: enum: - span - span_attribute - span_resource_attribute title: SpanPropertyFilterType type: string LogSeverityLevel: enum: - trace - debug - info - warn - error - fatal title: LogSeverityLevel type: string DataWarehouseViewLink: additionalProperties: false properties: created_at: default: null title: Created At type: string nullable: true created_by: default: null allOf: - $ref: '#/components/schemas/UserBasicType' nullable: true field_name: default: null title: Field Name type: string nullable: true id: title: Id type: string joining_table_key: default: null title: Joining Table Key type: string nullable: true joining_table_name: default: null title: Joining Table Name type: string nullable: true source_table_key: default: null title: Source Table Key type: string nullable: true source_table_name: default: null title: Source Table Name type: string nullable: true required: - id title: DataWarehouseViewLink type: object EndpointsUsageOverviewItem: additionalProperties: false properties: changeFromPreviousPct: default: null title: Changefrompreviouspct type: number nullable: true key: $ref: '#/components/schemas/EndpointsUsageOverviewItemKey' previous: default: null title: Previous type: number nullable: true value: default: null title: Value type: number nullable: true required: - key title: EndpointsUsageOverviewItem type: object EmptyPropertyFilter: additionalProperties: false properties: type: default: empty title: Type type: string enum: - empty title: EmptyPropertyFilter type: object SessionPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: session title: Type type: string enum: - session value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: SessionPropertyFilter type: object FunnelConversionWindowTimeUnit: enum: - second - minute - hour - day - week - month title: FunnelConversionWindowTimeUnit type: string ErrorTrackingExternalReference: additionalProperties: false properties: external_url: title: External Url type: string id: title: Id type: string integration: $ref: '#/components/schemas/ErrorTrackingExternalReferenceIntegration' required: - external_url - id - integration title: ErrorTrackingExternalReference type: object Response10: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - results - types title: Response10 type: object ErrorTrackingBreakdownsQuery: additionalProperties: false properties: breakdownProperties: items: type: string title: Breakdownproperties type: array dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true issueId: title: Issueid type: string kind: default: ErrorTrackingBreakdownsQuery title: Kind type: string enum: - ErrorTrackingBreakdownsQuery maxValuesPerProperty: default: null title: Maxvaluesperproperty type: integer nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ErrorTrackingBreakdownsQueryResponse' 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: - breakdownProperties - issueId title: ErrorTrackingBreakdownsQuery type: object DashboardFilter: additionalProperties: false properties: breakdown_filter: default: null allOf: - $ref: '#/components/schemas/BreakdownFilter' nullable: true date_from: default: null title: Date From type: string nullable: true date_to: default: null title: Date To type: string nullable: true explicitDate: default: null title: Explicitdate type: boolean nullable: true properties: default: null title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true title: DashboardFilter type: object DatabaseSchemaDataWarehouseTable: additionalProperties: false properties: fields: additionalProperties: $ref: '#/components/schemas/DatabaseSchemaField' title: Fields type: object format: title: Format type: string id: title: Id type: string name: title: Name type: string row_count: default: null title: Row Count type: number nullable: true schema: default: null allOf: - $ref: '#/components/schemas/DatabaseSchemaSchema' nullable: true source: default: null allOf: - $ref: '#/components/schemas/DatabaseSchemaSource' nullable: true type: default: data_warehouse title: Type type: string enum: - data_warehouse url_pattern: title: Url Pattern type: string required: - fields - format - id - name - url_pattern title: DatabaseSchemaDataWarehouseTable type: object RevenueAnalyticsMRRQueryResultItem: additionalProperties: false properties: churn: title: Churn contraction: title: Contraction expansion: title: Expansion new: title: New total: title: Total required: - churn - contraction - expansion - new - total title: RevenueAnalyticsMRRQueryResultItem type: object InlineCohortCalculation: enum: - 'off' - auto - always title: InlineCohortCalculation type: string SessionAttributionGroupBy: enum: - ChannelType - Medium - Source - Campaign - AdIds - ReferringDomain - InitialURL title: SessionAttributionGroupBy type: string DatabaseSchemaSchema: additionalProperties: false properties: id: title: Id type: string incremental: title: Incremental type: boolean last_synced_at: default: null title: Last Synced At type: string nullable: true name: title: Name type: string should_sync: title: Should Sync type: boolean status: default: null title: Status type: string nullable: true required: - id - incremental - name - should_sync title: DatabaseSchemaSchema type: object IntervalItem: additionalProperties: false properties: label: title: Label type: string value: description: An interval selected out of available intervals in source query title: Value type: integer required: - label - value title: IntervalItem type: object VectorSearchQuery: additionalProperties: false properties: embedding: items: type: number title: Embedding type: array embeddingVersion: default: null title: Embeddingversion type: number nullable: true kind: default: VectorSearchQuery title: Kind type: string enum: - VectorSearchQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/VectorSearchQueryResponse' 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: - embedding title: VectorSearchQuery type: object ErrorTrackingExternalReferenceIntegration: additionalProperties: false properties: display_name: title: Display Name type: string id: title: Id type: number kind: $ref: '#/components/schemas/IntegrationKind' required: - display_name - id - kind title: ErrorTrackingExternalReferenceIntegration type: object ExperimentFunnelsQueryResponse: additionalProperties: false properties: credible_intervals: additionalProperties: items: type: number type: array title: Credible Intervals type: object expected_loss: title: Expected Loss type: number funnels_query: default: null allOf: - $ref: '#/components/schemas/FunnelsQuery' nullable: true insight: items: items: additionalProperties: true type: object type: array title: Insight type: array kind: default: ExperimentFunnelsQuery title: Kind type: string enum: - ExperimentFunnelsQuery probability: additionalProperties: type: number title: Probability type: object significance_code: $ref: '#/components/schemas/ExperimentSignificanceCode' significant: title: Significant type: boolean stats_version: default: null title: Stats Version type: integer nullable: true variants: items: $ref: '#/components/schemas/ExperimentVariantFunnelsBaseStats' title: Variants type: array required: - credible_intervals - expected_loss - insight - probability - significance_code - significant - variants title: ExperimentFunnelsQueryResponse type: object QueryResponseAlternative68: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RetentionResult' title: Results 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: - results title: QueryResponseAlternative68 type: object YAxisScaleType: enum: - log10 - linear title: YAxisScaleType type: string ResolvedDateRangeResponse: additionalProperties: false properties: date_from: format: date-time title: Date From type: string date_to: format: date-time title: Date To type: string required: - date_from - date_to title: ResolvedDateRangeResponse type: object QueryResponseAlternative51: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: QueryResponseAlternative51 type: object ActionsNode: additionalProperties: false properties: custom_name: default: null title: Custom Name type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true id: title: Id type: integer kind: default: ActionsNode title: Kind type: string enum: - ActionsNode math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - id title: ActionsNode type: object CompareFilter: additionalProperties: false properties: compare: default: false description: Whether to compare the current date range to a previous date range. title: Compare type: boolean nullable: true compare_to: default: null description: 'The date range to compare to. The value is a relative date. Examples of relative dates are: `-1y` for 1 year ago, `-14m` for 14 months ago, `-100w` for 100 weeks ago, `-14d` for 14 days ago, `-30h` for 30 hours ago.' title: Compare To type: string nullable: true title: CompareFilter type: object TrendsQueryResponse: additionalProperties: false properties: boxplot_data: default: null title: Boxplot Data items: $ref: '#/components/schemas/BoxPlotDatum' type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null description: Wether more breakdown values are available. title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: additionalProperties: true type: object title: Results 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: - results title: TrendsQueryResponse type: object TraceNeighborsQuery: additionalProperties: false properties: dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterSupportTraces: default: null title: Filtersupporttraces type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true kind: default: TraceNeighborsQuery title: Kind type: string enum: - TraceNeighborsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null allOf: - $ref: '#/components/schemas/TraceNeighborsQueryResponse' nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true timestamp: description: Timestamp of the current trace to find neighbors for title: Timestamp type: string traceId: description: ID of the current trace to find neighbors for title: Traceid type: string version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - timestamp - traceId title: TraceNeighborsQuery type: object QueryResponseAlternative20: additionalProperties: false properties: baseline: default: null allOf: - $ref: '#/components/schemas/ExperimentStatsBaseValidated' nullable: true breakdown_results: default: null description: Results grouped by breakdown value. When present, baseline and variant_results contain aggregated data. title: Breakdown Results items: $ref: '#/components/schemas/ExperimentBreakdownResult' type: array nullable: true clickhouse_sql: default: null title: Clickhouse Sql type: string nullable: true credible_intervals: default: null title: Credible Intervals additionalProperties: items: type: number type: array type: object nullable: true hogql: default: null title: Hogql type: string nullable: true insight: default: null title: Insight items: additionalProperties: true type: object type: array nullable: true is_precomputed: default: null description: Whether exposures were served from the precomputation system title: Is Precomputed type: boolean nullable: true kind: default: ExperimentQuery title: Kind type: string enum: - ExperimentQuery metric: default: null title: Metric anyOf: - $ref: '#/components/schemas/ExperimentMeanMetric' - $ref: '#/components/schemas/ExperimentFunnelMetric' - $ref: '#/components/schemas/ExperimentRatioMetric' - $ref: '#/components/schemas/ExperimentRetentionMetric' nullable: true p_value: default: null title: P Value type: number nullable: true probability: default: null title: Probability additionalProperties: type: number type: object nullable: true significance_code: default: null allOf: - $ref: '#/components/schemas/ExperimentSignificanceCode' nullable: true significant: default: null title: Significant type: boolean nullable: true stats_version: default: null title: Stats Version type: integer nullable: true variant_results: default: null title: Variant Results anyOf: - items: $ref: '#/components/schemas/ExperimentVariantResultFrequentist' type: array - items: $ref: '#/components/schemas/ExperimentVariantResultBayesian' type: array nullable: true variants: default: null title: Variants anyOf: - items: $ref: '#/components/schemas/ExperimentVariantTrendsBaseStats' type: array - items: $ref: '#/components/schemas/ExperimentVariantFunnelsBaseStats' type: array nullable: true title: QueryResponseAlternative20 type: object ErrorTrackingOrderBy: enum: - last_seen - first_seen - occurrences - users - sessions title: ErrorTrackingOrderBy type: string QueryRequest: additionalProperties: false properties: async: default: null title: Async type: boolean nullable: true client_query_id: default: null description: Client provided query ID. Can be used to retrieve the status or cancel the query. title: Client Query Id type: string nullable: true filters_override: default: null allOf: - $ref: '#/components/schemas/DashboardFilter' nullable: true limit_context: default: null description: Limit context for the query. Only 'posthog_ai' is allowed as a client-provided value. allOf: - $ref: '#/components/schemas/LimitContext' nullable: true name: default: null description: Name given to a query. It's used to identify the query in the UI. Up to 128 characters for a name. title: Name type: string nullable: true query: description: 'Submit a JSON string representing a query for PostHog data analysis, for example a HogQL query. Example payload: ``` {"query": {"kind": "HogQLQuery", "query": "select * from events limit 100"}} ``` For more details on HogQL queries, see the [PostHog HogQL documentation](/docs/hogql#api-access).' discriminator: mapping: ActionsNode: '#/components/schemas/ActionsNode' ActorsPropertyTaxonomyQuery: '#/components/schemas/ActorsPropertyTaxonomyQuery' ActorsQuery: '#/components/schemas/ActorsQuery' DataTableNode: '#/components/schemas/DataTableNode' DataVisualizationNode: '#/components/schemas/DataVisualizationNode' DataWarehouseNode: '#/components/schemas/DataWarehouseNode' DatabaseSchemaQuery: '#/components/schemas/DatabaseSchemaQuery' DocumentSimilarityQuery: '#/components/schemas/DocumentSimilarityQuery' EndpointsUsageOverviewQuery: '#/components/schemas/EndpointsUsageOverviewQuery' EndpointsUsageTableQuery: '#/components/schemas/EndpointsUsageTableQuery' EndpointsUsageTrendsQuery: '#/components/schemas/EndpointsUsageTrendsQuery' ErrorTrackingBreakdownsQuery: '#/components/schemas/ErrorTrackingBreakdownsQuery' ErrorTrackingIssueCorrelationQuery: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' ErrorTrackingQuery: '#/components/schemas/ErrorTrackingQuery' ErrorTrackingSimilarIssuesQuery: '#/components/schemas/ErrorTrackingSimilarIssuesQuery' EventTaxonomyQuery: '#/components/schemas/EventTaxonomyQuery' EventsNode: '#/components/schemas/EventsNode' EventsQuery: '#/components/schemas/EventsQuery' ExperimentExposureQuery: '#/components/schemas/ExperimentExposureQuery' ExperimentFunnelsQuery: '#/components/schemas/ExperimentFunnelsQuery' ExperimentQuery: '#/components/schemas/ExperimentQuery' ExperimentTrendsQuery: '#/components/schemas/ExperimentTrendsQuery' FunnelCorrelationQuery: '#/components/schemas/FunnelCorrelationQuery' FunnelsDataWarehouseNode: '#/components/schemas/FunnelsDataWarehouseNode' FunnelsQuery: '#/components/schemas/FunnelsQuery' GroupsQuery: '#/components/schemas/GroupsQuery' HogQLAutocomplete: '#/components/schemas/HogQLAutocomplete' HogQLMetadata: '#/components/schemas/HogQLMetadata' HogQLQuery: '#/components/schemas/HogQLQuery' HogQuery: '#/components/schemas/HogQuery' InsightActorsQuery: '#/components/schemas/InsightActorsQuery' InsightActorsQueryOptions: '#/components/schemas/InsightActorsQueryOptions' InsightVizNode: '#/components/schemas/InsightVizNode' LifecycleDataWarehouseNode: '#/components/schemas/LifecycleDataWarehouseNode' LifecycleQuery: '#/components/schemas/LifecycleQuery' LogAttributesQuery: '#/components/schemas/LogAttributesQuery' LogValuesQuery: '#/components/schemas/LogValuesQuery' LogsQuery: '#/components/schemas/LogsQuery' MarketingAnalyticsAggregatedQuery: '#/components/schemas/MarketingAnalyticsAggregatedQuery' MarketingAnalyticsTableQuery: '#/components/schemas/MarketingAnalyticsTableQuery' NonIntegratedConversionsTableQuery: '#/components/schemas/NonIntegratedConversionsTableQuery' PathsQuery: '#/components/schemas/PathsQuery' PersonsNode: '#/components/schemas/PersonsNode' PropertyValuesQuery: '#/components/schemas/PropertyValuesQuery' RecordingsQuery: '#/components/schemas/RecordingsQuery' RetentionQuery: '#/components/schemas/RetentionQuery' RevenueAnalyticsGrossRevenueQuery: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' RevenueAnalyticsMRRQuery: '#/components/schemas/RevenueAnalyticsMRRQuery' RevenueAnalyticsMetricsQuery: '#/components/schemas/RevenueAnalyticsMetricsQuery' RevenueAnalyticsOverviewQuery: '#/components/schemas/RevenueAnalyticsOverviewQuery' RevenueAnalyticsTopCustomersQuery: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' RevenueExampleDataWarehouseTablesQuery: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' RevenueExampleEventsQuery: '#/components/schemas/RevenueExampleEventsQuery' SavedInsightNode: '#/components/schemas/SavedInsightNode' SessionAttributionExplorerQuery: '#/components/schemas/SessionAttributionExplorerQuery' SessionsQuery: '#/components/schemas/SessionsQuery' SessionsTimelineQuery: '#/components/schemas/SessionsTimelineQuery' StickinessQuery: '#/components/schemas/StickinessQuery' SuggestedQuestionsQuery: '#/components/schemas/SuggestedQuestionsQuery' TeamTaxonomyQuery: '#/components/schemas/TeamTaxonomyQuery' TraceNeighborsQuery: '#/components/schemas/TraceNeighborsQuery' TraceQuery: '#/components/schemas/TraceQuery' TraceSpansQuery: '#/components/schemas/TraceSpansQuery' TracesQuery: '#/components/schemas/TracesQuery' TrendsQuery: '#/components/schemas/TrendsQuery' UsageMetricsQuery: '#/components/schemas/UsageMetricsQuery' VectorSearchQuery: '#/components/schemas/VectorSearchQuery' WebAnalyticsExternalSummaryQuery: '#/components/schemas/WebAnalyticsExternalSummaryQuery' WebExternalClicksTableQuery: '#/components/schemas/WebExternalClicksTableQuery' WebGoalsQuery: '#/components/schemas/WebGoalsQuery' WebNotableChangesQuery: '#/components/schemas/WebNotableChangesQuery' WebOverviewQuery: '#/components/schemas/WebOverviewQuery' WebPageURLSearchQuery: '#/components/schemas/WebPageURLSearchQuery' WebStatsTableQuery: '#/components/schemas/WebStatsTableQuery' WebVitalsPathBreakdownQuery: '#/components/schemas/WebVitalsPathBreakdownQuery' WebVitalsQuery: '#/components/schemas/WebVitalsQuery' propertyName: kind oneOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/PersonsNode' - $ref: '#/components/schemas/DataWarehouseNode' - $ref: '#/components/schemas/FunnelsDataWarehouseNode' - $ref: '#/components/schemas/LifecycleDataWarehouseNode' - $ref: '#/components/schemas/EventsQuery' - $ref: '#/components/schemas/SessionsQuery' - $ref: '#/components/schemas/ActorsQuery' - $ref: '#/components/schemas/GroupsQuery' - $ref: '#/components/schemas/InsightActorsQuery' - $ref: '#/components/schemas/InsightActorsQueryOptions' - $ref: '#/components/schemas/SessionsTimelineQuery' - $ref: '#/components/schemas/HogQuery' - $ref: '#/components/schemas/HogQLQuery' - $ref: '#/components/schemas/HogQLMetadata' - $ref: '#/components/schemas/HogQLAutocomplete' - $ref: '#/components/schemas/SessionAttributionExplorerQuery' - $ref: '#/components/schemas/RevenueExampleEventsQuery' - $ref: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' - $ref: '#/components/schemas/ErrorTrackingQuery' - $ref: '#/components/schemas/ErrorTrackingSimilarIssuesQuery' - $ref: '#/components/schemas/ErrorTrackingBreakdownsQuery' - $ref: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' - $ref: '#/components/schemas/ExperimentFunnelsQuery' - $ref: '#/components/schemas/ExperimentTrendsQuery' - $ref: '#/components/schemas/ExperimentQuery' - $ref: '#/components/schemas/ExperimentExposureQuery' - $ref: '#/components/schemas/DocumentSimilarityQuery' - $ref: '#/components/schemas/WebOverviewQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebExternalClicksTableQuery' - $ref: '#/components/schemas/WebGoalsQuery' - $ref: '#/components/schemas/WebVitalsQuery' - $ref: '#/components/schemas/WebVitalsPathBreakdownQuery' - $ref: '#/components/schemas/WebPageURLSearchQuery' - $ref: '#/components/schemas/WebAnalyticsExternalSummaryQuery' - $ref: '#/components/schemas/WebNotableChangesQuery' - $ref: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' - $ref: '#/components/schemas/RevenueAnalyticsMetricsQuery' - $ref: '#/components/schemas/RevenueAnalyticsMRRQuery' - $ref: '#/components/schemas/RevenueAnalyticsOverviewQuery' - $ref: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' - $ref: '#/components/schemas/MarketingAnalyticsTableQuery' - $ref: '#/components/schemas/MarketingAnalyticsAggregatedQuery' - $ref: '#/components/schemas/NonIntegratedConversionsTableQuery' - $ref: '#/components/schemas/DataVisualizationNode' - $ref: '#/components/schemas/DataTableNode' - $ref: '#/components/schemas/SavedInsightNode' - $ref: '#/components/schemas/InsightVizNode' - $ref: '#/components/schemas/TrendsQuery' - $ref: '#/components/schemas/FunnelsQuery' - $ref: '#/components/schemas/RetentionQuery' - $ref: '#/components/schemas/PathsQuery' - $ref: '#/components/schemas/StickinessQuery' - $ref: '#/components/schemas/LifecycleQuery' - $ref: '#/components/schemas/FunnelCorrelationQuery' - $ref: '#/components/schemas/DatabaseSchemaQuery' - $ref: '#/components/schemas/RecordingsQuery' - $ref: '#/components/schemas/LogsQuery' - $ref: '#/components/schemas/LogAttributesQuery' - $ref: '#/components/schemas/LogValuesQuery' - $ref: '#/components/schemas/TraceSpansQuery' - $ref: '#/components/schemas/SuggestedQuestionsQuery' - $ref: '#/components/schemas/TeamTaxonomyQuery' - $ref: '#/components/schemas/EventTaxonomyQuery' - $ref: '#/components/schemas/ActorsPropertyTaxonomyQuery' - $ref: '#/components/schemas/TracesQuery' - $ref: '#/components/schemas/TraceQuery' - $ref: '#/components/schemas/TraceNeighborsQuery' - $ref: '#/components/schemas/VectorSearchQuery' - $ref: '#/components/schemas/UsageMetricsQuery' - $ref: '#/components/schemas/EndpointsUsageOverviewQuery' - $ref: '#/components/schemas/EndpointsUsageTableQuery' - $ref: '#/components/schemas/EndpointsUsageTrendsQuery' - $ref: '#/components/schemas/PropertyValuesQuery' title: Query refresh: default: blocking description: 'Whether results should be calculated sync or async, and how much to rely on the cache: - `''blocking''` - calculate synchronously (returning only when the query is done), UNLESS there are very fresh results in the cache - `''async''` - kick off background calculation (returning immediately with a query status), UNLESS there are very fresh results in the cache - `''lazy_async''` - kick off background calculation, UNLESS there are somewhat fresh results in the cache - `''force_blocking''` - calculate synchronously, even if fresh results are already cached - `''force_async''` - kick off background calculation, even if fresh results are already cached - `''force_cache''` - return cached data or a cache miss; always completes immediately as it never calculates Background calculation can be tracked using the `query_status` response field.' allOf: - $ref: '#/components/schemas/RefreshType' nullable: true variables_override: default: null title: Variables Override additionalProperties: additionalProperties: true type: object type: object nullable: true required: - query title: QueryRequest type: object ExperimentVariantResultFrequentist: additionalProperties: false properties: confidence_interval: default: null title: Confidence Interval items: type: number maxItems: 2 minItems: 2 type: array nullable: true covariate_sum: default: null title: Covariate Sum type: number nullable: true covariate_sum_product: default: null title: Covariate Sum Product type: number nullable: true covariate_sum_squares: default: null title: Covariate Sum Squares type: number nullable: true denominator_sum: default: null title: Denominator Sum type: number nullable: true denominator_sum_squares: default: null title: Denominator Sum Squares type: number nullable: true key: title: Key type: string method: default: frequentist title: Method type: string enum: - frequentist number_of_samples: title: Number Of Samples type: integer numerator_denominator_sum_product: default: null title: Numerator Denominator Sum Product type: number nullable: true p_value: default: null title: P Value type: number nullable: true significant: default: null title: Significant type: boolean nullable: true step_counts: default: null title: Step Counts items: type: integer type: array nullable: true step_sessions: default: null title: Step Sessions items: items: $ref: '#/components/schemas/SessionData' type: array type: array nullable: true sum: title: Sum type: number sum_squares: title: Sum Squares type: number validation_failures: default: null title: Validation Failures items: $ref: '#/components/schemas/ExperimentStatsValidationFailure' type: array nullable: true required: - key - number_of_samples - sum - sum_squares title: ExperimentVariantResultFrequentist type: object WebGoalsQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: WebGoalsQueryResponse type: object TracesQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LLMTrace' title: Results 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: - results title: TracesQueryResponse type: object CurrencyCode: enum: - AED - AFN - ALL - AMD - ANG - AOA - ARS - AUD - AWG - AZN - BAM - BBD - BDT - BGN - BHD - BIF - BMD - BND - BOB - BRL - BSD - BTC - BTN - BWP - BYN - BZD - CAD - CDF - CHF - CLP - CNY - COP - CRC - CVE - CZK - DJF - DKK - DOP - DZD - EGP - ERN - ETB - EUR - FJD - GBP - GEL - GHS - GIP - GMD - GNF - GTQ - GYD - HKD - HNL - HRK - HTG - HUF - IDR - ILS - INR - IQD - IRR - ISK - JMD - JOD - JPY - KES - KGS - KHR - KMF - KRW - KWD - KYD - KZT - LAK - LBP - LKR - LRD - LTL - LVL - LSL - LYD - MAD - MDL - MGA - MKD - MMK - MNT - MOP - MRU - MTL - MUR - MVR - MWK - MXN - MYR - MZN - NAD - NGN - NIO - NOK - NPR - NZD - OMR - PAB - PEN - PGK - PHP - PKR - PLN - PYG - QAR - RON - RSD - RUB - RWF - SAR - SBD - SCR - SDG - SEK - SGD - SRD - SSP - STN - SYP - SZL - THB - TJS - TMT - TND - TOP - TRY - TTD - TWD - TZS - UAH - UGX - USD - UYU - UZS - VES - VND - VUV - WST - XAF - XCD - XOF - XPF - YER - ZAR - ZMW title: CurrencyCode type: string FunnelCorrelationResultsType: enum: - events - properties - event_with_properties title: FunnelCorrelationResultsType type: string ExperimentQueryResponse: additionalProperties: false properties: baseline: default: null allOf: - $ref: '#/components/schemas/ExperimentStatsBaseValidated' nullable: true breakdown_results: default: null description: Results grouped by breakdown value. When present, baseline and variant_results contain aggregated data. title: Breakdown Results items: $ref: '#/components/schemas/ExperimentBreakdownResult' type: array nullable: true clickhouse_sql: default: null title: Clickhouse Sql type: string nullable: true credible_intervals: default: null title: Credible Intervals additionalProperties: items: type: number type: array type: object nullable: true hogql: default: null title: Hogql type: string nullable: true insight: default: null title: Insight items: additionalProperties: true type: object type: array nullable: true is_precomputed: default: null description: Whether exposures were served from the precomputation system title: Is Precomputed type: boolean nullable: true kind: default: ExperimentQuery title: Kind type: string enum: - ExperimentQuery metric: default: null title: Metric anyOf: - $ref: '#/components/schemas/ExperimentMeanMetric' - $ref: '#/components/schemas/ExperimentFunnelMetric' - $ref: '#/components/schemas/ExperimentRatioMetric' - $ref: '#/components/schemas/ExperimentRetentionMetric' nullable: true p_value: default: null title: P Value type: number nullable: true probability: default: null title: Probability additionalProperties: type: number type: object nullable: true significance_code: default: null allOf: - $ref: '#/components/schemas/ExperimentSignificanceCode' nullable: true significant: default: null title: Significant type: boolean nullable: true stats_version: default: null title: Stats Version type: integer nullable: true variant_results: default: null title: Variant Results anyOf: - items: $ref: '#/components/schemas/ExperimentVariantResultFrequentist' type: array - items: $ref: '#/components/schemas/ExperimentVariantResultBayesian' type: array nullable: true variants: default: null title: Variants anyOf: - items: $ref: '#/components/schemas/ExperimentVariantTrendsBaseStats' type: array - items: $ref: '#/components/schemas/ExperimentVariantFunnelsBaseStats' type: array nullable: true title: ExperimentQueryResponse type: object PropertyGroupFilter: additionalProperties: false properties: type: $ref: '#/components/schemas/FilterLogicalOperator' values: items: $ref: '#/components/schemas/PropertyGroupFilterValue' title: Values type: array required: - type - values title: PropertyGroupFilter type: object RetentionDashboardDisplayType: enum: - table_only - graph_only - all title: RetentionDashboardDisplayType type: string AIEventType: enum: - $ai_generation - $ai_embedding - $ai_span - $ai_trace - $ai_metric - $ai_feedback - $ai_evaluation - $ai_tag - $ai_trace_summary - $ai_generation_summary - $ai_trace_clusters - $ai_generation_clusters title: AIEventType type: string WebStatsTableQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true breakdownBy: $ref: '#/components/schemas/WebStatsBreakdown' compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeAvgTimeOnPage: default: null title: Includeavgtimeonpage type: boolean nullable: true includeBounceRate: default: null title: Includebouncerate type: boolean nullable: true includeHost: default: null title: Includehost type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true includeScrollDepth: default: null title: Includescrolldepth type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: WebStatsTableQuery title: Kind type: string enum: - WebStatsTableQuery 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: default: null title: Orderby items: anyOf: - $ref: '#/components/schemas/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebStatsTableQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - breakdownBy - properties title: WebStatsTableQuery type: object HogQueryResponse: additionalProperties: false properties: bytecode: default: null title: Bytecode items: {} type: array nullable: true coloredBytecode: default: null title: Coloredbytecode items: {} type: array nullable: true results: title: Results stdout: default: null title: Stdout type: string nullable: true required: - results title: HogQueryResponse type: object DataWarehouseNode: additionalProperties: false properties: custom_name: default: null title: Custom Name type: string nullable: true distinct_id_field: title: Distinct Id Field type: string dw_source_type: default: null title: Dw Source Type type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true id: title: Id type: string id_field: title: Id Field type: string kind: default: DataWarehouseNode title: Kind type: string enum: - DataWarehouseNode math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true table_name: title: Table Name type: string timestamp_field: title: Timestamp Field type: string version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - distinct_id_field - id - id_field - table_name - timestamp_field title: DataWarehouseNode type: object TaxonomicFilterGroupType: enum: - metadata - actions - cohorts - cohorts_with_all - data_warehouse - data_warehouse_properties - data_warehouse_person_properties - elements - events - internal_events - internal_event_properties - event_properties - event_feature_flags - event_metadata - numerical_event_properties - person_properties - pageview_urls - pageview_events - screens - screen_events - email_addresses - autocapture_events - custom_events - wildcard - groups - persons - feature_flags - insights - experiments - plugins - dashboards - name_groups - session_properties - hogql_expression - notebooks - log_entries - error_tracking_issues - logs - log_attributes - log_resource_attributes - spans - span_attributes - span_resource_attributes - replay - replay_saved_filters - revenue_analytics_properties - resources - error_tracking_properties - activity_log_properties - max_ai_context - workflow_variables - suggested_filters - recent_filters - pinned_filters - empty title: TaxonomicFilterGroupType type: string ChartSettingsFormatting: additionalProperties: false properties: decimalPlaces: default: null title: Decimalplaces type: number nullable: true prefix: default: null title: Prefix type: string nullable: true style: default: null allOf: - $ref: '#/components/schemas/Style' nullable: true suffix: default: null title: Suffix type: string nullable: true title: ChartSettingsFormatting type: object Population: additionalProperties: false properties: both: title: Both type: number exception_only: title: Exception Only type: number neither: title: Neither type: number success_only: title: Success Only type: number required: - both - exception_only - neither - success_only title: Population type: object EmbeddingModelName: enum: - text-embedding-3-small-1536 - text-embedding-3-large-3072 title: EmbeddingModelName type: string FunnelCorrelationResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: $ref: '#/components/schemas/FunnelCorrelationResult' 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: FunnelCorrelationResponse type: object FlagPropertyFilter: additionalProperties: false properties: key: description: The key should be the flag ID title: Key type: string label: default: null title: Label type: string nullable: true operator: default: flag_evaluates_to description: Only flag_evaluates_to operator is allowed for flag dependencies title: Operator type: string enum: - flag_evaluates_to type: default: flag description: Feature flag dependency title: Type type: string enum: - flag value: anyOf: - type: boolean - type: string description: The value can be true, false, or a variant name title: Value required: - key - value title: FlagPropertyFilter type: object WebVitalsMetric: enum: - INP - LCP - CLS - FCP title: WebVitalsMetric type: string GroupsQueryResponse: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string kind: default: GroupsQuery title: Kind type: string enum: - GroupsQuery limit: title: Limit type: integer modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: title: Offset type: integer query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - limit - offset - results - types title: GroupsQueryResponse type: object SessionsQuery: additionalProperties: false properties: actionId: default: null description: Filter sessions by action - sessions that contain events matching this action title: Actionid type: integer nullable: true after: default: null description: Only fetch sessions that started after this timestamp title: After type: string nullable: true before: default: null description: Only fetch sessions that started before this timestamp title: Before type: string nullable: true event: default: null description: Filter sessions by event name - sessions that contain this event title: Event type: string nullable: true eventProperties: default: null description: Event property filters - filters sessions that contain events matching these properties title: Eventproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true filterTestAccounts: default: null description: Filter test accounts title: Filtertestaccounts type: boolean nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/PropertyGroupFilter' - $ref: '#/components/schemas/PropertyGroupFilterValue' - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true kind: default: SessionsQuery title: Kind type: string enum: - SessionsQuery limit: default: null description: Number of rows to return 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 description: Number of rows to skip before returning rows title: Offset type: integer nullable: true orderBy: default: null description: Columns to order by title: Orderby items: type: string type: array nullable: true personId: default: null description: Show sessions for a given person title: Personid type: string nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null allOf: - $ref: '#/components/schemas/SessionsQueryResponse' nullable: true select: description: Return a limited set of data. Required. items: type: string title: Select type: array 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 where: default: null description: HogQL filters to apply on returned data title: Where items: type: string type: array nullable: true required: - select title: SessionsQuery type: object UsageMetric: additionalProperties: false properties: change_from_previous_pct: default: null title: Change From Previous Pct type: number nullable: true display: $ref: '#/components/schemas/UsageMetricDisplay' format: $ref: '#/components/schemas/UsageMetricFormat' id: title: Id type: string interval: title: Interval type: integer name: title: Name type: string previous: title: Previous type: number timeseries: default: null description: Daily values over the current interval period. Only populated when display is 'sparkline'. title: Timeseries items: type: number type: array nullable: true timeseries_labels: default: null description: ISO date strings for sparkline tooltip labels. Only populated when display is 'sparkline'. title: Timeseries Labels items: type: string type: array nullable: true value: title: Value type: number required: - display - format - id - interval - name - previous - value title: UsageMetric type: object PersonsOnEventsMode: enum: - disabled - person_id_no_override_properties_on_events - person_id_override_properties_on_events - person_id_override_properties_joined title: PersonsOnEventsMode type: string QueryResponseAlternative: anyOf: - additionalProperties: true type: object - $ref: '#/components/schemas/QueryResponseAlternative1' - $ref: '#/components/schemas/QueryResponseAlternative2' - $ref: '#/components/schemas/QueryResponseAlternative3' - $ref: '#/components/schemas/QueryResponseAlternative4' - $ref: '#/components/schemas/QueryResponseAlternative5' - $ref: '#/components/schemas/QueryResponseAlternative6' - $ref: '#/components/schemas/QueryResponseAlternative7' - $ref: '#/components/schemas/QueryResponseAlternative8' - $ref: '#/components/schemas/QueryResponseAlternative9' - $ref: '#/components/schemas/QueryResponseAlternative10' - $ref: '#/components/schemas/QueryResponseAlternative11' - $ref: '#/components/schemas/QueryResponseAlternative14' - $ref: '#/components/schemas/QueryResponseAlternative15' - $ref: '#/components/schemas/QueryResponseAlternative16' - $ref: '#/components/schemas/QueryResponseAlternative17' - $ref: '#/components/schemas/QueryResponseAlternative18' - $ref: '#/components/schemas/QueryResponseAlternative19' - $ref: '#/components/schemas/QueryResponseAlternative20' - $ref: '#/components/schemas/QueryResponseAlternative21' - $ref: '#/components/schemas/QueryResponseAlternative22' - $ref: '#/components/schemas/QueryResponseAlternative23' - $ref: '#/components/schemas/QueryResponseAlternative24' - $ref: '#/components/schemas/QueryResponseAlternative25' - $ref: '#/components/schemas/QueryResponseAlternative27' - $ref: '#/components/schemas/QueryResponseAlternative28' - $ref: '#/components/schemas/QueryResponseAlternative29' - $ref: '#/components/schemas/QueryResponseAlternative30' - $ref: '#/components/schemas/QueryResponseAlternative31' - $ref: '#/components/schemas/QueryResponseAlternative32' - $ref: '#/components/schemas/QueryResponseAlternative33' - $ref: '#/components/schemas/QueryResponseAlternative34' - $ref: '#/components/schemas/QueryResponseAlternative35' - $ref: '#/components/schemas/QueryResponseAlternative36' - $ref: '#/components/schemas/QueryResponseAlternative37' - $ref: '#/components/schemas/QueryResponseAlternative38' - {} - $ref: '#/components/schemas/QueryResponseAlternative39' - $ref: '#/components/schemas/QueryResponseAlternative40' - $ref: '#/components/schemas/QueryResponseAlternative41' - $ref: '#/components/schemas/QueryResponseAlternative42' - $ref: '#/components/schemas/QueryResponseAlternative43' - $ref: '#/components/schemas/QueryResponseAlternative44' - $ref: '#/components/schemas/QueryResponseAlternative45' - $ref: '#/components/schemas/QueryResponseAlternative47' - $ref: '#/components/schemas/QueryResponseAlternative48' - $ref: '#/components/schemas/QueryResponseAlternative49' - $ref: '#/components/schemas/QueryResponseAlternative50' - $ref: '#/components/schemas/QueryResponseAlternative51' - $ref: '#/components/schemas/QueryResponseAlternative52' - $ref: '#/components/schemas/QueryResponseAlternative53' - $ref: '#/components/schemas/QueryResponseAlternative54' - $ref: '#/components/schemas/QueryResponseAlternative55' - $ref: '#/components/schemas/QueryResponseAlternative57' - $ref: '#/components/schemas/QueryResponseAlternative58' - $ref: '#/components/schemas/QueryResponseAlternative59' - $ref: '#/components/schemas/QueryResponseAlternative60' - $ref: '#/components/schemas/QueryResponseAlternative62' - $ref: '#/components/schemas/QueryResponseAlternative63' - $ref: '#/components/schemas/QueryResponseAlternative64' - $ref: '#/components/schemas/QueryResponseAlternative65' - $ref: '#/components/schemas/QueryResponseAlternative66' - $ref: '#/components/schemas/QueryResponseAlternative67' - $ref: '#/components/schemas/QueryResponseAlternative68' - $ref: '#/components/schemas/QueryResponseAlternative69' - $ref: '#/components/schemas/QueryResponseAlternative70' - $ref: '#/components/schemas/QueryResponseAlternative72' - $ref: '#/components/schemas/QueryResponseAlternative73' - $ref: '#/components/schemas/QueryResponseAlternative74' - $ref: '#/components/schemas/QueryResponseAlternative75' - $ref: '#/components/schemas/QueryResponseAlternative76' - $ref: '#/components/schemas/QueryResponseAlternative77' - $ref: '#/components/schemas/QueryResponseAlternative78' - $ref: '#/components/schemas/QueryResponseAlternative79' - $ref: '#/components/schemas/QueryResponseAlternative80' - $ref: '#/components/schemas/QueryResponseAlternative81' - $ref: '#/components/schemas/QueryResponseAlternative82' - $ref: '#/components/schemas/QueryResponseAlternative83' - $ref: '#/components/schemas/QueryResponseAlternative85' - $ref: '#/components/schemas/QueryResponseAlternative86' - $ref: '#/components/schemas/QueryResponseAlternative87' - $ref: '#/components/schemas/QueryResponseAlternative88' - $ref: '#/components/schemas/QueryResponseAlternative89' - $ref: '#/components/schemas/QueryResponseAlternative90' - $ref: '#/components/schemas/QueryResponseAlternative91' title: QueryResponseAlternative 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 title: ErrorTrackingQuery type: object StepOrderValue: enum: - strict - unordered - ordered title: StepOrderValue type: string Response1: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string limit: title: Limit type: integer missing_actors_count: default: null title: Missing Actors Count type: integer nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: title: Offset type: integer query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: default: null title: Types items: type: string type: array nullable: true required: - columns - hogql - limit - offset - results title: Response1 type: object EventTaxonomyQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/EventTaxonomyItem' title: Results 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: - results title: EventTaxonomyQueryResponse type: object Response16: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: Response16 type: object CohortPropertyFilter: additionalProperties: false properties: cohort_name: default: null title: Cohort Name type: string nullable: true key: default: id title: Key type: string enum: - id label: default: null title: Label type: string nullable: true operator: default: in allOf: - $ref: '#/components/schemas/PropertyOperator' nullable: true type: default: cohort title: Type type: string enum: - cohort value: title: Value type: integer required: - value title: CohortPropertyFilter type: object RevenueAnalyticsOverviewItem: additionalProperties: false properties: key: $ref: '#/components/schemas/RevenueAnalyticsOverviewItemKey' value: title: Value type: number required: - key - value title: RevenueAnalyticsOverviewItem type: object QueryResponseAlternative40: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string limit: title: Limit type: integer missing_actors_count: default: null title: Missing Actors Count type: integer nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: title: Offset type: integer query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: default: null title: Types items: type: string type: array nullable: true required: - columns - hogql - limit - offset - results title: QueryResponseAlternative40 type: object QueryResponseAlternative73: additionalProperties: false properties: joins: items: $ref: '#/components/schemas/DataWarehouseViewLink' title: Joins type: array tables: additionalProperties: anyOf: - $ref: '#/components/schemas/DatabaseSchemaPostHogTable' - $ref: '#/components/schemas/DatabaseSchemaSystemTable' - $ref: '#/components/schemas/DatabaseSchemaDataWarehouseTable' - $ref: '#/components/schemas/DatabaseSchemaViewTable' - $ref: '#/components/schemas/DatabaseSchemaManagedViewTable' - $ref: '#/components/schemas/DatabaseSchemaBatchExportTable' - $ref: '#/components/schemas/DatabaseSchemaMaterializedViewTable' - $ref: '#/components/schemas/DatabaseSchemaEndpointTable' title: Tables type: object required: - joins - tables title: QueryResponseAlternative73 type: object QueryStatusResponse: additionalProperties: false properties: query_status: $ref: '#/components/schemas/QueryStatus' required: - query_status title: QueryStatusResponse type: object ErrorTrackingIssueCorrelationQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/ErrorTrackingCorrelatedIssue' title: Results 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: - results title: ErrorTrackingIssueCorrelationQueryResponse type: object PathType: enum: - $pageview - $screen - custom_event - hogql title: PathType type: string LifecycleDataWarehouseNode: additionalProperties: false properties: aggregation_target_field: title: Aggregation Target Field type: string created_at_field: title: Created At Field type: string custom_name: default: null title: Custom Name type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true id: title: Id type: string kind: default: LifecycleDataWarehouseNode title: Kind type: string enum: - LifecycleDataWarehouseNode math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true table_name: title: Table Name type: string timestamp_field: title: Timestamp Field type: string version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - aggregation_target_field - created_at_field - id - table_name - timestamp_field title: LifecycleDataWarehouseNode type: object IntegrationKind: enum: - slack - slack-posthog-code - salesforce - hubspot - google-pubsub - google-cloud-service-account - google-cloud-storage - google-ads - google-sheets - linkedin-ads - snapchat - stripe - intercom - email - twilio - linear - github - gitlab - meta-ads - clickup - reddit-ads - databricks - tiktok-ads - bing-ads - vercel - azure-blob - firebase - jira - pinterest-ads - customerio-app - customerio-webhook - customerio-track title: IntegrationKind type: string QueryStatus: additionalProperties: false properties: complete: default: false description: Whether the query is still running. Will be true if the query is complete, even if it errored. Either result or error will be set. title: Complete type: boolean nullable: true dashboard_id: default: null title: Dashboard Id type: integer nullable: true end_time: default: null description: When did the query execution task finish (whether successfully or not). title: End Time format: date-time type: string nullable: true error: default: false description: If the query failed, this will be set to true. More information can be found in the error_message field. title: Error type: boolean nullable: true error_message: default: null title: Error Message type: string nullable: true expiration_time: default: null title: Expiration Time format: date-time type: string nullable: true id: title: Id type: string insight_id: default: null title: Insight Id type: integer nullable: true labels: default: null title: Labels items: type: string type: array nullable: true pickup_time: default: null description: When was the query execution task picked up by a worker. title: Pickup Time format: date-time type: string nullable: true query_async: default: true description: ONLY async queries use QueryStatus. title: Query Async type: boolean enum: - true query_progress: default: null allOf: - $ref: '#/components/schemas/ClickhouseQueryProgress' nullable: true results: default: null title: Results nullable: true start_time: default: null description: When was query execution task enqueued. title: Start Time format: date-time type: string nullable: true task_id: default: null title: Task Id type: string nullable: true team_id: title: Team Id type: integer required: - id - team_id title: QueryStatus type: object ExperimentHoldoutType: additionalProperties: false properties: created_at: default: null title: Created At type: string nullable: true created_by: default: null allOf: - $ref: '#/components/schemas/UserBasicType' nullable: true description: default: null title: Description type: string nullable: true filters: items: $ref: '#/components/schemas/FeatureFlagGroupType' title: Filters type: array id: default: null title: Id type: number nullable: true name: title: Name type: string updated_at: default: null title: Updated At type: string nullable: true required: - filters - name title: ExperimentHoldoutType type: object DatabaseSchemaPostHogTable: additionalProperties: false properties: fields: additionalProperties: $ref: '#/components/schemas/DatabaseSchemaField' title: Fields type: object id: title: Id type: string name: title: Name type: string row_count: default: null title: Row Count type: number nullable: true type: default: posthog title: Type type: string enum: - posthog required: - fields - id - name title: DatabaseSchemaPostHogTable type: object FeaturePropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: feature description: Event property with "$feature/" prepended title: Type type: string enum: - feature value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: FeaturePropertyFilter type: object QueryResponseAlternative55: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative55 type: object MultipleBreakdownType: enum: - person - event - event_metadata - group - session - hogql - cohort - revenue_analytics - data_warehouse - data_warehouse_person_property title: MultipleBreakdownType type: string RevenueAnalyticsTopCustomersGroupBy: enum: - month - all title: RevenueAnalyticsTopCustomersGroupBy type: string Metric: enum: - bytes_read - cpu_seconds - requests - query_duration - error_rate title: Metric type: string UrlMatching: enum: - contains - exact - regex - null title: UrlMatching QueryResponseAlternative49: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - results - types title: QueryResponseAlternative49 type: object PersonPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: person description: Person properties title: Type type: string enum: - person value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: PersonPropertyFilter type: object EventsHeatMapDataResult: additionalProperties: false properties: column: title: Column type: integer row: title: Row type: integer value: title: Value type: integer required: - column - row - value title: EventsHeatMapDataResult type: object InsightActorsQueryOptionsResponse: additionalProperties: false properties: breakdown: default: null title: Breakdown items: $ref: '#/components/schemas/BreakdownItem' type: array nullable: true breakdowns: default: null title: Breakdowns items: $ref: '#/components/schemas/MultipleBreakdownOptions' type: array nullable: true compare: default: null title: Compare items: $ref: '#/components/schemas/CompareItem' type: array nullable: true day: default: null title: Day items: $ref: '#/components/schemas/DayItem' type: array nullable: true interval: default: null title: Interval items: $ref: '#/components/schemas/IntervalItem' type: array nullable: true series: default: null title: Series items: $ref: '#/components/schemas/Series' type: array nullable: true status: default: null title: Status items: $ref: '#/components/schemas/StatusItem' type: array nullable: true title: InsightActorsQueryOptionsResponse type: object QueryResponseAlternative91: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/PropertyValueItem' title: Results 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: - results title: QueryResponseAlternative91 type: object ErrorTrackingIssueFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: error_tracking_issue title: Type type: string enum: - error_tracking_issue value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: ErrorTrackingIssueFilter type: object SimpleIntervalType: enum: - day - month title: SimpleIntervalType type: string DistanceFunc: enum: - L1Distance - L2Distance - cosineDistance title: DistanceFunc type: string ExperimentActorsQuery: additionalProperties: false properties: exposureConfig: default: null description: Exposure configuration for filtering events. Defines when users were first exposed to the experiment. title: Exposureconfig anyOf: - $ref: '#/components/schemas/ExperimentEventExposureConfig' - $ref: '#/components/schemas/ActionsNode' nullable: true featureFlagKey: default: null description: Feature flag key for breakdown filtering. title: Featureflagkey type: string nullable: true funnelStep: default: null description: Index of the step for which we want to get actors for, per experiment variant. Positive for converted persons, negative for dropped off persons. title: Funnelstep type: integer nullable: true funnelStepBreakdown: default: null description: The variant key for filtering actors. For experiments, this filters by feature flag variant (e.g., 'control', 'test'). title: Funnelstepbreakdown anyOf: - type: integer - type: string - type: number - items: anyOf: - type: integer - type: string - type: number type: array nullable: true includeRecordings: default: null title: Includerecordings type: boolean nullable: true kind: default: ExperimentActorsQuery title: Kind type: string enum: - ExperimentActorsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true multipleVariantHandling: default: null description: How to handle users with multiple variant exposures. allOf: - $ref: '#/components/schemas/MultipleVariantHandling' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ActorsQueryResponse' nullable: true source: $ref: '#/components/schemas/ExperimentQuery' 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: - source title: ExperimentActorsQuery type: object RevenueExampleEventsQuery: additionalProperties: false properties: kind: default: RevenueExampleEventsQuery title: Kind type: string enum: - RevenueExampleEventsQuery 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 response: default: null allOf: - $ref: '#/components/schemas/RevenueExampleEventsQueryResponse' 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 title: RevenueExampleEventsQuery type: object QueryResponseAlternative81: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/EventTaxonomyItem' title: Results 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: - results title: QueryResponseAlternative81 type: object EmbeddedDocument: additionalProperties: false properties: document_id: title: Document Id type: string document_type: title: Document Type type: string product: title: Product type: string timestamp: format: date-time title: Timestamp type: string required: - document_id - document_type - product - timestamp title: EmbeddedDocument type: object ExperimentEventExposureConfig: additionalProperties: false properties: event: title: Event type: string kind: default: ExperimentEventExposureConfig title: Kind type: string enum: - ExperimentEventExposureConfig properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' title: Properties response: default: null title: Response additionalProperties: true type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - event - properties title: ExperimentEventExposureConfig type: object TextMatching: enum: - contains - exact - regex - null title: TextMatching Compare: enum: - current - previous title: Compare type: string HogQLQueryModifiers: additionalProperties: false properties: bounceRateDurationSeconds: default: null title: Bounceratedurationseconds type: number nullable: true bounceRatePageViewMode: default: null allOf: - $ref: '#/components/schemas/BounceRatePageViewMode' nullable: true convertToProjectTimezone: default: null title: Converttoprojecttimezone type: boolean nullable: true customChannelTypeRules: default: null title: Customchanneltyperules items: $ref: '#/components/schemas/CustomChannelRule' type: array nullable: true dataWarehouseEventsModifiers: default: null title: Datawarehouseeventsmodifiers items: $ref: '#/components/schemas/DataWarehouseEventsModifier' type: array nullable: true debug: default: null title: Debug type: boolean nullable: true forceClickhouseDataSkippingIndexes: default: null description: If these are provided, the query will fail if these skip indexes are not used title: Forceclickhousedataskippingindexes items: type: string type: array nullable: true formatCsvAllowDoubleQuotes: default: null title: Formatcsvallowdoublequotes type: boolean nullable: true inCohortVia: default: null allOf: - $ref: '#/components/schemas/InCohortVia' nullable: true inlineCohortCalculation: default: null allOf: - $ref: '#/components/schemas/InlineCohortCalculation' nullable: true materializationMode: default: null allOf: - $ref: '#/components/schemas/MaterializationMode' nullable: true materializedColumnsOptimizationMode: default: null allOf: - $ref: '#/components/schemas/MaterializedColumnsOptimizationMode' nullable: true optimizeJoinedFilters: default: null title: Optimizejoinedfilters type: boolean nullable: true optimizeProjections: default: null title: Optimizeprojections type: boolean nullable: true personsArgMaxVersion: default: null allOf: - $ref: '#/components/schemas/PersonsArgMaxVersion' nullable: true personsJoinMode: default: null allOf: - $ref: '#/components/schemas/PersonsJoinMode' nullable: true personsOnEventsMode: default: null allOf: - $ref: '#/components/schemas/PersonsOnEventsMode' nullable: true propertyGroupsMode: default: null allOf: - $ref: '#/components/schemas/PropertyGroupsMode' nullable: true s3TableUseInvalidColumns: default: null title: S3Tableuseinvalidcolumns type: boolean nullable: true sessionIdPushdown: default: null description: Push a `session_id_v7 IN (SELECT … FROM events WHERE …)` predicate into the raw_sessions subquery to limit aggregation to sessions that participate in the outer events filter. title: Sessionidpushdown type: boolean nullable: true sessionTableVersion: default: null allOf: - $ref: '#/components/schemas/SessionTableVersion' nullable: true sessionsV2JoinMode: default: null allOf: - $ref: '#/components/schemas/SessionsV2JoinMode' nullable: true timings: default: null title: Timings type: boolean nullable: true useMaterializedViews: default: null title: Usematerializedviews type: boolean nullable: true usePreaggregatedIntermediateResults: default: null title: Usepreaggregatedintermediateresults type: boolean nullable: true usePreaggregatedTableTransforms: default: null description: Try to automatically convert HogQL queries to use preaggregated tables at the AST level * title: Usepreaggregatedtabletransforms type: boolean nullable: true useWebAnalyticsPreAggregatedTables: default: null title: Usewebanalyticspreaggregatedtables type: boolean nullable: true title: HogQLQueryModifiers type: object PathsLink: additionalProperties: false properties: average_conversion_time: title: Average Conversion Time type: number source: title: Source type: string target: title: Target type: string value: title: Value type: number required: - average_conversion_time - source - target - value title: PathsLink type: object SessionRecordingType: additionalProperties: false properties: active_seconds: default: null title: Active Seconds type: number nullable: true activity_score: default: null description: calculated on the backend so that we can sort by it, definition may change over time title: Activity Score type: number nullable: true click_count: default: null title: Click Count type: number nullable: true console_error_count: default: null title: Console Error Count type: number nullable: true console_log_count: default: null title: Console Log Count type: number nullable: true console_warn_count: default: null title: Console Warn Count type: number nullable: true distinct_id: default: null title: Distinct Id type: string nullable: true email: default: null title: Email type: string nullable: true end_time: description: When the recording ends in ISO format. title: End Time type: string expiry_time: default: null description: When the recording expires, in ISO format. title: Expiry Time type: string nullable: true external_references: default: null description: External references to third party issues. title: External References items: $ref: '#/components/schemas/SessionRecordingExternalReference' type: array nullable: true has_summary: default: null title: Has Summary type: boolean nullable: true id: title: Id type: string inactive_seconds: default: null title: Inactive Seconds type: number nullable: true keypress_count: default: null title: Keypress Count type: number nullable: true matching_events: default: null description: List of matching events. * title: Matching Events items: $ref: '#/components/schemas/MatchedRecording' type: array nullable: true mouse_activity_count: default: null description: count of all mouse activity in the recording, not just clicks title: Mouse Activity Count type: number nullable: true ongoing: default: null description: 'whether we have received data for this recording in the last 5 minutes (assumes the recording was loaded from ClickHouse) *' title: Ongoing type: boolean nullable: true person: default: null allOf: - $ref: '#/components/schemas/PersonType' nullable: true recording_duration: description: Length of recording in seconds. title: Recording Duration type: number recording_ttl: default: null description: Number of whole days left until the recording expires. title: Recording Ttl type: number nullable: true retention_period_days: default: null description: retention period for this recording title: Retention Period Days type: number nullable: true snapshot_library: default: null title: Snapshot Library type: string nullable: true snapshot_source: $ref: '#/components/schemas/SnapshotSource' start_time: description: When the recording starts in ISO format. title: Start Time type: string start_url: default: null title: Start Url type: string nullable: true summary: default: null title: Summary type: string nullable: true summary_outcome: default: null allOf: - $ref: '#/components/schemas/SummaryOutcome' nullable: true viewed: description: Whether this recording has been viewed by you already. title: Viewed type: boolean viewers: description: user ids of other users who have viewed this recording items: type: string title: Viewers type: array required: - end_time - id - recording_duration - snapshot_source - start_time - viewed - viewers title: SessionRecordingType type: object WebOverviewItem: additionalProperties: false properties: changeFromPreviousPct: default: null title: Changefrompreviouspct type: number nullable: true isIncreaseBad: default: null title: Isincreasebad type: boolean nullable: true key: title: Key type: string kind: $ref: '#/components/schemas/WebAnalyticsItemKind' previous: default: null title: Previous type: number nullable: true usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true value: default: null title: Value type: number nullable: true required: - key - kind title: WebOverviewItem type: object TimeWindowMode: enum: - strict_calendar_dates - 24_hour_windows title: TimeWindowMode type: string Response18: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: $ref: '#/components/schemas/MarketingAnalyticsItem' type: array title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: Response18 type: object QueryLogTags: additionalProperties: false properties: name: default: null description: Name of the query, preferably unique. For example web_analytics_vitals title: Name type: string nullable: true productKey: default: null description: Product responsible for this query. Use string, there's no need to churn the Schema when we add a new product * title: Productkey type: string nullable: true scene: default: null description: Scene where this query is shown in the UI. Use string, there's no need to churn the Schema when we add a new Scene * title: Scene type: string nullable: true title: QueryLogTags type: object MarketingAnalyticsDrillDownLevel: enum: - channel - source - campaign - medium - content - term title: MarketingAnalyticsDrillDownLevel type: string PersonsJoinMode: enum: - inner - left title: PersonsJoinMode type: string StickinessFilter: additionalProperties: false properties: computedAs: default: null allOf: - $ref: '#/components/schemas/StickinessComputationMode' nullable: true display: default: null allOf: - $ref: '#/components/schemas/ChartDisplayType' nullable: true hiddenLegendIndexes: default: null title: Hiddenlegendindexes items: type: integer type: array nullable: true resultCustomizationBy: default: value description: Whether result datasets are associated by their values or by their order. allOf: - $ref: '#/components/schemas/ResultCustomizationBy' nullable: true resultCustomizations: default: null description: Customizations for the appearance of result datasets. title: Resultcustomizations anyOf: - additionalProperties: $ref: '#/components/schemas/ResultCustomizationByValue' type: object - additionalProperties: $ref: '#/components/schemas/ResultCustomizationByPosition' type: object nullable: true showLegend: default: null title: Showlegend type: boolean nullable: true showMultipleYAxes: default: null title: Showmultipleyaxes type: boolean nullable: true showValuesOnSeries: default: null title: Showvaluesonseries type: boolean nullable: true stickinessCriteria: default: null allOf: - $ref: '#/components/schemas/StickinessCriteria' nullable: true title: StickinessFilter type: object LogsQuery: additionalProperties: false properties: after: default: null description: Cursor for fetching the next page of results title: After type: string nullable: true dateRange: $ref: '#/components/schemas/DateRange' filterGroup: $ref: '#/components/schemas/PropertyGroupFilter' kind: default: LogsQuery title: Kind type: string enum: - LogsQuery limit: default: null title: Limit type: integer nullable: true liveLogsCheckpoint: default: null title: Livelogscheckpoint type: string 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 allOf: - $ref: '#/components/schemas/LogsOrderBy' nullable: true resourceFingerprint: default: null title: Resourcefingerprint type: string nullable: true response: default: null allOf: - $ref: '#/components/schemas/LogsQueryResponse' nullable: true searchTerm: default: null title: Searchterm type: string nullable: true serviceNames: items: type: string title: Servicenames type: array severityLevels: items: $ref: '#/components/schemas/LogSeverityLevel' title: Severitylevels type: array sparklineBreakdownBy: default: null description: Field to break down sparkline data by (used only by sparkline endpoint) allOf: - $ref: '#/components/schemas/LogsSparklineBreakdownBy' 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: - dateRange - filterGroup - serviceNames - severityLevels title: LogsQuery type: object HogQLPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true type: default: hogql title: Type type: string enum: - hogql value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key title: HogQLPropertyFilter type: object ActorsPropertyTaxonomyQuery: additionalProperties: false properties: groupTypeIndex: default: null title: Grouptypeindex type: integer nullable: true kind: default: ActorsPropertyTaxonomyQuery title: Kind type: string enum: - ActorsPropertyTaxonomyQuery maxPropertyValues: default: null title: Maxpropertyvalues type: integer nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: type: array items: type: string title: Properties response: default: null allOf: - $ref: '#/components/schemas/ActorsPropertyTaxonomyQueryResponse' 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: - properties title: ActorsPropertyTaxonomyQuery type: object SavedInsightNode: additionalProperties: false properties: allowSorting: default: null description: 'Can the user click on column headers to sort the table? (default: true)' title: Allowsorting type: boolean nullable: true context: default: null description: Context for the table, used by components like ColumnConfigurator allOf: - $ref: '#/components/schemas/DataTableNodeViewPropsContext' nullable: true contextKey: default: null description: Context key for universal column configuration (e.g., "survey:123") title: Contextkey type: string nullable: true defaultColumns: default: null description: Default columns to use when resetting column configuration title: Defaultcolumns items: type: string type: array nullable: true embedded: default: null description: Query is embedded inside another bordered component title: Embedded type: boolean nullable: true expandable: default: null description: 'Can expand row to show raw event data (default: true)' title: Expandable type: boolean nullable: true full: default: null description: Show with most visual options enabled. Used in insight scene. title: Full type: boolean nullable: true hidePersonsModal: default: null title: Hidepersonsmodal type: boolean nullable: true hideTooltipOnScroll: default: null title: Hidetooltiponscroll type: boolean nullable: true kind: default: SavedInsightNode title: Kind type: string enum: - SavedInsightNode propertiesViaUrl: default: null description: 'Link properties via the URL (default: false)' title: Propertiesviaurl type: boolean nullable: true shortId: title: Shortid type: string showActions: default: null description: Show the kebab menu at the end of the row title: Showactions type: boolean nullable: true showColumnConfigurator: default: null description: Show a button to configure the table's columns if possible title: Showcolumnconfigurator type: boolean nullable: true showCorrelationTable: default: null title: Showcorrelationtable type: boolean nullable: true showCount: default: null description: Show count of total and filtered results title: Showcount type: boolean nullable: true showDateRange: default: null description: Show date range selector title: Showdaterange type: boolean nullable: true showElapsedTime: default: null description: Show the time it takes to run a query title: Showelapsedtime type: boolean nullable: true showEventFilter: default: null description: Include an event filter above the table (EventsNode only) title: Showeventfilter type: boolean nullable: true showEventsFilter: default: null description: Include an events filter above the table to filter by multiple events (EventsQuery only) title: Showeventsfilter type: boolean nullable: true showExport: default: null description: Show the export button title: Showexport type: boolean nullable: true showFilters: default: null title: Showfilters type: boolean nullable: true showHeader: default: null title: Showheader type: boolean nullable: true showHogQLEditor: default: null description: Include a HogQL query editor above HogQL tables title: Showhogqleditor type: boolean nullable: true showLastComputation: default: null title: Showlastcomputation type: boolean nullable: true showLastComputationRefresh: default: null title: Showlastcomputationrefresh type: boolean nullable: true showOpenEditorButton: default: null description: 'Show a button to open the current query as a new insight. (default: true)' title: Showopeneditorbutton type: boolean nullable: true showPersistentColumnConfigurator: default: null description: Show a button to configure and persist the table's default columns if possible title: Showpersistentcolumnconfigurator type: boolean nullable: true showPropertyFilter: default: null description: Include a property filter above the table title: Showpropertyfilter anyOf: - type: boolean - items: $ref: '#/components/schemas/TaxonomicFilterGroupType' type: array nullable: true showRecordingColumn: default: null description: Show a recording column for events with session recordings title: Showrecordingcolumn type: boolean nullable: true showReload: default: null description: Show a reload button title: Showreload type: boolean nullable: true showResults: default: null title: Showresults type: boolean nullable: true showResultsTable: default: null description: Show a results table title: Showresultstable type: boolean nullable: true showSavedFilters: default: null description: Show saved filters feature for this table (requires uniqueKey) title: Showsavedfilters type: boolean nullable: true showSavedQueries: default: null description: Shows a list of saved queries title: Showsavedqueries type: boolean nullable: true showSearch: default: null description: Include a free text search field (PersonsNode only) title: Showsearch type: boolean nullable: true showSourceQueryOptions: default: null description: Show actors query options and back to source title: Showsourcequeryoptions type: boolean nullable: true showTable: default: null title: Showtable type: boolean nullable: true showTableViews: default: null description: Show table views feature for this table (requires uniqueKey) title: Showtableviews type: boolean nullable: true showTestAccountFilters: default: null description: Show filter to exclude test accounts title: Showtestaccountfilters type: boolean nullable: true showTimings: default: null description: Show a detailed query timing breakdown title: Showtimings type: boolean nullable: true suppressSessionAnalysisWarning: default: null title: Suppresssessionanalysiswarning type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true vizSpecificOptions: default: null allOf: - $ref: '#/components/schemas/VizSpecificOptions' nullable: true required: - shortId title: SavedInsightNode type: object SessionsQueryResponse: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - results - types title: SessionsQueryResponse type: object RevenueAnalyticsGrossRevenueQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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: - results title: RevenueAnalyticsGrossRevenueQueryResponse type: object ExperimentMetricGoal: enum: - increase - decrease title: ExperimentMetricGoal type: string WebOverviewQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: WebOverviewQuery title: Kind type: string enum: - WebOverviewQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true orderBy: default: null title: Orderby items: anyOf: - $ref: '#/components/schemas/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebOverviewQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties title: WebOverviewQuery type: object MultipleBreakdownOptions: additionalProperties: false properties: values: items: $ref: '#/components/schemas/BreakdownItem' title: Values type: array required: - values title: MultipleBreakdownOptions type: object InCohortVia: enum: - auto - leftjoin - subquery - leftjoin_conjoined title: InCohortVia type: string QueryResponseAlternative63: additionalProperties: false properties: count_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true credible_intervals: additionalProperties: items: type: number type: array title: Credible Intervals type: object exposure_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true insight: items: additionalProperties: true type: object title: Insight type: array kind: default: ExperimentTrendsQuery title: Kind type: string enum: - ExperimentTrendsQuery p_value: title: P Value type: number probability: additionalProperties: type: number title: Probability type: object significance_code: $ref: '#/components/schemas/ExperimentSignificanceCode' significant: title: Significant type: boolean stats_version: default: null title: Stats Version type: integer nullable: true variants: items: $ref: '#/components/schemas/ExperimentVariantTrendsBaseStats' title: Variants type: array required: - credible_intervals - insight - p_value - probability - significance_code - significant - variants title: QueryResponseAlternative63 type: object Response26: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: Response26 type: object EventTaxonomyItem: additionalProperties: false properties: property: title: Property type: string sample_count: title: Sample Count type: integer sample_values: items: type: string title: Sample Values type: array required: - property - sample_count - sample_values title: EventTaxonomyItem type: object BounceRatePageViewMode: enum: - count_pageviews - uniq_urls - uniq_page_screen_autocaptures title: BounceRatePageViewMode type: string SessionsTimelineQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/TimelineEntry' title: Results 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: - results title: SessionsTimelineQueryResponse type: object PathsQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/PathsLink' title: Results 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: - results title: PathsQueryResponse type: object WebVitalsPercentile: enum: - p75 - p90 - p99 title: WebVitalsPercentile type: string RevenueExampleDataWarehouseTablesQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: RevenueExampleDataWarehouseTablesQueryResponse type: object RevenueAnalyticsPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: revenue_analytics title: Type type: string enum: - revenue_analytics value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: RevenueAnalyticsPropertyFilter type: object ExternalQueryStatus: enum: - success - error title: ExternalQueryStatus type: string InsightActorsQueryOptions: additionalProperties: false properties: kind: default: InsightActorsQueryOptions title: Kind type: string enum: - InsightActorsQueryOptions response: default: null allOf: - $ref: '#/components/schemas/InsightActorsQueryOptionsResponse' nullable: true source: anyOf: - $ref: '#/components/schemas/InsightActorsQuery' - $ref: '#/components/schemas/FunnelsActorsQuery' - $ref: '#/components/schemas/FunnelCorrelationActorsQuery' - $ref: '#/components/schemas/StickinessActorsQuery' - $ref: '#/components/schemas/ExperimentActorsQuery' title: Source version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - source title: InsightActorsQueryOptions type: object FirstEvent: additionalProperties: false properties: distinct_id: title: Distinct Id type: string properties: type: string title: Properties timestamp: title: Timestamp type: string uuid: title: Uuid type: string required: - distinct_id - properties - timestamp - uuid title: FirstEvent type: object WebExternalClicksTableQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: WebExternalClicksTableQueryResponse type: object Key10: enum: - tag_name - text - href - selector title: Key10 type: string RevenueAnalyticsTopCustomersQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: RevenueAnalyticsTopCustomersQueryResponse type: object DurationType: enum: - duration - active_seconds - inactive_seconds title: DurationType type: string Response3: additionalProperties: false properties: clickhouse: default: null description: Executed ClickHouse query title: Clickhouse type: string nullable: true columns: default: null description: Returned columns title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true explain: default: null description: Query explanation output title: Explain items: type: string type: array nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true limit: default: null title: Limit type: integer nullable: true metadata: default: null description: Query metadata output allOf: - $ref: '#/components/schemas/HogQLMetadataResponse' 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 query: default: null description: Input query string title: Query type: string nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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 types: default: null description: Types of returned columns title: Types items: {} type: array nullable: true required: - results title: Response3 type: object QueryResponseAlternative62: additionalProperties: false properties: credible_intervals: additionalProperties: items: type: number type: array title: Credible Intervals type: object expected_loss: title: Expected Loss type: number funnels_query: default: null allOf: - $ref: '#/components/schemas/FunnelsQuery' nullable: true insight: items: items: additionalProperties: true type: object type: array title: Insight type: array kind: default: ExperimentFunnelsQuery title: Kind type: string enum: - ExperimentFunnelsQuery probability: additionalProperties: type: number title: Probability type: object significance_code: $ref: '#/components/schemas/ExperimentSignificanceCode' significant: title: Significant type: boolean stats_version: default: null title: Stats Version type: integer nullable: true variants: items: $ref: '#/components/schemas/ExperimentVariantFunnelsBaseStats' title: Variants type: array required: - credible_intervals - expected_loss - insight - probability - significance_code - significant - variants title: QueryResponseAlternative62 type: object PathsQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation title: Aggregation Group Type Index type: integer nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization title: Datacolortheme type: number nullable: true dateRange: default: null description: Date range for the query allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: false description: Exclude internal and test users by applying the respective filters title: Filtertestaccounts type: boolean nullable: true funnelPathsFilter: default: null description: Used for displaying paths in relation to funnel steps. allOf: - $ref: '#/components/schemas/FunnelPathsFilter' nullable: true kind: default: PathsQuery title: Kind type: string enum: - PathsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true pathsFilter: description: Properties specific to the paths insight allOf: - $ref: '#/components/schemas/PathsFilter' properties: default: [] description: Property filters for all series title: Properties anyOf: - items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true response: default: null allOf: - $ref: '#/components/schemas/PathsQueryResponse' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true tags: default: null description: Tags that will be added to the Query log comment 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: - pathsFilter title: PathsQuery type: object RetentionPeriod: enum: - Hour - Day - Week - Month title: RetentionPeriod type: string QueryResponseAlternative72: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: $ref: '#/components/schemas/FunnelCorrelationResult' 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative72 type: object DatabaseSchemaSystemTable: additionalProperties: false properties: fields: additionalProperties: $ref: '#/components/schemas/DatabaseSchemaField' title: Fields type: object id: title: Id type: string name: title: Name type: string row_count: default: null title: Row Count type: number nullable: true type: default: system title: Type type: string enum: - system required: - fields - id - name title: DatabaseSchemaSystemTable type: object GoalLine: additionalProperties: false properties: borderColor: default: null title: Bordercolor type: string nullable: true displayIfCrossed: default: null title: Displayifcrossed type: boolean nullable: true displayLabel: default: null title: Displaylabel type: boolean nullable: true label: title: Label type: string position: default: null allOf: - $ref: '#/components/schemas/Position' nullable: true value: title: Value type: number required: - label - value title: GoalLine type: object CompareItem: additionalProperties: false properties: label: title: Label type: string value: title: Value type: string required: - label - value title: CompareItem type: object TimelineEntry: additionalProperties: false properties: events: items: $ref: '#/components/schemas/EventType' title: Events type: array recording_duration_s: default: null description: Duration of the recording in seconds. title: Recording Duration S type: number nullable: true sessionId: default: null description: Session ID. None means out-of-session events title: Sessionid type: string nullable: true required: - events title: TimelineEntry type: object QueryResponseAlternative88: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/EndpointsUsageOverviewItem' title: Results 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: - results title: QueryResponseAlternative88 type: object QueryResponseAlternative30: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebNotableChangeItem' title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: QueryResponseAlternative30 type: object EntityType: enum: - actions - events - data_warehouse - new_entity - groups title: EntityType type: string MaterializedColumnsOptimizationMode: enum: - disabled - optimized title: MaterializedColumnsOptimizationMode type: string QueryTiming: additionalProperties: false properties: k: description: Key. Shortened to 'k' to save on data. title: K type: string t: description: Time in seconds. Shortened to 't' to save on data. title: T type: number required: - k - t title: QueryTiming type: object EndpointsUsageTrendsQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: additionalProperties: true type: object title: Results 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: - results title: EndpointsUsageTrendsQueryResponse type: object ResultCustomizationByValue: additionalProperties: false properties: assignmentBy: default: value title: Assignmentby type: string enum: - value color: default: null allOf: - $ref: '#/components/schemas/DataColorToken' nullable: true hidden: default: null title: Hidden type: boolean nullable: true title: ResultCustomizationByValue type: object ExperimentSignificanceCode: enum: - significant - not_enough_exposure - low_win_probability - high_loss - high_p_value title: ExperimentSignificanceCode type: string ErrorTrackingQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/ErrorTrackingIssue' title: Results 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: - results title: ErrorTrackingQueryResponse type: object DataColorToken: enum: - preset-1 - preset-2 - preset-3 - preset-4 - preset-5 - preset-6 - preset-7 - preset-8 - preset-9 - preset-10 - preset-11 - preset-12 - preset-13 - preset-14 - preset-15 title: DataColorToken type: string GradientScaleMode: enum: - absolute - relative title: GradientScaleMode type: string QueryResponseAlternative57: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: $ref: '#/components/schemas/MarketingAnalyticsItem' type: array title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative57 type: object Position: enum: - start - end title: Position type: string Response2: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string kind: default: GroupsQuery title: Kind type: string enum: - GroupsQuery limit: title: Limit type: integer modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: title: Offset type: integer query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - limit - offset - results - types title: Response2 type: object WebPageURLSearchQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: WebPageURLSearchQuery title: Kind type: string enum: - WebPageURLSearchQuery 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 orderBy: default: null title: Orderby items: anyOf: - $ref: '#/components/schemas/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebPageURLSearchQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true searchTerm: default: null title: Searchterm type: string nullable: true stripQueryParams: default: null title: Stripqueryparams type: boolean nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties title: WebPageURLSearchQuery type: object TraceNeighborsQueryResponse: additionalProperties: false properties: newerTimestamp: default: null description: Timestamp of the newer trace title: Newertimestamp type: string nullable: true newerTraceId: default: null description: ID of the newer trace (chronologically after current) title: Newertraceid type: string nullable: true olderTimestamp: default: null description: Timestamp of the older trace title: Oldertimestamp type: string nullable: true olderTraceId: default: null description: ID of the older trace (chronologically before current) title: Oldertraceid type: string nullable: true 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 title: TraceNeighborsQueryResponse type: object CalendarHeatmapMathType: enum: - total - dau title: CalendarHeatmapMathType type: string DocumentSimilarityQuery: additionalProperties: false properties: dateRange: $ref: '#/components/schemas/DateRange' distance_func: $ref: '#/components/schemas/DistanceFunc' document_types: items: type: string title: Document Types type: array kind: default: DocumentSimilarityQuery title: Kind type: string enum: - DocumentSimilarityQuery limit: default: null title: Limit type: integer nullable: true model: title: Model type: string 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 order_by: $ref: '#/components/schemas/OrderBy' order_direction: $ref: '#/components/schemas/OrderDirection1' origin: $ref: '#/components/schemas/EmbeddedDocument' products: items: type: string title: Products type: array renderings: items: type: string title: Renderings type: array response: default: null allOf: - $ref: '#/components/schemas/DocumentSimilarityQueryResponse' nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true threshold: default: null title: Threshold type: number nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - dateRange - distance_func - document_types - model - order_by - order_direction - origin - products - renderings title: DocumentSimilarityQuery type: object RevenueCurrencyPropertyConfig: additionalProperties: false properties: property: default: null title: Property type: string nullable: true static: default: null allOf: - $ref: '#/components/schemas/CurrencyCode' nullable: true title: RevenueCurrencyPropertyConfig type: object ResultCustomizationBy: enum: - value - position title: ResultCustomizationBy type: string LifecycleQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation title: Aggregation Group Type Index type: integer nullable: true customAggregationTarget: default: null description: For data warehouse based lifecycle insights when the aggregation target can't be mapped to persons or groups. title: Customaggregationtarget type: boolean nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization title: Datacolortheme type: number nullable: true dateRange: default: null description: Date range for the query allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: false description: Exclude internal and test users by applying the respective filters title: Filtertestaccounts type: boolean nullable: true interval: default: day description: Granularity of the response. Can be one of `hour`, `day`, `week` or `month` allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: LifecycleQuery title: Kind type: string enum: - LifecycleQuery lifecycleFilter: default: null description: Properties specific to the lifecycle insight allOf: - $ref: '#/components/schemas/LifecycleFilter' nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: default: [] description: Property filters for all series title: Properties anyOf: - items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true response: default: null allOf: - $ref: '#/components/schemas/LifecycleQueryResponse' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true series: description: Events and actions to include items: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/LifecycleDataWarehouseNode' title: Series type: array tags: default: null description: Tags that will be added to the Query log comment 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: - series title: LifecycleQuery type: object Scale: enum: - linear - logarithmic title: Scale type: string RetentionResult: additionalProperties: false properties: breakdown_value: default: null description: Optional breakdown value for retention cohorts title: Breakdown Value anyOf: - type: string - type: number nullable: true date: format: date-time title: Date type: string label: title: Label type: string values: items: $ref: '#/components/schemas/RetentionValue' title: Values type: array required: - date - label - values title: RetentionResult type: object RevenueExampleEventsQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: RevenueExampleEventsQueryResponse type: object ExperimentExposureQueryResponse: additionalProperties: false properties: bias_risk: default: null allOf: - $ref: '#/components/schemas/BiasRisk' nullable: true date_range: $ref: '#/components/schemas/DateRange' kind: default: ExperimentExposureQuery title: Kind type: string enum: - ExperimentExposureQuery sample_ratio_mismatch: default: null allOf: - $ref: '#/components/schemas/SampleRatioMismatch' nullable: true timeseries: items: $ref: '#/components/schemas/ExperimentExposureTimeSeries' title: Timeseries type: array total_exposures: additionalProperties: type: number title: Total Exposures type: object required: - date_range - timeseries - total_exposures title: ExperimentExposureQueryResponse type: object QueryResponseAlternative3: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string limit: title: Limit type: integer missing_actors_count: default: null title: Missing Actors Count type: integer nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: title: Offset type: integer query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: default: null title: Types items: type: string type: array nullable: true required: - columns - hogql - limit - offset - results title: QueryResponseAlternative3 type: object Response13: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RevenueAnalyticsMRRQueryResultItem' title: Results 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: - results title: Response13 type: object StickinessCriteria: additionalProperties: false properties: operator: $ref: '#/components/schemas/StickinessOperator' value: minimum: 1 title: Value type: integer required: - operator - value title: StickinessCriteria type: object QueryResponseAlternative36: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: $ref: '#/components/schemas/MarketingAnalyticsItem' type: array title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative36 type: object QueryResponseAlternative37: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: additionalProperties: $ref: '#/components/schemas/MarketingAnalyticsItem' title: Results type: object samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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: - results title: QueryResponseAlternative37 type: object LogPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: $ref: '#/components/schemas/LogPropertyFilterType' value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator - type title: LogPropertyFilter type: object EventsQueryActionStep: additionalProperties: false properties: event: default: null title: Event type: string nullable: true href: default: null title: Href type: string nullable: true href_matching: default: null allOf: - $ref: '#/components/schemas/HrefMatching' nullable: true properties: default: null title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true selector: default: null title: Selector type: string nullable: true tag_name: default: null title: Tag Name type: string nullable: true text: default: null title: Text type: string nullable: true text_matching: default: null allOf: - $ref: '#/components/schemas/TextMatching' nullable: true url: default: null title: Url type: string nullable: true url_matching: default: null allOf: - $ref: '#/components/schemas/UrlMatching' nullable: true title: EventsQueryActionStep type: object ErrorTrackingIssue: additionalProperties: false properties: aggregations: default: null allOf: - $ref: '#/components/schemas/ErrorTrackingIssueAggregations' nullable: true assignee: default: null allOf: - $ref: '#/components/schemas/ErrorTrackingIssueAssignee' nullable: true cohort: default: null allOf: - $ref: '#/components/schemas/ErrorTrackingIssueCohort' nullable: true description: default: null title: Description type: string nullable: true external_issues: default: null title: External Issues items: $ref: '#/components/schemas/ErrorTrackingExternalReference' type: array nullable: true first_event: default: null allOf: - $ref: '#/components/schemas/FirstEvent' nullable: true first_seen: format: date-time title: First Seen type: string function: default: null title: Function type: string nullable: true id: title: Id type: string last_event: default: null allOf: - $ref: '#/components/schemas/LastEvent' nullable: true last_seen: format: date-time title: Last Seen type: string library: default: null title: Library type: string nullable: true name: default: null title: Name type: string nullable: true source: default: null title: Source type: string nullable: true status: $ref: '#/components/schemas/ErrorTrackingIssueStatus' required: - first_seen - id - last_seen - status title: ErrorTrackingIssue type: object QueryResponseAlternative74: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true has_next: title: Has Next type: boolean hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true next_cursor: default: null description: Cursor for the next page. Contains the ordering value and session_id from the last record. title: Next Cursor type: string nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/SessionRecordingType' title: Results 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: - has_next - results title: QueryResponseAlternative74 type: object EndpointsUsageOverviewQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/EndpointsUsageOverviewItem' title: Results 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: - results title: EndpointsUsageOverviewQueryResponse type: object ConversionGoalFilter1: additionalProperties: false properties: conversion_goal_id: title: Conversion Goal Id type: string conversion_goal_name: title: Conversion Goal Name type: string custom_name: default: null title: Custom Name type: string nullable: true event: default: null description: The event or `null` for all events. title: Event type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true kind: default: EventsNode title: Kind type: string enum: - EventsNode limit: default: null title: Limit type: integer nullable: true math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true orderBy: default: null description: Columns to order by title: Orderby items: type: string type: array nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true schema_map: additionalProperties: anyOf: - type: string - {} title: Schema Map type: object version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - conversion_goal_id - conversion_goal_name - schema_map title: ConversionGoalFilter1 type: object CustomChannelOperator: enum: - exact - is_not - is_set - is_not_set - icontains - not_icontains - regex - not_regex title: CustomChannelOperator type: string StickinessActorsQuery: additionalProperties: false properties: compare: default: null allOf: - $ref: '#/components/schemas/Compare' nullable: true day: default: null title: Day anyOf: - type: string - type: integer nullable: true includeRecordings: default: null title: Includerecordings type: boolean nullable: true kind: default: StickinessActorsQuery title: Kind type: string enum: - StickinessActorsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true operator: default: null allOf: - $ref: '#/components/schemas/StickinessOperator' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ActorsQueryResponse' nullable: true series: default: null title: Series type: integer nullable: true source: $ref: '#/components/schemas/StickinessQuery' 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: - source title: StickinessActorsQuery type: object MatchedRecordingEvent: additionalProperties: false properties: timestamp: title: Timestamp type: string uuid: title: Uuid type: string required: - timestamp - uuid title: MatchedRecordingEvent type: object WebNotableChangesQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: WebNotableChangesQuery title: Kind type: string enum: - WebNotableChangesQuery 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 orderBy: default: null title: Orderby items: anyOf: - $ref: '#/components/schemas/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebNotableChangesQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties title: WebNotableChangesQuery type: object GroupNode: additionalProperties: false properties: custom_name: default: null title: Custom Name type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true kind: default: GroupNode title: Kind type: string enum: - GroupNode limit: default: null title: Limit type: integer nullable: true math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true nodes: description: Entities to combine in this group items: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/DataWarehouseNode' title: Nodes type: array operator: description: Group of entities combined with AND/OR operator allOf: - $ref: '#/components/schemas/FilterLogicalOperator' optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true orderBy: default: null description: Columns to order by title: Orderby items: type: string type: array nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - nodes - operator title: GroupNode type: object Response12: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: Response12 type: object EndpointsUsageTrendsQuery: additionalProperties: false properties: breakdownBy: default: null description: Optional breakdown for stacked charts allOf: - $ref: '#/components/schemas/EndpointsUsageBreakdown' nullable: true compareFilter: default: null description: Compare to previous period allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true 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 interval: default: null description: Time interval allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: EndpointsUsageTrendsQuery title: Kind type: string enum: - EndpointsUsageTrendsQuery materializationType: default: null description: Filter by materialization type allOf: - $ref: '#/components/schemas/MaterializationType' nullable: true metric: description: Metric to trend allOf: - $ref: '#/components/schemas/Metric' modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/EndpointsUsageTrendsQueryResponse' 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: - metric title: EndpointsUsageTrendsQuery type: object ConditionalFormattingRule: additionalProperties: false properties: bytecode: items: {} title: Bytecode type: array color: title: Color type: string colorMode: default: null allOf: - $ref: '#/components/schemas/ColorMode' nullable: true columnName: title: Columnname type: string id: title: Id type: string input: title: Input type: string templateId: title: Templateid type: string required: - bytecode - color - columnName - id - input - templateId title: ConditionalFormattingRule type: object HogQLAutocomplete: additionalProperties: false properties: connectionId: default: null description: Optional direct external data source id for running against a specific source title: Connectionid type: string nullable: true endPosition: description: End position of the editor word title: Endposition type: integer filters: default: null description: Table to validate the expression against allOf: - $ref: '#/components/schemas/HogQLFilters' nullable: true globals: default: null description: Global values in scope title: Globals additionalProperties: true type: object nullable: true kind: default: HogQLAutocomplete title: Kind type: string enum: - HogQLAutocomplete language: description: Language to validate allOf: - $ref: '#/components/schemas/HogLanguage' modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query: description: Query to validate title: Query type: string response: default: null allOf: - $ref: '#/components/schemas/HogQLAutocompleteResponse' nullable: true sourceQuery: default: null description: Query in whose context to validate. title: Sourcequery anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/PersonsNode' - $ref: '#/components/schemas/EventsQuery' - $ref: '#/components/schemas/SessionsQuery' - $ref: '#/components/schemas/ActorsQuery' - $ref: '#/components/schemas/GroupsQuery' - $ref: '#/components/schemas/InsightActorsQuery' - $ref: '#/components/schemas/InsightActorsQueryOptions' - $ref: '#/components/schemas/SessionsTimelineQuery' - $ref: '#/components/schemas/HogQuery' - $ref: '#/components/schemas/HogQLQuery' - $ref: '#/components/schemas/HogQLMetadata' - $ref: '#/components/schemas/HogQLAutocomplete' - $ref: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' - $ref: '#/components/schemas/RevenueAnalyticsMetricsQuery' - $ref: '#/components/schemas/RevenueAnalyticsMRRQuery' - $ref: '#/components/schemas/RevenueAnalyticsOverviewQuery' - $ref: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' - $ref: '#/components/schemas/MarketingAnalyticsTableQuery' - $ref: '#/components/schemas/MarketingAnalyticsAggregatedQuery' - $ref: '#/components/schemas/NonIntegratedConversionsTableQuery' - $ref: '#/components/schemas/WebOverviewQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebExternalClicksTableQuery' - $ref: '#/components/schemas/WebGoalsQuery' - $ref: '#/components/schemas/WebVitalsQuery' - $ref: '#/components/schemas/WebVitalsPathBreakdownQuery' - $ref: '#/components/schemas/WebPageURLSearchQuery' - $ref: '#/components/schemas/WebTrendsQuery' - $ref: '#/components/schemas/WebAnalyticsExternalSummaryQuery' - $ref: '#/components/schemas/WebNotableChangesQuery' - $ref: '#/components/schemas/SessionAttributionExplorerQuery' - $ref: '#/components/schemas/RevenueExampleEventsQuery' - $ref: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' - $ref: '#/components/schemas/ErrorTrackingQuery' - $ref: '#/components/schemas/ErrorTrackingSimilarIssuesQuery' - $ref: '#/components/schemas/ErrorTrackingBreakdownsQuery' - $ref: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' - $ref: '#/components/schemas/LogsQuery' - $ref: '#/components/schemas/LogAttributesQuery' - $ref: '#/components/schemas/LogValuesQuery' - $ref: '#/components/schemas/TraceSpansQuery' - $ref: '#/components/schemas/ExperimentFunnelsQuery' - $ref: '#/components/schemas/ExperimentTrendsQuery' - $ref: '#/components/schemas/CalendarHeatmapQuery' - $ref: '#/components/schemas/RecordingsQuery' - $ref: '#/components/schemas/TracesQuery' - $ref: '#/components/schemas/TraceQuery' - $ref: '#/components/schemas/TraceNeighborsQuery' - $ref: '#/components/schemas/VectorSearchQuery' - $ref: '#/components/schemas/UsageMetricsQuery' - $ref: '#/components/schemas/EndpointsUsageOverviewQuery' - $ref: '#/components/schemas/EndpointsUsageTableQuery' - $ref: '#/components/schemas/EndpointsUsageTrendsQuery' nullable: true startPosition: description: Start position of the editor word title: Startposition type: integer 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: - endPosition - language - query - startPosition title: HogQLAutocomplete type: object SessionsV2JoinMode: enum: - string - uuid title: SessionsV2JoinMode type: string InsightVizNode: additionalProperties: false properties: embedded: default: null description: Query is embedded inside another bordered component title: Embedded type: boolean nullable: true full: default: null description: Show with most visual options enabled. Used in insight scene. title: Full type: boolean nullable: true hidePersonsModal: default: null title: Hidepersonsmodal type: boolean nullable: true hideTooltipOnScroll: default: null title: Hidetooltiponscroll type: boolean nullable: true kind: default: InsightVizNode title: Kind type: string enum: - InsightVizNode showCorrelationTable: default: null title: Showcorrelationtable type: boolean nullable: true showFilters: default: null title: Showfilters type: boolean nullable: true showHeader: default: null title: Showheader type: boolean nullable: true showLastComputation: default: null title: Showlastcomputation type: boolean nullable: true showLastComputationRefresh: default: null title: Showlastcomputationrefresh type: boolean nullable: true showResults: default: null title: Showresults type: boolean nullable: true showTable: default: null title: Showtable type: boolean nullable: true source: discriminator: mapping: FunnelsQuery: '#/components/schemas/FunnelsQuery' LifecycleQuery: '#/components/schemas/LifecycleQuery' PathsQuery: '#/components/schemas/PathsQuery' RetentionQuery: '#/components/schemas/RetentionQuery' StickinessQuery: '#/components/schemas/StickinessQuery' TrendsQuery: '#/components/schemas/TrendsQuery' WebOverviewQuery: '#/components/schemas/WebOverviewQuery' WebStatsTableQuery: '#/components/schemas/WebStatsTableQuery' propertyName: kind oneOf: - $ref: '#/components/schemas/TrendsQuery' - $ref: '#/components/schemas/FunnelsQuery' - $ref: '#/components/schemas/RetentionQuery' - $ref: '#/components/schemas/PathsQuery' - $ref: '#/components/schemas/StickinessQuery' - $ref: '#/components/schemas/LifecycleQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebOverviewQuery' title: Source suppressSessionAnalysisWarning: default: null title: Suppresssessionanalysiswarning type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true vizSpecificOptions: default: null allOf: - $ref: '#/components/schemas/VizSpecificOptions' nullable: true required: - source title: InsightVizNode type: object ChartDisplayType: enum: - Auto - ActionsLineGraph - ActionsBar - ActionsUnstackedBar - ActionsStackedBar - ActionsAreaGraph - ActionsLineGraphCumulative - BoldNumber - ActionsPie - ActionsBarValue - ActionsTable - WorldMap - CalendarHeatmap - TwoDimensionalHeatmap - BoxPlot title: ChartDisplayType type: string RevenueAnalyticsTopCustomersQuery: additionalProperties: false properties: dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true groupBy: $ref: '#/components/schemas/RevenueAnalyticsTopCustomersGroupBy' kind: default: RevenueAnalyticsTopCustomersQuery title: Kind type: string enum: - RevenueAnalyticsTopCustomersQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: type: array items: $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/RevenueAnalyticsTopCustomersQueryResponse' 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: - groupBy - properties title: RevenueAnalyticsTopCustomersQuery type: object EndpointsUsageOrderByDirection: enum: - ASC - DESC title: EndpointsUsageOrderByDirection type: string QueryResponseAlternative2: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - results - types title: QueryResponseAlternative2 type: object RetentionReference: enum: - total - previous title: RetentionReference type: string BaseMathType: enum: - total - dau - weekly_active - monthly_active - unique_session - first_time_for_user - first_matching_event_for_user title: BaseMathType type: string HogQLFilters: additionalProperties: false properties: dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true properties: default: null title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true title: HogQLFilters type: object WebVitalsPathBreakdownQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebVitalsPathBreakdownResult' maxItems: 1 minItems: 1 title: Results 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: - results title: WebVitalsPathBreakdownQueryResponse type: object FunnelExclusionActionsNode: additionalProperties: false properties: custom_name: default: null title: Custom Name type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true funnelFromStep: title: Funnelfromstep type: integer funnelToStep: title: Funneltostep type: integer id: title: Id type: integer kind: default: ActionsNode title: Kind type: string enum: - ActionsNode math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - funnelFromStep - funnelToStep - id title: FunnelExclusionActionsNode type: object ExperimentBreakdownResult: additionalProperties: false properties: baseline: description: Control variant stats for this breakdown allOf: - $ref: '#/components/schemas/ExperimentStatsBaseValidated' breakdown_value: description: The breakdown values as an array (e.g., ["MacOS", "Chrome"] for multi-breakdown, ["Chrome"] for single) Although `BreakdownKeyType` could be an array, we only use the array form for the breakdown_value. The way `BreakdownKeyType` is defined is problematic. It should be treated as a primitive and allow for the types using it to define if it's and array or an optional value. items: anyOf: - type: string - type: number - type: integer title: Breakdown Value type: array variants: anyOf: - items: $ref: '#/components/schemas/ExperimentVariantResultFrequentist' type: array - items: $ref: '#/components/schemas/ExperimentVariantResultBayesian' type: array description: Test variant results with statistical comparisons for this breakdown title: Variants required: - baseline - breakdown_value - variants title: ExperimentBreakdownResult type: object LogsOrderBy: enum: - latest - earliest title: LogsOrderBy type: string SpanPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: $ref: '#/components/schemas/SpanPropertyFilterType' value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator - type title: SpanPropertyFilter type: object EventsHeatMapStructuredResult: additionalProperties: false properties: allAggregations: title: Allaggregations type: integer columnAggregations: items: $ref: '#/components/schemas/EventsHeatMapColumnAggregationResult' title: Columnaggregations type: array data: items: $ref: '#/components/schemas/EventsHeatMapDataResult' title: Data type: array rowAggregations: items: $ref: '#/components/schemas/EventsHeatMapRowAggregationResult' title: Rowaggregations type: array required: - allAggregations - columnAggregations - data - rowAggregations title: EventsHeatMapStructuredResult type: object LogsSparklineBreakdownBy: enum: - severity - service title: LogsSparklineBreakdownBy type: string PathCleaningFilter: additionalProperties: false properties: alias: default: null title: Alias type: string nullable: true order: default: null title: Order type: number nullable: true regex: default: null title: Regex type: string nullable: true title: PathCleaningFilter type: object SessionAttributionExplorerQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: SessionAttributionExplorerQueryResponse type: object TeamTaxonomyItem: additionalProperties: false properties: count: title: Count type: integer event: title: Event type: string required: - count - event title: TeamTaxonomyItem type: object BoxPlotDatum: additionalProperties: false properties: day: title: Day type: string label: title: Label type: string max: title: Max type: number mean: title: Mean type: number median: title: Median type: number min: title: Min type: number p25: title: P25 type: number p75: title: P75 type: number series_index: default: null title: Series Index type: integer nullable: true series_label: default: null title: Series Label type: string nullable: true required: - day - label - max - mean - median - min - p25 - p75 title: BoxPlotDatum type: object TraceQuery: additionalProperties: false properties: dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true kind: default: TraceQuery title: Kind type: string enum: - TraceQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null allOf: - $ref: '#/components/schemas/TraceQueryResponse' nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true traceId: title: Traceid type: string version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - traceId title: TraceQuery type: object PageURL: additionalProperties: false properties: url: title: Url type: string required: - url title: PageURL type: object HrefMatching: enum: - contains - exact - regex - null title: HrefMatching TracesQuery: additionalProperties: false properties: dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterSupportTraces: default: null title: Filtersupporttraces type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true groupKey: default: null title: Groupkey type: string nullable: true groupTypeIndex: default: null title: Grouptypeindex type: integer nullable: true kind: default: TracesQuery title: Kind type: string enum: - TracesQuery 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 personId: default: null description: Person who performed the event title: Personid type: string nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true randomOrder: default: null description: Use random ordering instead of timestamp DESC. Useful for representative sampling to avoid recency bias. title: Randomorder type: boolean nullable: true response: default: null allOf: - $ref: '#/components/schemas/TracesQueryResponse' nullable: true showColumnConfigurator: default: null title: Showcolumnconfigurator type: boolean 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 title: TracesQuery type: object YAxisPosition: enum: - left - right title: YAxisPosition type: string ChartAxis: additionalProperties: false properties: column: title: Column type: string settings: default: null allOf: - $ref: '#/components/schemas/Settings' nullable: true required: - column title: ChartAxis type: object QueryResponseAlternative77: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LogValueResult' title: Results 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: - results title: QueryResponseAlternative77 type: object StickinessOperator: enum: - gte - lte - exact title: StickinessOperator type: string DataWarehousePersonPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: data_warehouse_person_property title: Type type: string enum: - data_warehouse_person_property value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: DataWarehousePersonPropertyFilter type: object PropertyMathType: enum: - avg - sum - min - max - median - p75 - p90 - p95 - p99 title: PropertyMathType type: string HeatmapGradientStop: additionalProperties: false properties: color: title: Color type: string value: title: Value type: number required: - color - value title: HeatmapGradientStop type: object WebAnalyticsExternalSummaryQueryResponse: additionalProperties: false properties: data: additionalProperties: true title: Data type: object error: default: null allOf: - $ref: '#/components/schemas/ExternalQueryError' nullable: true status: $ref: '#/components/schemas/ExternalQueryStatus' required: - data - status title: WebAnalyticsExternalSummaryQueryResponse type: object QueryResponseAlternative8: additionalProperties: false properties: clickhouse: default: null description: Executed ClickHouse query title: Clickhouse type: string nullable: true columns: default: null description: Returned columns title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true explain: default: null description: Query explanation output title: Explain items: type: string type: array nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true limit: default: null title: Limit type: integer nullable: true metadata: default: null description: Query metadata output allOf: - $ref: '#/components/schemas/HogQLMetadataResponse' 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 query: default: null description: Input query string title: Query type: string nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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 types: default: null description: Types of returned columns title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative8 type: object LifecycleToggle: enum: - new - resurrecting - returning - dormant title: LifecycleToggle type: string EventsQueryResponse: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string 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 nextCursor: default: null description: Cursor for fetching the next page of results title: Nextcursor type: string nullable: true offset: default: null title: Offset type: integer nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - results - types title: EventsQueryResponse type: object TrendsQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation title: Aggregation Group Type Index type: integer nullable: true breakdownFilter: default: null description: Breakdown of the events and actions allOf: - $ref: '#/components/schemas/BreakdownFilter' nullable: true compareFilter: default: null description: Compare to date range allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null description: Whether we should be comparing against a specific conversion goal title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization title: Datacolortheme type: number nullable: true dateRange: default: null description: Date range for the query allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: false description: Exclude internal and test users by applying the respective filters title: Filtertestaccounts type: boolean nullable: true interval: default: day description: Granularity of the response. Can be one of `hour`, `day`, `week` or `month` allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: TrendsQuery title: Kind type: string enum: - TrendsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: default: [] description: Property filters for all series title: Properties anyOf: - items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true response: default: null allOf: - $ref: '#/components/schemas/TrendsQueryResponse' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true series: description: Events and actions to include items: anyOf: - $ref: '#/components/schemas/GroupNode' - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/DataWarehouseNode' title: Series type: array tags: default: null description: Tags that will be added to the Query log comment allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true trendsFilter: default: null description: Properties specific to the trends insight allOf: - $ref: '#/components/schemas/TrendsFilter' nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - series title: TrendsQuery type: object WebVitalsPathBreakdownResult: additionalProperties: false properties: good: items: $ref: '#/components/schemas/WebVitalsPathBreakdownResultItem' title: Good type: array needs_improvements: items: $ref: '#/components/schemas/WebVitalsPathBreakdownResultItem' title: Needs Improvements type: array poor: items: $ref: '#/components/schemas/WebVitalsPathBreakdownResultItem' title: Poor type: array required: - good - needs_improvements - poor title: WebVitalsPathBreakdownResult type: object CalendarHeatmapFilter: additionalProperties: false properties: dummy: default: null title: Dummy type: string nullable: true title: CalendarHeatmapFilter type: object FunnelVizType: enum: - steps - time_to_convert - trends - flow title: FunnelVizType type: string MatchedOn: enum: - key - value title: MatchedOn type: string StickinessQuery: additionalProperties: false properties: compareFilter: default: null description: Compare to date range allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization title: Datacolortheme type: number nullable: true dateRange: default: null description: Date range for the query allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: false description: Exclude internal and test users by applying the respective filters title: Filtertestaccounts type: boolean nullable: true interval: default: day description: Granularity of the response. Can be one of `hour`, `day`, `week` or `month` allOf: - $ref: '#/components/schemas/IntervalType' nullable: true intervalCount: default: null description: How many intervals comprise a period. Only used for cohorts, otherwise default 1. title: Intervalcount minimum: 1 type: integer nullable: true kind: default: StickinessQuery title: Kind type: string enum: - StickinessQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: default: [] description: Property filters for all series title: Properties anyOf: - items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true response: default: null allOf: - $ref: '#/components/schemas/StickinessQueryResponse' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true series: description: Events and actions to include items: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/DataWarehouseNode' title: Series type: array stickinessFilter: default: null description: Properties specific to the stickiness insight allOf: - $ref: '#/components/schemas/StickinessFilter' nullable: true tags: default: null description: Tags that will be added to the Query log comment 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: - series title: StickinessQuery type: object TraceSpansQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 nextCursor: default: null description: Cursor for fetching the next page of results title: Nextcursor type: string nullable: true offset: default: null title: Offset type: integer nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: TraceSpansQueryResponse type: object FeatureFlagGroupType: additionalProperties: false properties: aggregation_group_type_index: default: null title: Aggregation Group Type Index type: integer nullable: true description: default: null title: Description type: string nullable: true properties: default: null title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true rollout_percentage: default: null title: Rollout Percentage type: number nullable: true sort_key: default: null title: Sort Key type: string nullable: true users_affected: default: null title: Users Affected type: number nullable: true variant: default: null title: Variant type: string nullable: true title: FeatureFlagGroupType type: object QueryResponseAlternative1: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string 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 nextCursor: default: null description: Cursor for fetching the next page of results title: Nextcursor type: string nullable: true offset: default: null title: Offset type: integer nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - results - types title: QueryResponseAlternative1 type: object WebAnalyticsSampling: additionalProperties: false properties: enabled: default: null title: Enabled type: boolean nullable: true forceSamplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true title: WebAnalyticsSampling type: object QueryResponseAlternative45: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative45 type: object EventsQuery: additionalProperties: false properties: actionId: default: null description: Show events matching a given action title: Actionid type: integer nullable: true actionSteps: default: null description: Show events matching action steps directly, used when no actionId is provided (e.g. previewing unsaved actions). Ignored if actionId is set. title: Actionsteps items: $ref: '#/components/schemas/EventsQueryActionStep' type: array nullable: true after: default: null description: Only fetch events that happened after this timestamp title: After type: string nullable: true before: default: null description: Only fetch events that happened before this timestamp title: Before type: string nullable: true event: default: null description: Limit to events matching this string title: Event type: string nullable: true events: default: null description: Filter to events matching any of these event names title: Events items: type: string type: array nullable: true filterTestAccounts: default: null description: Filter test accounts title: Filtertestaccounts type: boolean nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/PropertyGroupFilter' - $ref: '#/components/schemas/PropertyGroupFilterValue' - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true kind: default: EventsQuery title: Kind type: string enum: - EventsQuery limit: default: null description: Number of rows to return 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 description: Number of rows to skip before returning rows title: Offset type: integer nullable: true orderBy: default: null description: Columns to order by title: Orderby items: type: string type: array nullable: true personId: default: null description: Show events for a given person title: Personid type: string nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null allOf: - $ref: '#/components/schemas/EventsQueryResponse' nullable: true select: description: Return a limited set of data. Required. items: type: string title: Select type: array source: default: null description: source for querying events for insights allOf: - $ref: '#/components/schemas/InsightActorsQuery' 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 where: default: null description: HogQL filters to apply on returned data title: Where items: type: string type: array nullable: true required: - select title: EventsQuery type: object RetentionType: enum: - retention_recurring - retention_first_time - retention_first_ever_occurrence title: RetentionType type: string LogAttributesQueryResponse: additionalProperties: false properties: count: title: Count type: number error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LogAttributeResult' title: Results 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: - count - results title: LogAttributesQueryResponse type: object ExternalQueryError: additionalProperties: false properties: code: $ref: '#/components/schemas/ExternalQueryErrorCode' detail: title: Detail type: string required: - code - detail title: ExternalQueryError type: object NonIntegratedConversionsTableQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: $ref: '#/components/schemas/MarketingAnalyticsItem' type: array title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: NonIntegratedConversionsTableQueryResponse type: object EmbeddingDistance: additionalProperties: false properties: distance: title: Distance type: number origin: default: null allOf: - $ref: '#/components/schemas/EmbeddingRecord' nullable: true result: $ref: '#/components/schemas/EmbeddingRecord' required: - distance - result title: EmbeddingDistance type: object DatabaseSerializedFieldType: enum: - integer - float - decimal - string - datetime - date - boolean - array - json - lazy_table - virtual_table - field_traverser - expression - view - materialized_view - unknown title: DatabaseSerializedFieldType type: string ExperimentStatsBaseValidated: additionalProperties: false properties: covariate_sum: default: null title: Covariate Sum type: number nullable: true covariate_sum_product: default: null title: Covariate Sum Product type: number nullable: true covariate_sum_squares: default: null title: Covariate Sum Squares type: number nullable: true denominator_sum: default: null title: Denominator Sum type: number nullable: true denominator_sum_squares: default: null title: Denominator Sum Squares type: number nullable: true key: title: Key type: string number_of_samples: title: Number Of Samples type: integer numerator_denominator_sum_product: default: null title: Numerator Denominator Sum Product type: number nullable: true step_counts: default: null title: Step Counts items: type: integer type: array nullable: true step_sessions: default: null title: Step Sessions items: items: $ref: '#/components/schemas/SessionData' type: array type: array nullable: true sum: title: Sum type: number sum_squares: title: Sum Squares type: number validation_failures: default: null title: Validation Failures items: $ref: '#/components/schemas/ExperimentStatsValidationFailure' type: array nullable: true required: - key - number_of_samples - sum - sum_squares title: ExperimentStatsBaseValidated type: object ElementType: additionalProperties: false properties: attr_class: default: null title: Attr Class items: type: string type: array nullable: true attr_id: default: null title: Attr Id type: string nullable: true attributes: additionalProperties: type: string title: Attributes type: object href: default: null title: Href type: string nullable: true nth_child: default: null title: Nth Child type: number nullable: true nth_of_type: default: null title: Nth Of Type type: number nullable: true order: default: null title: Order type: number nullable: true tag_name: title: Tag Name type: string text: default: null title: Text type: string nullable: true required: - attributes - tag_name title: ElementType type: object DatabaseSchemaQuery: additionalProperties: false properties: connectionId: default: null description: Optional direct external data source id for schema introspection title: Connectionid type: string nullable: true kind: default: DatabaseSchemaQuery title: Kind type: string enum: - DatabaseSchemaQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/DatabaseSchemaQueryResponse' 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 title: DatabaseSchemaQuery type: object LogAttributesQuery: additionalProperties: false properties: attributeType: title: Attributetype type: string dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterGroup: default: null allOf: - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true kind: default: LogAttributesQuery title: Kind type: string enum: - LogAttributesQuery 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 response: default: null allOf: - $ref: '#/components/schemas/LogAttributesQueryResponse' nullable: true search: default: null title: Search type: string nullable: true searchValues: default: null description: When true, the search query also matches attribute values (not just keys). title: Searchvalues type: boolean nullable: true serviceNames: default: null title: Servicenames items: type: string type: array nullable: true severityLevels: default: null title: Severitylevels items: $ref: '#/components/schemas/LogSeverityLevel' type: array 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: - attributeType title: LogAttributesQuery type: object RetentionEntityKind: enum: - ActionsNode - EventsNode title: RetentionEntityKind type: string EventMetadataPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: event_metadata title: Type type: string enum: - event_metadata value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: EventMetadataPropertyFilter type: object DetailedResultsAggregationType: enum: - total - average - median title: DetailedResultsAggregationType type: string QueryResponseAlternative67: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: QueryResponseAlternative67 type: object WebNotableChangesQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebNotableChangeItem' title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: WebNotableChangesQueryResponse type: object DatabaseSchemaSource: additionalProperties: false properties: access_method: default: null title: Access Method type: string nullable: true id: title: Id type: string last_synced_at: default: null title: Last Synced At type: string nullable: true prefix: title: Prefix type: string source_type: title: Source Type type: string status: title: Status type: string required: - id - prefix - source_type - status title: DatabaseSchemaSource type: object FunnelCorrelationQuery: additionalProperties: false properties: funnelCorrelationEventExcludePropertyNames: default: null title: Funnelcorrelationeventexcludepropertynames items: type: string type: array nullable: true funnelCorrelationEventNames: default: null title: Funnelcorrelationeventnames items: type: string type: array nullable: true funnelCorrelationExcludeEventNames: default: null title: Funnelcorrelationexcludeeventnames items: type: string type: array nullable: true funnelCorrelationExcludeNames: default: null title: Funnelcorrelationexcludenames items: type: string type: array nullable: true funnelCorrelationNames: default: null title: Funnelcorrelationnames items: type: string type: array nullable: true funnelCorrelationType: $ref: '#/components/schemas/FunnelCorrelationResultsType' kind: default: FunnelCorrelationQuery title: Kind type: string enum: - FunnelCorrelationQuery response: default: null allOf: - $ref: '#/components/schemas/FunnelCorrelationResponse' nullable: true source: $ref: '#/components/schemas/FunnelsActorsQuery' version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - funnelCorrelationType - source title: FunnelCorrelationQuery type: object ChartSettingsDisplay: additionalProperties: false properties: color: default: null title: Color type: string nullable: true displayType: default: null allOf: - $ref: '#/components/schemas/DisplayType' nullable: true label: default: null title: Label type: string nullable: true trendLine: default: null title: Trendline type: boolean nullable: true yAxisPosition: default: null allOf: - $ref: '#/components/schemas/YAxisPosition' nullable: true title: ChartSettingsDisplay type: object LLMTracePerson: additionalProperties: false properties: created_at: title: Created At type: string distinct_id: title: Distinct Id type: string properties: type: object additionalProperties: true title: Properties uuid: title: Uuid type: string required: - created_at - distinct_id - properties - uuid title: LLMTracePerson type: object Person: additionalProperties: false properties: distinct_ids: items: type: string title: Distinct Ids type: array is_identified: default: null title: Is Identified type: boolean nullable: true properties: type: object additionalProperties: true title: Properties required: - distinct_ids - properties title: Person type: object StickinessQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: additionalProperties: true type: object title: Results 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: - results title: StickinessQueryResponse type: object TeamTaxonomyQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/TeamTaxonomyItem' title: Results 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: - results title: TeamTaxonomyQueryResponse type: object PropertyValueItem: additionalProperties: false properties: count: default: null title: Count type: integer nullable: true name: default: null title: Name anyOf: - type: string - type: number - type: boolean nullable: true title: PropertyValueItem type: object CustomChannelField: enum: - utm_source - utm_medium - utm_campaign - referring_domain - url - pathname - hostname title: CustomChannelField type: string DatabaseSchemaEndpointTable: additionalProperties: false properties: fields: additionalProperties: $ref: '#/components/schemas/DatabaseSchemaField' title: Fields type: object id: title: Id type: string name: title: Name type: string query: $ref: '#/components/schemas/HogQLQuery' row_count: default: null title: Row Count type: number nullable: true status: default: null title: Status type: string nullable: true type: default: endpoint title: Type type: string enum: - endpoint required: - fields - id - name - query title: DatabaseSchemaEndpointTable type: object 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 title: EndpointsUsageTableQuery type: object HedgehogActorAccessoryOption: enum: - beret - cap - chef - cowboy - eyepatch - flag - glasses - graduation - parrot - party - pineapple - sunglasses - tophat - xmas-hat - xmas-antlers - xmas-scarf title: HedgehogActorAccessoryOption type: string QueryResponseAlternative19: additionalProperties: false properties: count_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true credible_intervals: additionalProperties: items: type: number type: array title: Credible Intervals type: object exposure_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true insight: items: additionalProperties: true type: object title: Insight type: array kind: default: ExperimentTrendsQuery title: Kind type: string enum: - ExperimentTrendsQuery p_value: title: P Value type: number probability: additionalProperties: type: number title: Probability type: object significance_code: $ref: '#/components/schemas/ExperimentSignificanceCode' significant: title: Significant type: boolean stats_version: default: null title: Stats Version type: integer nullable: true variants: items: $ref: '#/components/schemas/ExperimentVariantTrendsBaseStats' title: Variants type: array required: - credible_intervals - insight - p_value - probability - significance_code - significant - variants title: QueryResponseAlternative19 type: object FunnelCorrelationResult: additionalProperties: false properties: events: items: $ref: '#/components/schemas/EventOddsRatioSerialized' title: Events type: array skewed: title: Skewed type: boolean required: - events - skewed title: FunnelCorrelationResult type: object QueryIndexUsage: enum: - undecisive - 'no' - partial - 'yes' title: QueryIndexUsage type: string MarketingAnalyticsAggregatedQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true draftConversionGoal: default: null description: Draft conversion goal that can be set in the UI without saving title: Draftconversiongoal anyOf: - $ref: '#/components/schemas/ConversionGoalFilter1' - $ref: '#/components/schemas/ConversionGoalFilter2' - $ref: '#/components/schemas/ConversionGoalFilter3' nullable: true drillDownLevel: default: null description: 'Drill-down hierarchy level: channel, source, or campaign (default)' allOf: - $ref: '#/components/schemas/MarketingAnalyticsDrillDownLevel' nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true integrationFilter: default: null description: Filter by integration IDs allOf: - $ref: '#/components/schemas/IntegrationFilter' nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: MarketingAnalyticsAggregatedQuery title: Kind type: string enum: - MarketingAnalyticsAggregatedQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/MarketingAnalyticsAggregatedQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true select: default: null description: Return a limited set of data. Will use default columns if empty. title: Select items: type: string type: array nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties title: MarketingAnalyticsAggregatedQuery type: object RefreshType: enum: - async - async_except_on_cache_miss - blocking - force_async - force_blocking - force_cache - lazy_async title: RefreshType type: string PropertyGroupsMode: enum: - enabled - disabled - optimized title: PropertyGroupsMode type: string SummaryOutcome: additionalProperties: false properties: description: default: null title: Description type: string nullable: true success: default: null title: Success type: boolean nullable: true title: SummaryOutcome type: object BreakdownAttributionType: enum: - first_touch - last_touch - all_events - step title: BreakdownAttributionType type: string ExperimentQuery: additionalProperties: false properties: experiment_id: default: null title: Experiment Id type: integer nullable: true kind: default: ExperimentQuery title: Kind type: string enum: - ExperimentQuery metric: anyOf: - $ref: '#/components/schemas/ExperimentMeanMetric' - $ref: '#/components/schemas/ExperimentFunnelMetric' - $ref: '#/components/schemas/ExperimentRatioMetric' - $ref: '#/components/schemas/ExperimentRetentionMetric' title: Metric modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true name: default: null title: Name type: string nullable: true precomputation_mode: default: null allOf: - $ref: '#/components/schemas/PrecomputationMode' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ExperimentQueryResponse' 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: - metric title: ExperimentQuery type: object EndpointsUsageBreakdown: enum: - Endpoint - MaterializationType - ApiKey - Status title: EndpointsUsageBreakdown type: string DayItem: additionalProperties: false properties: label: title: Label type: string value: anyOf: - type: string - format: date-time type: string - type: integer title: Value required: - label - value title: DayItem type: object EndpointsUsageTableQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: EndpointsUsageTableQueryResponse type: object WebVitalsPathBreakdownResultItem: additionalProperties: false properties: path: title: Path type: string value: title: Value type: number required: - path - value title: WebVitalsPathBreakdownResultItem type: object QueryResponseAlternative31: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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: - results title: QueryResponseAlternative31 type: object MeanRetentionCalculation: enum: - simple - weighted - none title: MeanRetentionCalculation type: string ErrorTrackingIssueCorrelationQuery: additionalProperties: false properties: events: items: type: string title: Events type: array kind: default: ErrorTrackingIssueCorrelationQuery title: Kind type: string enum: - ErrorTrackingIssueCorrelationQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ErrorTrackingIssueCorrelationQueryResponse' 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: - events title: ErrorTrackingIssueCorrelationQuery type: object WebGoalsQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: WebGoalsQuery title: Kind type: string enum: - WebGoalsQuery 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 orderBy: default: null title: Orderby items: anyOf: - $ref: '#/components/schemas/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebGoalsQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties title: WebGoalsQuery type: object ElementPropertyFilter: additionalProperties: false properties: key: $ref: '#/components/schemas/Key10' label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: element title: Type type: string enum: - element value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: ElementPropertyFilter type: object PersonsNode: additionalProperties: false properties: cohort: default: null title: Cohort type: integer nullable: true distinctId: default: null title: Distinctid type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true kind: default: PersonsNode title: Kind type: string enum: - PersonsNode 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 properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true search: default: null title: Search type: string 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 title: PersonsNode type: object ErrorTrackingBreakdownsQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: additionalProperties: $ref: '#/components/schemas/Results' title: Results type: object 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: - results title: ErrorTrackingBreakdownsQueryResponse type: object WebExternalClicksTableQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: WebExternalClicksTableQuery title: Kind type: string enum: - WebExternalClicksTableQuery 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 orderBy: default: null title: Orderby items: anyOf: - $ref: '#/components/schemas/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebExternalClicksTableQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true stripQueryParams: default: null title: Stripqueryparams type: boolean nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties title: WebExternalClicksTableQuery type: object HeatmapSortOrder: enum: - asc - desc title: HeatmapSortOrder type: string StickinessComputationMode: enum: - non_cumulative - cumulative title: StickinessComputationMode type: string RecordingOrder: enum: - duration - recording_duration - inactive_seconds - active_seconds - start_time - console_error_count - click_count - keypress_count - mouse_activity_count - activity_score - recording_ttl title: RecordingOrder type: string QueryResponseAlternative42: additionalProperties: false properties: clickhouse: default: null description: Executed ClickHouse query title: Clickhouse type: string nullable: true columns: default: null description: Returned columns title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true explain: default: null description: Query explanation output title: Explain items: type: string type: array nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true limit: default: null title: Limit type: integer nullable: true metadata: default: null description: Query metadata output allOf: - $ref: '#/components/schemas/HogQLMetadataResponse' 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 query: default: null description: Input query string title: Query type: string nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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 types: default: null description: Types of returned columns title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative42 type: object HogQLMetadata: additionalProperties: false properties: connectionId: default: null description: Optional direct external data source id for running against a specific source title: Connectionid type: string nullable: true debug: default: null description: Enable more verbose output, usually run from the /debug page title: Debug type: boolean nullable: true filters: default: null description: Extra filters applied to query via {filters} allOf: - $ref: '#/components/schemas/HogQLFilters' nullable: true globals: default: null description: Extra globals for the query title: Globals additionalProperties: true type: object nullable: true kind: default: HogQLMetadata title: Kind type: string enum: - HogQLMetadata language: description: Language to validate allOf: - $ref: '#/components/schemas/HogLanguage' modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query: description: Query to validate title: Query type: string response: default: null allOf: - $ref: '#/components/schemas/HogQLMetadataResponse' nullable: true sourceQuery: default: null description: Query within which "expr" and "template" are validated. Defaults to "select * from events" title: Sourcequery anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/PersonsNode' - $ref: '#/components/schemas/EventsQuery' - $ref: '#/components/schemas/SessionsQuery' - $ref: '#/components/schemas/ActorsQuery' - $ref: '#/components/schemas/GroupsQuery' - $ref: '#/components/schemas/InsightActorsQuery' - $ref: '#/components/schemas/InsightActorsQueryOptions' - $ref: '#/components/schemas/SessionsTimelineQuery' - $ref: '#/components/schemas/HogQuery' - $ref: '#/components/schemas/HogQLQuery' - $ref: '#/components/schemas/HogQLMetadata' - $ref: '#/components/schemas/HogQLAutocomplete' - $ref: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' - $ref: '#/components/schemas/RevenueAnalyticsMetricsQuery' - $ref: '#/components/schemas/RevenueAnalyticsMRRQuery' - $ref: '#/components/schemas/RevenueAnalyticsOverviewQuery' - $ref: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' - $ref: '#/components/schemas/MarketingAnalyticsTableQuery' - $ref: '#/components/schemas/MarketingAnalyticsAggregatedQuery' - $ref: '#/components/schemas/NonIntegratedConversionsTableQuery' - $ref: '#/components/schemas/WebOverviewQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebExternalClicksTableQuery' - $ref: '#/components/schemas/WebGoalsQuery' - $ref: '#/components/schemas/WebVitalsQuery' - $ref: '#/components/schemas/WebVitalsPathBreakdownQuery' - $ref: '#/components/schemas/WebPageURLSearchQuery' - $ref: '#/components/schemas/WebTrendsQuery' - $ref: '#/components/schemas/WebAnalyticsExternalSummaryQuery' - $ref: '#/components/schemas/WebNotableChangesQuery' - $ref: '#/components/schemas/SessionAttributionExplorerQuery' - $ref: '#/components/schemas/RevenueExampleEventsQuery' - $ref: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' - $ref: '#/components/schemas/ErrorTrackingQuery' - $ref: '#/components/schemas/ErrorTrackingSimilarIssuesQuery' - $ref: '#/components/schemas/ErrorTrackingBreakdownsQuery' - $ref: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' - $ref: '#/components/schemas/LogsQuery' - $ref: '#/components/schemas/LogAttributesQuery' - $ref: '#/components/schemas/LogValuesQuery' - $ref: '#/components/schemas/TraceSpansQuery' - $ref: '#/components/schemas/ExperimentFunnelsQuery' - $ref: '#/components/schemas/ExperimentTrendsQuery' - $ref: '#/components/schemas/CalendarHeatmapQuery' - $ref: '#/components/schemas/RecordingsQuery' - $ref: '#/components/schemas/TracesQuery' - $ref: '#/components/schemas/TraceQuery' - $ref: '#/components/schemas/TraceNeighborsQuery' - $ref: '#/components/schemas/VectorSearchQuery' - $ref: '#/components/schemas/UsageMetricsQuery' - $ref: '#/components/schemas/EndpointsUsageOverviewQuery' - $ref: '#/components/schemas/EndpointsUsageTableQuery' - $ref: '#/components/schemas/EndpointsUsageTrendsQuery' nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true variables: default: null description: Variables to be subsituted into the query title: Variables additionalProperties: $ref: '#/components/schemas/HogQLVariable' type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - language - query title: HogQLMetadata type: object EventOddsRatioSerialized: additionalProperties: false properties: correlation_type: $ref: '#/components/schemas/CorrelationType' event: $ref: '#/components/schemas/EventDefinition' failure_count: title: Failure Count type: integer odds_ratio: title: Odds Ratio type: number success_count: title: Success Count type: integer required: - correlation_type - event - failure_count - odds_ratio - success_count title: EventOddsRatioSerialized type: object QueryResponseAlternative90: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: additionalProperties: true type: object title: Results 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: - results title: QueryResponseAlternative90 type: object QueryResponseAlternative39: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string 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 nextCursor: default: null description: Cursor for fetching the next page of results title: Nextcursor type: string nullable: true offset: default: null title: Offset type: integer nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - results - types title: QueryResponseAlternative39 type: object VolumeBucket: additionalProperties: false properties: label: title: Label type: string value: title: Value type: number required: - label - value title: VolumeBucket type: object SessionsTimelineQuery: additionalProperties: false properties: after: default: null description: 'Only fetch sessions that started after this timestamp (default: ''-24h'')' title: After type: string nullable: true before: default: null description: 'Only fetch sessions that started before this timestamp (default: ''+5s'')' title: Before type: string nullable: true kind: default: SessionsTimelineQuery title: Kind type: string enum: - SessionsTimelineQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true personId: default: null description: Fetch sessions only for a given person title: Personid type: string nullable: true response: default: null allOf: - $ref: '#/components/schemas/SessionsTimelineQueryResponse' 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 title: SessionsTimelineQuery type: object MultipleVariantHandling: enum: - exclude - first_seen title: MultipleVariantHandling type: string HogQuery: additionalProperties: false properties: code: default: null title: Code type: string nullable: true kind: default: HogQuery title: Kind type: string enum: - HogQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/HogQueryResponse' 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 title: HogQuery type: object ActorsPropertyTaxonomyQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: anyOf: - $ref: '#/components/schemas/ActorsPropertyTaxonomyResponse' - items: $ref: '#/components/schemas/ActorsPropertyTaxonomyResponse' type: array title: Results 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: - results title: ActorsPropertyTaxonomyQueryResponse type: object QueryResponseAlternative53: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RevenueAnalyticsOverviewItem' title: Results 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: - results title: QueryResponseAlternative53 type: object LimitContext: enum: - posthog_ai - null title: LimitContext EmbeddingRecord: additionalProperties: false properties: document_id: title: Document Id type: string document_type: title: Document Type type: string model_name: $ref: '#/components/schemas/EmbeddingModelName' product: title: Product type: string rendering: title: Rendering type: string timestamp: format: date-time title: Timestamp type: string required: - document_id - document_type - model_name - product - rendering - timestamp title: EmbeddingRecord type: object WebStatsTableQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: WebStatsTableQueryResponse type: object ExperimentVariantFunnelsBaseStats: additionalProperties: false properties: failure_count: title: Failure Count type: number key: title: Key type: string success_count: title: Success Count type: number required: - failure_count - key - success_count title: ExperimentVariantFunnelsBaseStats type: object QueryResponseAlternative38: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: $ref: '#/components/schemas/MarketingAnalyticsItem' type: array title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative38 type: object EndpointsUsageOverviewQuery: additionalProperties: false properties: compareFilter: default: null description: Compare to previous period allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true 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: EndpointsUsageOverviewQuery title: Kind type: string enum: - EndpointsUsageOverviewQuery 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 response: default: null allOf: - $ref: '#/components/schemas/EndpointsUsageOverviewQueryResponse' 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 title: EndpointsUsageOverviewQuery type: object SessionData: additionalProperties: false properties: event_uuid: title: Event Uuid type: string person_id: title: Person Id type: string session_id: title: Session Id type: string timestamp: title: Timestamp type: string required: - event_uuid - person_id - session_id - timestamp title: SessionData type: object ErrorTrackingIssueAssigneeType: enum: - user - role title: ErrorTrackingIssueAssigneeType type: string SuggestedQuestionsQuery: additionalProperties: false properties: kind: default: SuggestedQuestionsQuery title: Kind type: string enum: - SuggestedQuestionsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/SuggestedQuestionsQueryResponse' 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 title: SuggestedQuestionsQuery type: object FunnelPathsFilter: additionalProperties: false properties: funnelPathType: default: null allOf: - $ref: '#/components/schemas/FunnelPathType' nullable: true funnelSource: $ref: '#/components/schemas/FunnelsQuery' funnelStep: default: null title: Funnelstep type: integer nullable: true required: - funnelSource title: FunnelPathsFilter type: object MaterializationMode: enum: - auto - legacy_null_as_string - legacy_null_as_null - disabled title: MaterializationMode type: string EventsHeatMapRowAggregationResult: additionalProperties: false properties: row: title: Row type: integer value: title: Value type: integer required: - row - value title: EventsHeatMapRowAggregationResult type: object Response22: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/ErrorTrackingCorrelatedIssue' title: Results 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: - results title: Response22 type: object CountPerActorMathType: enum: - avg_count_per_actor - min_count_per_actor - max_count_per_actor - median_count_per_actor - p75_count_per_actor - p90_count_per_actor - p95_count_per_actor - p99_count_per_actor title: CountPerActorMathType type: string ConversionGoalFilter2: additionalProperties: false properties: conversion_goal_id: title: Conversion Goal Id type: string conversion_goal_name: title: Conversion Goal Name type: string custom_name: default: null title: Custom Name type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true id: title: Id type: integer kind: default: ActionsNode title: Kind type: string enum: - ActionsNode math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true schema_map: additionalProperties: anyOf: - type: string - {} title: Schema Map type: object version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - conversion_goal_id - conversion_goal_name - id - schema_map title: ConversionGoalFilter2 type: object LogPropertyFilterType: enum: - log - log_attribute - log_resource_attribute title: LogPropertyFilterType type: string CalendarHeatmapResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null description: Wether more breakdown values are available. title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: $ref: '#/components/schemas/EventsHeatMapStructuredResult' 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: - results title: CalendarHeatmapResponse type: object CustomChannelCondition: additionalProperties: false properties: id: title: Id type: string key: $ref: '#/components/schemas/CustomChannelField' op: $ref: '#/components/schemas/CustomChannelOperator' value: default: null title: Value anyOf: - type: string - items: type: string type: array nullable: true required: - id - key - op title: CustomChannelCondition type: object ExperimentExposureQuery: additionalProperties: false properties: end_date: default: null title: End Date type: string nullable: true experiment_id: default: null title: Experiment Id type: integer nullable: true experiment_name: title: Experiment Name type: string exposure_criteria: default: null allOf: - $ref: '#/components/schemas/ExperimentExposureCriteria' nullable: true feature_flag: additionalProperties: true title: Feature Flag type: object holdout: default: null allOf: - $ref: '#/components/schemas/ExperimentHoldoutType' nullable: true kind: default: ExperimentExposureQuery title: Kind type: string enum: - ExperimentExposureQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ExperimentExposureQueryResponse' nullable: true start_date: default: null title: Start Date type: string 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: - experiment_name - feature_flag title: ExperimentExposureQuery type: object RevenueAnalyticsBreakdown: additionalProperties: false properties: property: title: Property type: string type: default: revenue_analytics title: Type type: string enum: - revenue_analytics required: - property title: RevenueAnalyticsBreakdown type: object DatabaseSchemaField: additionalProperties: false properties: chain: default: null title: Chain items: anyOf: - type: string - type: integer type: array nullable: true fields: default: null title: Fields items: type: string type: array nullable: true hogql_value: title: Hogql Value type: string id: default: null title: Id type: string nullable: true name: title: Name type: string schema_valid: title: Schema Valid type: boolean table: default: null title: Table type: string nullable: true type: $ref: '#/components/schemas/DatabaseSerializedFieldType' required: - hogql_value - name - schema_valid - type title: DatabaseSchemaField type: object EventType: additionalProperties: false properties: distinct_id: title: Distinct Id type: string elements: items: $ref: '#/components/schemas/ElementType' title: Elements type: array elements_chain: default: null title: Elements Chain type: string nullable: true event: title: Event type: string id: title: Id type: string person: default: null allOf: - $ref: '#/components/schemas/Person' nullable: true person_id: default: null title: Person Id type: string nullable: true person_mode: default: null title: Person Mode type: string nullable: true properties: type: object additionalProperties: true title: Properties timestamp: title: Timestamp type: string uuid: default: null title: Uuid type: string nullable: true required: - distinct_id - elements - event - id - properties - timestamp title: EventType type: object OrderBy: enum: - distance - timestamp title: OrderBy type: string DataTableNodeViewPropsContext: additionalProperties: false properties: eventDefinitionId: default: null title: Eventdefinitionid type: string nullable: true type: $ref: '#/components/schemas/DataTableNodeViewPropsContextType' required: - type title: DataTableNodeViewPropsContext type: object ExperimentStatsValidationFailure: enum: - not-enough-exposures - baseline-mean-is-zero - not-enough-metric-data title: ExperimentStatsValidationFailure type: string MarketingAnalyticsTableQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: $ref: '#/components/schemas/MarketingAnalyticsItem' type: array title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: MarketingAnalyticsTableQueryResponse type: object ExperimentExposureCriteria: additionalProperties: false properties: exposure_config: default: null title: Exposure Config anyOf: - $ref: '#/components/schemas/ExperimentEventExposureConfig' - $ref: '#/components/schemas/ActionsNode' nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true multiple_variant_handling: default: null allOf: - $ref: '#/components/schemas/MultipleVariantHandling' nullable: true title: ExperimentExposureCriteria type: object QueryResponseAlternative76: additionalProperties: false properties: count: title: Count type: number error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LogAttributeResult' title: Results 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: - count - results title: QueryResponseAlternative76 type: object ExperimentTrendsQuery: additionalProperties: false properties: count_query: $ref: '#/components/schemas/TrendsQuery' experiment_id: default: null title: Experiment Id type: integer nullable: true exposure_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true fingerprint: default: null title: Fingerprint type: string nullable: true kind: default: ExperimentTrendsQuery title: Kind type: string enum: - ExperimentTrendsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true name: default: null title: Name type: string nullable: true response: default: null allOf: - $ref: '#/components/schemas/ExperimentTrendsQueryResponse' nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true uuid: default: null title: Uuid type: string nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - count_query title: ExperimentTrendsQuery type: object LogEntryPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: log_entry title: Type type: string enum: - log_entry value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: LogEntryPropertyFilter type: object Response: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string 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 nextCursor: default: null description: Cursor for fetching the next page of results title: Nextcursor type: string nullable: true offset: default: null title: Offset type: integer nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - results - types title: Response type: object QueryResponseAlternative75: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 nextCursor: default: null description: Cursor for fetching the next page of results title: Nextcursor type: string nullable: true offset: default: null title: Offset type: integer nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: QueryResponseAlternative75 type: object MarketingAnalyticsTableQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null description: Compare to date range allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true draftConversionGoal: default: null description: Draft conversion goal that can be set in the UI without saving title: Draftconversiongoal anyOf: - $ref: '#/components/schemas/ConversionGoalFilter1' - $ref: '#/components/schemas/ConversionGoalFilter2' - $ref: '#/components/schemas/ConversionGoalFilter3' nullable: true drillDownLevel: default: null description: 'Drill-down hierarchy level: channel, source, or campaign (default)' allOf: - $ref: '#/components/schemas/MarketingAnalyticsDrillDownLevel' nullable: true filterTestAccounts: default: null description: Filter test accounts title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true integrationFilter: default: null description: Filter by integration type allOf: - $ref: '#/components/schemas/IntegrationFilter' nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: MarketingAnalyticsTableQuery title: Kind type: string enum: - MarketingAnalyticsTableQuery limit: default: null description: Number of rows to return 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 description: Number of rows to skip before returning rows title: Offset type: integer nullable: true orderBy: default: null description: Columns to order by - similar to EventsQuery format title: Orderby items: items: anyOf: - type: string - $ref: '#/components/schemas/MarketingAnalyticsOrderByEnum' type: array type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/MarketingAnalyticsTableQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true select: default: null description: Return a limited set of data. Will use default columns if empty. title: Select items: type: string type: array nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties title: MarketingAnalyticsTableQuery type: object EndpointsUsageOrderByField: enum: - requests - bytes_read - cpu_seconds - avg_query_duration_ms - error_rate title: EndpointsUsageOrderByField type: string WebTrendsQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' kind: default: WebTrendsQuery title: Kind type: string enum: - WebTrendsQuery limit: default: null title: Limit type: integer nullable: true metrics: items: $ref: '#/components/schemas/WebTrendsMetric' title: Metrics type: array 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/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebTrendsQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - interval - metrics - properties title: WebTrendsQuery type: object DisplayType: enum: - auto - line - bar - area title: DisplayType type: string EventPropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: default: exact allOf: - $ref: '#/components/schemas/PropertyOperator' nullable: true type: default: event description: Event properties title: Type type: string enum: - event value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key title: EventPropertyFilter type: object RetentionQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RetentionResult' title: Results 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: - results title: RetentionQueryResponse type: object SnapshotSource: enum: - web - mobile - unknown title: SnapshotSource type: string ExperimentExposureTimeSeries: additionalProperties: false properties: days: items: type: string title: Days type: array exposure_counts: items: type: number title: Exposure Counts type: array variant: title: Variant type: string required: - days - exposure_counts - variant title: ExperimentExposureTimeSeries type: object IntervalType: enum: - second - minute - hour - day - week - month title: IntervalType type: string MarketingAnalyticsOrderByEnum: enum: - ASC - DESC title: MarketingAnalyticsOrderByEnum type: string UsageMetricsQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/UsageMetric' title: Results 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: - results title: UsageMetricsQueryResponse type: object QueryResponseAlternative41: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string kind: default: GroupsQuery title: Kind type: string enum: - GroupsQuery limit: title: Limit type: integer modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: title: Offset type: integer query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - limit - offset - results - types title: QueryResponseAlternative41 type: object Filters: additionalProperties: false properties: dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true properties: default: null title: Properties items: $ref: '#/components/schemas/SessionPropertyFilter' type: array nullable: true title: Filters type: object Response15: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: Response15 type: object MatchedRecording: additionalProperties: false properties: events: items: $ref: '#/components/schemas/MatchedRecordingEvent' title: Events type: array session_id: default: null title: Session Id type: string nullable: true required: - events title: MatchedRecording type: object ActorsPropertyTaxonomyResponse: additionalProperties: false properties: sample_count: title: Sample Count type: integer sample_values: items: anyOf: - type: string - type: number - type: boolean - type: integer title: Sample Values type: array required: - sample_count - sample_values title: ActorsPropertyTaxonomyResponse type: object DataVisualizationNode: additionalProperties: false properties: chartSettings: default: null allOf: - $ref: '#/components/schemas/ChartSettings' nullable: true display: default: null allOf: - $ref: '#/components/schemas/ChartDisplayType' nullable: true kind: default: DataVisualizationNode title: Kind type: string enum: - DataVisualizationNode source: $ref: '#/components/schemas/HogQLQuery' tableSettings: default: null allOf: - $ref: '#/components/schemas/TableSettings' nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - source title: DataVisualizationNode type: object PropertyOperator: enum: - exact - is_not - icontains - not_icontains - regex - not_regex - gt - gte - lt - lte - is_set - is_not_set - is_date_exact - is_date_before - is_date_after - between - not_between - min - max - in - not_in - is_cleaned_path_exact - flag_evaluates_to - semver_eq - semver_neq - semver_gt - semver_gte - semver_lt - semver_lte - semver_tilde - semver_caret - semver_wildcard - icontains_multi - not_icontains_multi title: PropertyOperator type: string VectorSearchQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/VectorSearchResponseItem' title: Results 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: - results title: VectorSearchQueryResponse type: object EventDefinition: additionalProperties: false properties: elements: items: {} title: Elements type: array event: title: Event type: string properties: type: object additionalProperties: true title: Properties required: - elements - event - properties title: EventDefinition type: object ConversionGoalFilter3: additionalProperties: false properties: conversion_goal_id: title: Conversion Goal Id type: string conversion_goal_name: title: Conversion Goal Name type: string custom_name: default: null title: Custom Name type: string nullable: true distinct_id_field: title: Distinct Id Field type: string dw_source_type: default: null title: Dw Source Type type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true id: title: Id type: string id_field: title: Id Field type: string kind: default: DataWarehouseNode title: Kind type: string enum: - DataWarehouseNode math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true schema_map: additionalProperties: anyOf: - type: string - {} title: Schema Map type: object table_name: title: Table Name type: string timestamp_field: title: Timestamp Field type: string version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - conversion_goal_id - conversion_goal_name - distinct_id_field - id - id_field - schema_map - table_name - timestamp_field title: ConversionGoalFilter3 type: object RecordingOrderDirection: enum: - ASC - DESC title: RecordingOrderDirection type: string WebOverviewQueryResponse: additionalProperties: false properties: dateFrom: default: null title: Datefrom type: string nullable: true dateTo: default: null title: Dateto type: string nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebOverviewItem' title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: WebOverviewQueryResponse type: object SessionAttributionExplorerQuery: additionalProperties: false properties: filters: default: null allOf: - $ref: '#/components/schemas/Filters' nullable: true groupBy: items: $ref: '#/components/schemas/SessionAttributionGroupBy' title: Groupby type: array kind: default: SessionAttributionExplorerQuery title: Kind type: string enum: - SessionAttributionExplorerQuery 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 response: default: null allOf: - $ref: '#/components/schemas/SessionAttributionExplorerQueryResponse' 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: - groupBy title: SessionAttributionExplorerQuery type: object LastEvent: additionalProperties: false properties: distinct_id: title: Distinct Id type: string properties: type: string title: Properties timestamp: title: Timestamp type: string uuid: title: Uuid type: string required: - distinct_id - properties - timestamp - uuid title: LastEvent type: object Response19: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: additionalProperties: $ref: '#/components/schemas/MarketingAnalyticsItem' title: Results type: object samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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: - results title: Response19 type: object AutocompleteCompletionItemKind: enum: - Method - Function - Constructor - Field - Variable - Class - Struct - Interface - Module - Property - Event - Operator - Unit - Value - Constant - Enum - EnumMember - Keyword - Text - Color - File - Reference - Customcolor - Folder - TypeParameter - User - Issue - Snippet title: AutocompleteCompletionItemKind type: string QueryResponseAlternative6: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/TimelineEntry' title: Results 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: - results title: QueryResponseAlternative6 type: object RevenueAnalyticsMRRQuery: additionalProperties: false properties: breakdown: items: $ref: '#/components/schemas/RevenueAnalyticsBreakdown' title: Breakdown type: array dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true interval: $ref: '#/components/schemas/SimpleIntervalType' kind: default: RevenueAnalyticsMRRQuery title: Kind type: string enum: - RevenueAnalyticsMRRQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: type: array items: $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/RevenueAnalyticsMRRQueryResponse' 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: - breakdown - interval - properties title: RevenueAnalyticsMRRQuery type: object WebAnalyticsExternalSummaryQuery: additionalProperties: false properties: dateRange: $ref: '#/components/schemas/DateRange' kind: default: WebAnalyticsExternalSummaryQuery title: Kind type: string enum: - WebAnalyticsExternalSummaryQuery properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsExternalSummaryQueryResponse' nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - dateRange - properties title: WebAnalyticsExternalSummaryQuery type: object HogQLQuery: additionalProperties: false properties: connectionId: default: null description: Optional direct external data source id for running against a specific source title: Connectionid type: string nullable: true explain: default: null title: Explain type: boolean nullable: true filters: default: null allOf: - $ref: '#/components/schemas/HogQLFilters' nullable: true kind: default: HogQLQuery title: Kind type: string enum: - HogQLQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true name: default: null description: Client provided name of the query title: Name type: string nullable: true query: title: Query type: string response: default: null allOf: - $ref: '#/components/schemas/HogQLQueryResponse' nullable: true sendRawQuery: default: null description: Run the selected connection query directly without translating it through HogQL first title: Sendrawquery type: boolean nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true values: default: null description: Constant values that can be referenced with the {placeholder} syntax in the query title: Values additionalProperties: true type: object nullable: true variables: default: null description: Variables to be substituted into the query title: Variables additionalProperties: $ref: '#/components/schemas/HogQLVariable' type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - query title: HogQLQuery type: object FunnelsQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: FunnelsQueryResponse type: object AggregationType: enum: - count - sum - avg title: AggregationType type: string RevenueAnalyticsMRRQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RevenueAnalyticsMRRQueryResultItem' title: Results 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: - results title: RevenueAnalyticsMRRQueryResponse type: object PropertyType: enum: - event - person title: PropertyType type: string Style: enum: - none - number - short - percent title: Style type: string RevenueAnalyticsOverviewItemKey: enum: - revenue - paying_customer_count - avg_revenue_per_customer title: RevenueAnalyticsOverviewItemKey type: string WorkflowVariablePropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: workflow_variable title: Type type: string enum: - workflow_variable value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: WorkflowVariablePropertyFilter type: object EventsHeatMapColumnAggregationResult: additionalProperties: false properties: column: title: Column type: integer value: title: Value type: integer required: - column - value title: EventsHeatMapColumnAggregationResult type: object QueryResponseAlternative58: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: additionalProperties: $ref: '#/components/schemas/MarketingAnalyticsItem' title: Results type: object samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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: - results title: QueryResponseAlternative58 type: object QueryResponseAlternative44: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: QueryResponseAlternative44 type: object QueryResponseAlternative83: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LLMTrace' title: Results 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: - results title: QueryResponseAlternative83 type: object ErrorTrackingIssueCohort: additionalProperties: false properties: id: title: Id type: number name: title: Name type: string required: - id - name title: ErrorTrackingIssueCohort type: object FunnelPathType: enum: - funnel_path_before_step - funnel_path_between_steps - funnel_path_after_step title: FunnelPathType type: string TeamTaxonomyQuery: additionalProperties: false properties: kind: default: TeamTaxonomyQuery title: Kind type: string enum: - TeamTaxonomyQuery limit: default: null description: Number of rows to return 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 description: Number of rows to skip before returning rows title: Offset type: integer nullable: true response: default: null allOf: - $ref: '#/components/schemas/TeamTaxonomyQueryResponse' 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 title: TeamTaxonomyQuery type: object HogQLQueryResponse: additionalProperties: false properties: clickhouse: default: null description: Executed ClickHouse query title: Clickhouse type: string nullable: true columns: default: null description: Returned columns title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true explain: default: null description: Query explanation output title: Explain items: type: string type: array nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true limit: default: null title: Limit type: integer nullable: true metadata: default: null description: Query metadata output allOf: - $ref: '#/components/schemas/HogQLMetadataResponse' 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 query: default: null description: Input query string title: Query type: string nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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 types: default: null description: Types of returned columns title: Types items: {} type: array nullable: true required: - results title: HogQLQueryResponse type: object FunnelMathType: enum: - total - first_time_for_user - first_time_for_user_with_filters title: FunnelMathType type: string WebNotableChangeItem: additionalProperties: false properties: current_value: title: Current Value type: number dimension_type: title: Dimension Type type: string dimension_value: title: Dimension Value type: string impact_score: title: Impact Score type: number metric: title: Metric type: string percent_change: title: Percent Change type: number previous_value: title: Previous Value type: number required: - current_value - dimension_type - dimension_value - impact_score - metric - percent_change - previous_value title: WebNotableChangeItem type: object PathsFilter: additionalProperties: false properties: edgeLimit: default: 50 title: Edgelimit type: integer nullable: true endPoint: default: null title: Endpoint type: string nullable: true excludeEvents: default: null title: Excludeevents items: type: string type: array nullable: true includeEventTypes: default: null title: Includeeventtypes items: $ref: '#/components/schemas/PathType' type: array nullable: true localPathCleaningFilters: default: null title: Localpathcleaningfilters items: $ref: '#/components/schemas/PathCleaningFilter' type: array nullable: true maxEdgeWeight: default: null title: Maxedgeweight type: integer nullable: true minEdgeWeight: default: null title: Minedgeweight type: integer nullable: true pathDropoffKey: default: null description: Relevant only within actors query title: Pathdropoffkey type: string nullable: true pathEndKey: default: null description: Relevant only within actors query title: Pathendkey type: string nullable: true pathGroupings: default: null title: Pathgroupings items: type: string type: array nullable: true pathReplacements: default: null title: Pathreplacements type: boolean nullable: true pathStartKey: default: null description: Relevant only within actors query title: Pathstartkey type: string nullable: true pathsHogQLExpression: default: null title: Pathshogqlexpression type: string nullable: true showFullUrls: default: null title: Showfullurls type: boolean nullable: true startPoint: default: null title: Startpoint type: string nullable: true stepLimit: default: 5 title: Steplimit type: integer nullable: true title: PathsFilter type: object PersonsArgMaxVersion: enum: - auto - v1 - v2 title: PersonsArgMaxVersion type: string BiasRisk: additionalProperties: false properties: multiple_variant_percentage: description: Observed share of users assigned to `$multiple`, as a percentage (0-100). title: Multiple Variant Percentage type: number required: - multiple_variant_percentage title: BiasRisk type: object Response8: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebVitalsPathBreakdownResult' maxItems: 1 minItems: 1 title: Results 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: - results title: Response8 type: object CorrelationType: enum: - success - failure title: CorrelationType type: string RevenueAnalyticsOverviewQuery: additionalProperties: false properties: dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true kind: default: RevenueAnalyticsOverviewQuery title: Kind type: string enum: - RevenueAnalyticsOverviewQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: type: array items: $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/RevenueAnalyticsOverviewQueryResponse' 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: - properties title: RevenueAnalyticsOverviewQuery type: object WebTrendsMetric: enum: - UniqueUsers - PageViews - Sessions - Bounces - SessionDuration - TotalSessions title: WebTrendsMetric type: string Series: additionalProperties: false properties: label: title: Label type: string value: title: Value type: integer required: - label - value title: Series type: object MinimalHedgehogConfig: additionalProperties: false properties: accessories: default: null title: Accessories items: $ref: '#/components/schemas/HedgehogActorAccessoryOption' type: array nullable: true color: default: null allOf: - $ref: '#/components/schemas/HedgehogActorColorOption' nullable: true skin: default: null allOf: - $ref: '#/components/schemas/HedgehogActorSkinOption' nullable: true use_as_profile: title: Use As Profile type: boolean required: - use_as_profile title: MinimalHedgehogConfig type: object ExperimentFunnelMetric: additionalProperties: false properties: breakdownFilter: default: null allOf: - $ref: '#/components/schemas/BreakdownFilter' nullable: true conversion_window: default: null title: Conversion Window type: integer nullable: true conversion_window_unit: default: null allOf: - $ref: '#/components/schemas/FunnelConversionWindowTimeUnit' nullable: true fingerprint: default: null title: Fingerprint type: string nullable: true funnel_order_type: default: null allOf: - $ref: '#/components/schemas/StepOrderValue' nullable: true goal: default: null allOf: - $ref: '#/components/schemas/ExperimentMetricGoal' nullable: true isSharedMetric: default: null title: Issharedmetric type: boolean nullable: true kind: default: ExperimentMetric title: Kind type: string enum: - ExperimentMetric metric_type: default: funnel title: Metric Type type: string enum: - funnel name: default: null title: Name type: string nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true series: items: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/ExperimentDataWarehouseNode' title: Series type: array sharedMetricId: default: null title: Sharedmetricid type: number nullable: true uuid: default: null title: Uuid type: string nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - series title: ExperimentFunnelMetric type: object HogLanguage: enum: - hog - hogJson - hogQL - hogQLExpr - hogTemplate - liquid title: HogLanguage type: string WebStatsBreakdown: enum: - Page - InitialPage - ExitPage - ExitClick - PreviousPage - ScreenName - InitialChannelType - InitialReferringDomain - InitialReferringURL - InitialUTMSource - InitialUTMCampaign - InitialUTMMedium - InitialUTMTerm - InitialUTMContent - InitialUTMSourceMediumCampaign - Browser - OS - Viewport - DeviceType - Country - Region - City - Timezone - Language - FrustrationMetrics title: WebStatsBreakdown type: string Breakdown: additionalProperties: false properties: group_type_index: default: null title: Group Type Index type: integer nullable: true histogram_bin_count: default: null title: Histogram Bin Count type: integer nullable: true normalize_url: default: null title: Normalize Url type: boolean nullable: true property: anyOf: - type: string - type: integer title: Property type: default: null allOf: - $ref: '#/components/schemas/MultipleBreakdownType' nullable: true required: - property title: Breakdown type: object IntegrationFilter: additionalProperties: false properties: integrationSourceIds: default: null description: Selected integration source IDs to filter by (e.g., table IDs or source map IDs) title: Integrationsourceids items: type: string type: array nullable: true title: IntegrationFilter type: object DateRange: additionalProperties: false properties: date_from: default: null description: 'Start of the date range. Accepts ISO 8601 timestamps (e.g., 2024-01-15T00:00:00Z) or relative formats: -7d (7 days ago), -2w (2 weeks ago), -1m (1 month ago), -1h (1 hour ago), -1mStart (start of last month), -1yStart (start of last year).' title: Date From type: string nullable: true date_to: default: null description: End of the date range. Same format as date_from. Omit or null for "now". title: Date To type: string nullable: true explicitDate: default: false description: Whether the date_from and date_to should be used verbatim. Disables rounding to the start and end of period. title: Explicitdate type: boolean nullable: true title: DateRange type: object QueryResponseAlternative78: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 nextCursor: default: null description: Cursor for fetching the next page of results title: Nextcursor type: string nullable: true offset: default: null title: Offset type: integer nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: QueryResponseAlternative78 type: object ExperimentFunnelsQuery: additionalProperties: false properties: experiment_id: default: null title: Experiment Id type: integer nullable: true fingerprint: default: null title: Fingerprint type: string nullable: true funnels_query: $ref: '#/components/schemas/FunnelsQuery' kind: default: ExperimentFunnelsQuery title: Kind type: string enum: - ExperimentFunnelsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true name: default: null title: Name type: string nullable: true response: default: null allOf: - $ref: '#/components/schemas/ExperimentFunnelsQueryResponse' nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true uuid: default: null title: Uuid type: string nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - funnels_query title: ExperimentFunnelsQuery type: object QueryResponseAlternative87: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/UsageMetric' title: Results 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: - results title: QueryResponseAlternative87 type: object BreakdownItem: additionalProperties: false properties: label: title: Label type: string value: anyOf: - type: string - type: integer title: Value required: - label - value title: BreakdownItem type: object FunnelsActorsQuery: additionalProperties: false properties: funnelStep: default: null description: Index of the step for which we want to get the timestamp for, per person. Positive for converted persons, negative for dropped of persons. title: Funnelstep type: integer nullable: true funnelStepBreakdown: default: null description: The breakdown value for which to get persons for. This is an array for person and event properties, a string for groups and an integer for cohorts. title: Funnelstepbreakdown anyOf: - type: integer - type: string - type: number - items: anyOf: - type: integer - type: string - type: number type: array nullable: true funnelTrendsDropOff: default: null title: Funneltrendsdropoff type: boolean nullable: true funnelTrendsEntrancePeriodStart: default: null description: Used together with `funnelTrendsDropOff` for funnels time conversion date for the persons modal. title: Funneltrendsentranceperiodstart type: string nullable: true includeRecordings: default: null title: Includerecordings type: boolean nullable: true kind: default: FunnelsActorsQuery title: Kind type: string enum: - FunnelsActorsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ActorsQueryResponse' nullable: true source: $ref: '#/components/schemas/FunnelsQuery' 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: - source title: FunnelsActorsQuery type: object RecordingsQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true has_next: title: Has Next type: boolean hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true next_cursor: default: null description: Cursor for the next page. Contains the ordering value and session_id from the last record. title: Next Cursor type: string nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/SessionRecordingType' title: Results 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: - has_next - results title: RecordingsQueryResponse type: object Response4: additionalProperties: false properties: dateFrom: default: null title: Datefrom type: string nullable: true dateTo: default: null title: Dateto type: string nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebOverviewItem' title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: Response4 type: object VectorSearchResponseItem: additionalProperties: false properties: distance: title: Distance type: number id: title: Id type: string required: - distance - id title: VectorSearchResponseItem type: object MarketingAnalyticsItem: additionalProperties: false properties: changeFromPreviousPct: default: null title: Changefrompreviouspct type: number nullable: true hasComparison: default: null title: Hascomparison type: boolean nullable: true isIncreaseBad: default: null title: Isincreasebad type: boolean nullable: true key: title: Key type: string kind: $ref: '#/components/schemas/WebAnalyticsItemKind' previous: default: null title: Previous anyOf: - type: number - type: string nullable: true value: default: null title: Value anyOf: - type: number - type: string nullable: true required: - key - kind title: MarketingAnalyticsItem type: object PrecomputationMode: enum: - precomputed - direct title: PrecomputationMode type: string EventTaxonomyQuery: additionalProperties: false properties: actionId: default: null title: Actionid type: integer nullable: true event: default: null title: Event type: string nullable: true kind: default: EventTaxonomyQuery title: Kind type: string enum: - EventTaxonomyQuery limit: default: null description: Number of rows to return title: Limit type: integer nullable: true maxPropertyValues: default: null title: Maxpropertyvalues type: integer nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: default: null description: Number of rows to skip before returning rows title: Offset type: integer nullable: true properties: default: null title: Properties items: type: string type: array nullable: true response: default: null allOf: - $ref: '#/components/schemas/EventTaxonomyQueryResponse' 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 title: EventTaxonomyQuery type: object AggregationAxisFormat: enum: - numeric - duration - duration_ms - percentage - percentage_scaled - currency - short title: AggregationAxisFormat type: string Settings: additionalProperties: false properties: display: default: null allOf: - $ref: '#/components/schemas/ChartSettingsDisplay' nullable: true formatting: default: null allOf: - $ref: '#/components/schemas/ChartSettingsFormatting' nullable: true title: Settings type: object QueryResponseAlternative9: 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 title: QueryResponseAlternative9 type: object QueryResponseAlternative85: additionalProperties: false properties: newerTimestamp: default: null description: Timestamp of the newer trace title: Newertimestamp type: string nullable: true newerTraceId: default: null description: ID of the newer trace (chronologically after current) title: Newertraceid type: string nullable: true olderTimestamp: default: null description: Timestamp of the older trace title: Oldertimestamp type: string nullable: true olderTraceId: default: null description: ID of the older trace (chronologically before current) title: Oldertraceid type: string nullable: true 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 title: QueryResponseAlternative85 type: object BreakdownType: enum: - cohort - person - event - event_metadata - group - session - hogql - data_warehouse - data_warehouse_person_property - revenue_analytics title: BreakdownType type: string TrendsFormulaNode: additionalProperties: false properties: custom_name: default: null description: Optional user-defined name for the formula title: Custom Name type: string nullable: true formula: title: Formula type: string required: - formula title: TrendsFormulaNode type: object 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 title: HogQLAutocompleteResponse type: object 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 title: HogQLMetadataResponse type: object OrderDirection2: enum: - ASC - DESC title: OrderDirection2 type: string TraceQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LLMTrace' title: Results 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: - results title: TraceQueryResponse type: object ExperimentMeanMetric: additionalProperties: false properties: breakdownFilter: default: null allOf: - $ref: '#/components/schemas/BreakdownFilter' nullable: true conversion_window: default: null title: Conversion Window type: integer nullable: true conversion_window_unit: default: null allOf: - $ref: '#/components/schemas/FunnelConversionWindowTimeUnit' nullable: true fingerprint: default: null title: Fingerprint type: string nullable: true goal: default: null allOf: - $ref: '#/components/schemas/ExperimentMetricGoal' nullable: true ignore_zeros: default: null title: Ignore Zeros type: boolean nullable: true isSharedMetric: default: null title: Issharedmetric type: boolean nullable: true kind: default: ExperimentMetric title: Kind type: string enum: - ExperimentMetric lower_bound_percentile: default: null title: Lower Bound Percentile type: number nullable: true metric_type: default: mean title: Metric Type type: string enum: - mean name: default: null title: Name type: string nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true sharedMetricId: default: null title: Sharedmetricid type: number nullable: true source: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/ExperimentDataWarehouseNode' title: Source upper_bound_percentile: default: null title: Upper Bound Percentile type: number nullable: true uuid: default: null title: Uuid type: string nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - source title: ExperimentMeanMetric type: object QueryResponseAlternative16: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: additionalProperties: $ref: '#/components/schemas/Results' title: Results type: object 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: - results title: QueryResponseAlternative16 type: object RecordingsQuery: additionalProperties: false properties: actions: default: null title: Actions items: additionalProperties: true type: object type: array nullable: true after: default: null description: Cursor for pagination. Contains the ordering value and session_id from the last record of the previous page. title: After type: string nullable: true comment_text: default: null allOf: - $ref: '#/components/schemas/RecordingPropertyFilter' nullable: true console_log_filters: default: null title: Console Log Filters items: $ref: '#/components/schemas/LogEntryPropertyFilter' type: array nullable: true date_from: default: -3d title: Date From type: string nullable: true date_to: default: null title: Date To type: string nullable: true distinct_ids: default: null title: Distinct Ids items: type: string type: array nullable: true events: default: null title: Events items: additionalProperties: true type: object type: array nullable: true filter_test_accounts: default: null title: Filter Test Accounts type: boolean nullable: true having_predicates: default: null title: Having Predicates items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true kind: default: RecordingsQuery title: Kind type: string enum: - RecordingsQuery 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 operand: default: AND allOf: - $ref: '#/components/schemas/FilterLogicalOperator' nullable: true order: default: start_time allOf: - $ref: '#/components/schemas/RecordingOrder' nullable: true order_direction: default: DESC description: Replay originally had all ordering as descending by specifying the field name, this runs counter to Django behavior where the field name specifies ascending sorting (e.g. the_field_name) and -the_field_name would indicate descending order to avoid invalidating or migrating all existing filters we keep DESC as the default or allow specification of an explicit order direction here allOf: - $ref: '#/components/schemas/RecordingOrderDirection' nullable: true person_uuid: default: null title: Person Uuid type: string nullable: true properties: default: null title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null allOf: - $ref: '#/components/schemas/RecordingsQueryResponse' nullable: true session_ids: default: null title: Session Ids items: type: string type: array nullable: true session_recording_id: default: null description: If provided, this recording will be fetched and prepended to the results, even if it doesn't match the filters title: Session Recording Id type: string nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true user_modified_filters: default: null title: User Modified Filters additionalProperties: true type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true title: RecordingsQuery type: object ExperimentMetricMathType: enum: - total - sum - unique_session - min - max - avg - dau - unique_group - hogql title: ExperimentMetricMathType type: string HogQLNotice: additionalProperties: false properties: end: default: null title: End type: integer nullable: true fix: default: null title: Fix type: string nullable: true message: title: Message type: string start: default: null title: Start type: integer nullable: true required: - message title: HogQLNotice type: object SampleRatioMismatch: additionalProperties: false properties: expected: additionalProperties: type: number title: Expected type: object p_value: title: P Value type: number required: - expected - p_value title: SampleRatioMismatch type: object Response23: additionalProperties: false properties: credible_intervals: additionalProperties: items: type: number type: array title: Credible Intervals type: object expected_loss: title: Expected Loss type: number funnels_query: default: null allOf: - $ref: '#/components/schemas/FunnelsQuery' nullable: true insight: items: items: additionalProperties: true type: object type: array title: Insight type: array kind: default: ExperimentFunnelsQuery title: Kind type: string enum: - ExperimentFunnelsQuery probability: additionalProperties: type: number title: Probability type: object significance_code: $ref: '#/components/schemas/ExperimentSignificanceCode' significant: title: Significant type: boolean stats_version: default: null title: Stats Version type: integer nullable: true variants: items: $ref: '#/components/schemas/ExperimentVariantFunnelsBaseStats' title: Variants type: array required: - credible_intervals - expected_loss - insight - probability - significance_code - significant - variants title: Response23 type: object DataTableNodeViewPropsContextType: enum: - event_definition - team_columns title: DataTableNodeViewPropsContextType type: string SamplingRate: additionalProperties: false properties: denominator: default: null title: Denominator type: number nullable: true numerator: title: Numerator type: number required: - numerator title: SamplingRate type: object MathGroupTypeIndex: enum: - 0.0 - 1.0 - 2.0 - 3.0 - 4.0 title: MathGroupTypeIndex type: number FunnelCorrelationActorsQuery: additionalProperties: false properties: funnelCorrelationPersonConverted: default: null title: Funnelcorrelationpersonconverted type: boolean nullable: true funnelCorrelationPersonEntity: default: null title: Funnelcorrelationpersonentity anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/DataWarehouseNode' nullable: true funnelCorrelationPropertyValues: default: null title: Funnelcorrelationpropertyvalues items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true includeRecordings: default: null title: Includerecordings type: boolean nullable: true kind: default: FunnelCorrelationActorsQuery title: Kind type: string enum: - FunnelCorrelationActorsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true response: default: null allOf: - $ref: '#/components/schemas/ActorsQueryResponse' nullable: true source: $ref: '#/components/schemas/FunnelCorrelationQuery' 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: - source title: FunnelCorrelationActorsQuery type: object GroupsQuery: additionalProperties: false properties: group_type_index: title: Group Type Index type: integer kind: default: GroupsQuery title: Kind type: string enum: - GroupsQuery 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: default: null title: Orderby items: type: string type: array nullable: true properties: default: null title: Properties items: anyOf: - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' type: array nullable: true response: default: null allOf: - $ref: '#/components/schemas/GroupsQueryResponse' nullable: true search: default: null title: Search type: string nullable: true select: default: null title: Select items: type: string type: array 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: - group_type_index title: GroupsQuery type: object QueryResponseAlternative22: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/EmbeddingDistance' title: Results 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: - results title: QueryResponseAlternative22 type: object QueryResponseAlternative79: additionalProperties: false properties: questions: items: type: string title: Questions type: array required: - questions title: QueryResponseAlternative79 type: object QueryUpgradeResponse: additionalProperties: false properties: query: discriminator: mapping: ActionsNode: '#/components/schemas/ActionsNode' ActorsPropertyTaxonomyQuery: '#/components/schemas/ActorsPropertyTaxonomyQuery' ActorsQuery: '#/components/schemas/ActorsQuery' DataTableNode: '#/components/schemas/DataTableNode' DataVisualizationNode: '#/components/schemas/DataVisualizationNode' DataWarehouseNode: '#/components/schemas/DataWarehouseNode' DatabaseSchemaQuery: '#/components/schemas/DatabaseSchemaQuery' DocumentSimilarityQuery: '#/components/schemas/DocumentSimilarityQuery' EndpointsUsageOverviewQuery: '#/components/schemas/EndpointsUsageOverviewQuery' EndpointsUsageTableQuery: '#/components/schemas/EndpointsUsageTableQuery' EndpointsUsageTrendsQuery: '#/components/schemas/EndpointsUsageTrendsQuery' ErrorTrackingBreakdownsQuery: '#/components/schemas/ErrorTrackingBreakdownsQuery' ErrorTrackingIssueCorrelationQuery: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' ErrorTrackingQuery: '#/components/schemas/ErrorTrackingQuery' ErrorTrackingSimilarIssuesQuery: '#/components/schemas/ErrorTrackingSimilarIssuesQuery' EventTaxonomyQuery: '#/components/schemas/EventTaxonomyQuery' EventsNode: '#/components/schemas/EventsNode' EventsQuery: '#/components/schemas/EventsQuery' ExperimentExposureQuery: '#/components/schemas/ExperimentExposureQuery' ExperimentFunnelsQuery: '#/components/schemas/ExperimentFunnelsQuery' ExperimentQuery: '#/components/schemas/ExperimentQuery' ExperimentTrendsQuery: '#/components/schemas/ExperimentTrendsQuery' FunnelCorrelationQuery: '#/components/schemas/FunnelCorrelationQuery' FunnelsDataWarehouseNode: '#/components/schemas/FunnelsDataWarehouseNode' FunnelsQuery: '#/components/schemas/FunnelsQuery' GroupsQuery: '#/components/schemas/GroupsQuery' HogQLAutocomplete: '#/components/schemas/HogQLAutocomplete' HogQLMetadata: '#/components/schemas/HogQLMetadata' HogQLQuery: '#/components/schemas/HogQLQuery' HogQuery: '#/components/schemas/HogQuery' InsightActorsQuery: '#/components/schemas/InsightActorsQuery' InsightActorsQueryOptions: '#/components/schemas/InsightActorsQueryOptions' InsightVizNode: '#/components/schemas/InsightVizNode' LifecycleDataWarehouseNode: '#/components/schemas/LifecycleDataWarehouseNode' LifecycleQuery: '#/components/schemas/LifecycleQuery' LogAttributesQuery: '#/components/schemas/LogAttributesQuery' LogValuesQuery: '#/components/schemas/LogValuesQuery' LogsQuery: '#/components/schemas/LogsQuery' MarketingAnalyticsAggregatedQuery: '#/components/schemas/MarketingAnalyticsAggregatedQuery' MarketingAnalyticsTableQuery: '#/components/schemas/MarketingAnalyticsTableQuery' NonIntegratedConversionsTableQuery: '#/components/schemas/NonIntegratedConversionsTableQuery' PathsQuery: '#/components/schemas/PathsQuery' PersonsNode: '#/components/schemas/PersonsNode' PropertyValuesQuery: '#/components/schemas/PropertyValuesQuery' RecordingsQuery: '#/components/schemas/RecordingsQuery' RetentionQuery: '#/components/schemas/RetentionQuery' RevenueAnalyticsGrossRevenueQuery: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' RevenueAnalyticsMRRQuery: '#/components/schemas/RevenueAnalyticsMRRQuery' RevenueAnalyticsMetricsQuery: '#/components/schemas/RevenueAnalyticsMetricsQuery' RevenueAnalyticsOverviewQuery: '#/components/schemas/RevenueAnalyticsOverviewQuery' RevenueAnalyticsTopCustomersQuery: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' RevenueExampleDataWarehouseTablesQuery: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' RevenueExampleEventsQuery: '#/components/schemas/RevenueExampleEventsQuery' SavedInsightNode: '#/components/schemas/SavedInsightNode' SessionAttributionExplorerQuery: '#/components/schemas/SessionAttributionExplorerQuery' SessionsQuery: '#/components/schemas/SessionsQuery' SessionsTimelineQuery: '#/components/schemas/SessionsTimelineQuery' StickinessQuery: '#/components/schemas/StickinessQuery' SuggestedQuestionsQuery: '#/components/schemas/SuggestedQuestionsQuery' TeamTaxonomyQuery: '#/components/schemas/TeamTaxonomyQuery' TraceNeighborsQuery: '#/components/schemas/TraceNeighborsQuery' TraceQuery: '#/components/schemas/TraceQuery' TraceSpansQuery: '#/components/schemas/TraceSpansQuery' TracesQuery: '#/components/schemas/TracesQuery' TrendsQuery: '#/components/schemas/TrendsQuery' UsageMetricsQuery: '#/components/schemas/UsageMetricsQuery' VectorSearchQuery: '#/components/schemas/VectorSearchQuery' WebAnalyticsExternalSummaryQuery: '#/components/schemas/WebAnalyticsExternalSummaryQuery' WebExternalClicksTableQuery: '#/components/schemas/WebExternalClicksTableQuery' WebGoalsQuery: '#/components/schemas/WebGoalsQuery' WebNotableChangesQuery: '#/components/schemas/WebNotableChangesQuery' WebOverviewQuery: '#/components/schemas/WebOverviewQuery' WebPageURLSearchQuery: '#/components/schemas/WebPageURLSearchQuery' WebStatsTableQuery: '#/components/schemas/WebStatsTableQuery' WebVitalsPathBreakdownQuery: '#/components/schemas/WebVitalsPathBreakdownQuery' WebVitalsQuery: '#/components/schemas/WebVitalsQuery' propertyName: kind oneOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/PersonsNode' - $ref: '#/components/schemas/DataWarehouseNode' - $ref: '#/components/schemas/FunnelsDataWarehouseNode' - $ref: '#/components/schemas/LifecycleDataWarehouseNode' - $ref: '#/components/schemas/EventsQuery' - $ref: '#/components/schemas/SessionsQuery' - $ref: '#/components/schemas/ActorsQuery' - $ref: '#/components/schemas/GroupsQuery' - $ref: '#/components/schemas/InsightActorsQuery' - $ref: '#/components/schemas/InsightActorsQueryOptions' - $ref: '#/components/schemas/SessionsTimelineQuery' - $ref: '#/components/schemas/HogQuery' - $ref: '#/components/schemas/HogQLQuery' - $ref: '#/components/schemas/HogQLMetadata' - $ref: '#/components/schemas/HogQLAutocomplete' - $ref: '#/components/schemas/SessionAttributionExplorerQuery' - $ref: '#/components/schemas/RevenueExampleEventsQuery' - $ref: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' - $ref: '#/components/schemas/ErrorTrackingQuery' - $ref: '#/components/schemas/ErrorTrackingSimilarIssuesQuery' - $ref: '#/components/schemas/ErrorTrackingBreakdownsQuery' - $ref: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' - $ref: '#/components/schemas/ExperimentFunnelsQuery' - $ref: '#/components/schemas/ExperimentTrendsQuery' - $ref: '#/components/schemas/ExperimentQuery' - $ref: '#/components/schemas/ExperimentExposureQuery' - $ref: '#/components/schemas/DocumentSimilarityQuery' - $ref: '#/components/schemas/WebOverviewQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebExternalClicksTableQuery' - $ref: '#/components/schemas/WebGoalsQuery' - $ref: '#/components/schemas/WebVitalsQuery' - $ref: '#/components/schemas/WebVitalsPathBreakdownQuery' - $ref: '#/components/schemas/WebPageURLSearchQuery' - $ref: '#/components/schemas/WebAnalyticsExternalSummaryQuery' - $ref: '#/components/schemas/WebNotableChangesQuery' - $ref: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' - $ref: '#/components/schemas/RevenueAnalyticsMetricsQuery' - $ref: '#/components/schemas/RevenueAnalyticsMRRQuery' - $ref: '#/components/schemas/RevenueAnalyticsOverviewQuery' - $ref: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' - $ref: '#/components/schemas/MarketingAnalyticsTableQuery' - $ref: '#/components/schemas/MarketingAnalyticsAggregatedQuery' - $ref: '#/components/schemas/NonIntegratedConversionsTableQuery' - $ref: '#/components/schemas/DataVisualizationNode' - $ref: '#/components/schemas/DataTableNode' - $ref: '#/components/schemas/SavedInsightNode' - $ref: '#/components/schemas/InsightVizNode' - $ref: '#/components/schemas/TrendsQuery' - $ref: '#/components/schemas/FunnelsQuery' - $ref: '#/components/schemas/RetentionQuery' - $ref: '#/components/schemas/PathsQuery' - $ref: '#/components/schemas/StickinessQuery' - $ref: '#/components/schemas/LifecycleQuery' - $ref: '#/components/schemas/FunnelCorrelationQuery' - $ref: '#/components/schemas/DatabaseSchemaQuery' - $ref: '#/components/schemas/RecordingsQuery' - $ref: '#/components/schemas/LogsQuery' - $ref: '#/components/schemas/LogAttributesQuery' - $ref: '#/components/schemas/LogValuesQuery' - $ref: '#/components/schemas/TraceSpansQuery' - $ref: '#/components/schemas/SuggestedQuestionsQuery' - $ref: '#/components/schemas/TeamTaxonomyQuery' - $ref: '#/components/schemas/EventTaxonomyQuery' - $ref: '#/components/schemas/ActorsPropertyTaxonomyQuery' - $ref: '#/components/schemas/TracesQuery' - $ref: '#/components/schemas/TraceQuery' - $ref: '#/components/schemas/TraceNeighborsQuery' - $ref: '#/components/schemas/VectorSearchQuery' - $ref: '#/components/schemas/UsageMetricsQuery' - $ref: '#/components/schemas/EndpointsUsageOverviewQuery' - $ref: '#/components/schemas/EndpointsUsageTableQuery' - $ref: '#/components/schemas/EndpointsUsageTrendsQuery' - $ref: '#/components/schemas/PropertyValuesQuery' title: Query required: - query title: QueryUpgradeResponse type: object DatabaseSchemaQueryResponse: additionalProperties: false properties: joins: items: $ref: '#/components/schemas/DataWarehouseViewLink' title: Joins type: array tables: additionalProperties: anyOf: - $ref: '#/components/schemas/DatabaseSchemaPostHogTable' - $ref: '#/components/schemas/DatabaseSchemaSystemTable' - $ref: '#/components/schemas/DatabaseSchemaDataWarehouseTable' - $ref: '#/components/schemas/DatabaseSchemaViewTable' - $ref: '#/components/schemas/DatabaseSchemaManagedViewTable' - $ref: '#/components/schemas/DatabaseSchemaBatchExportTable' - $ref: '#/components/schemas/DatabaseSchemaMaterializedViewTable' - $ref: '#/components/schemas/DatabaseSchemaEndpointTable' title: Tables type: object required: - joins - tables title: DatabaseSchemaQueryResponse type: object GroupPropertyFilter: additionalProperties: false properties: group_key_names: default: null title: Group Key Names additionalProperties: type: string type: object nullable: true group_type_index: default: null title: Group Type Index type: integer nullable: true key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: group title: Type type: string enum: - group value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: GroupPropertyFilter type: object StartHandling: enum: - first_seen - last_seen title: StartHandling type: string QueryResponseAlternative34: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RevenueAnalyticsOverviewItem' title: Results 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: - results title: QueryResponseAlternative34 type: object QueryResponseAlternative23: additionalProperties: false properties: dateFrom: default: null title: Datefrom type: string nullable: true dateTo: default: null title: Dateto type: string nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebOverviewItem' title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: QueryResponseAlternative23 type: object DatabaseSchemaManagedViewTable: additionalProperties: false properties: fields: additionalProperties: $ref: '#/components/schemas/DatabaseSchemaField' title: Fields type: object id: title: Id type: string kind: $ref: '#/components/schemas/DatabaseSchemaManagedViewTableKind' name: title: Name type: string query: $ref: '#/components/schemas/HogQLQuery' row_count: default: null title: Row Count type: number nullable: true source_id: default: null title: Source Id type: string nullable: true type: default: managed_view title: Type type: string enum: - managed_view required: - fields - id - kind - name - query title: DatabaseSchemaManagedViewTable type: object PropertyValuesQuery: additionalProperties: false properties: event_names: default: null title: Event Names items: type: string type: array nullable: true is_column: default: null title: Is Column type: boolean nullable: true kind: default: PropertyValuesQuery title: Kind type: string enum: - PropertyValuesQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true property_key: title: Property Key type: string property_type: $ref: '#/components/schemas/PropertyType' response: default: null allOf: - $ref: '#/components/schemas/PropertyValuesQueryResponse' nullable: true search_value: default: null title: Search Value type: string 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: - property_key - property_type title: PropertyValuesQuery type: object VizSpecificOptions: additionalProperties: false properties: ActionsPie: default: null allOf: - $ref: '#/components/schemas/ActionsPie' nullable: true RETENTION: default: null allOf: - $ref: '#/components/schemas/RETENTION' nullable: true title: VizSpecificOptions type: object QueryResponseAlternative32: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: QueryResponseAlternative32 type: object SessionRecordingExternalReference: additionalProperties: false properties: external_url: title: External Url type: string id: title: Id type: string integration: $ref: '#/components/schemas/Integration' issue_id: title: Issue Id type: string metadata: default: null title: Metadata additionalProperties: type: string type: object nullable: true title: title: Title type: string required: - external_url - id - integration - issue_id - title title: SessionRecordingExternalReference type: object HeatmapSettings: additionalProperties: false properties: gradient: default: null title: Gradient items: $ref: '#/components/schemas/HeatmapGradientStop' type: array nullable: true gradientPreset: default: null title: Gradientpreset type: string nullable: true gradientScaleMode: default: null allOf: - $ref: '#/components/schemas/GradientScaleMode' nullable: true nullLabel: default: null title: Nulllabel type: string nullable: true nullValue: default: null title: Nullvalue type: string nullable: true sortColumn: default: null title: Sortcolumn type: string nullable: true sortOrder: default: null allOf: - $ref: '#/components/schemas/HeatmapSortOrder' nullable: true valueColumn: default: null title: Valuecolumn type: string nullable: true xAxisColumn: default: null title: Xaxiscolumn type: string nullable: true xAxisLabel: default: null title: Xaxislabel type: string nullable: true yAxisColumn: default: null title: Yaxiscolumn type: string nullable: true yAxisLabel: default: null title: Yaxislabel type: string nullable: true title: HeatmapSettings type: object TableSettings: additionalProperties: false properties: columns: default: null title: Columns items: $ref: '#/components/schemas/ChartAxis' type: array nullable: true conditionalFormatting: default: null title: Conditionalformatting items: $ref: '#/components/schemas/ConditionalFormattingRule' type: array nullable: true pinnedColumns: default: null title: Pinnedcolumns items: type: string type: array nullable: true transpose: default: null title: Transpose type: boolean nullable: true title: TableSettings type: object FunnelsQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation title: Aggregation Group Type Index type: integer nullable: true breakdownFilter: default: null description: Breakdown of the events and actions allOf: - $ref: '#/components/schemas/BreakdownFilter' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization title: Datacolortheme type: number nullable: true dateRange: default: null description: Date range for the query allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: false description: Exclude internal and test users by applying the respective filters title: Filtertestaccounts type: boolean nullable: true funnelsFilter: default: null description: Properties specific to the funnels insight allOf: - $ref: '#/components/schemas/FunnelsFilter' nullable: true interval: default: null description: Granularity of the response. Can be one of `hour`, `day`, `week` or `month` allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: FunnelsQuery title: Kind type: string enum: - FunnelsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: default: [] description: Property filters for all series title: Properties anyOf: - items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true response: default: null allOf: - $ref: '#/components/schemas/FunnelsQueryResponse' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true series: description: Events and actions to include items: anyOf: - $ref: '#/components/schemas/GroupNode' - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/FunnelsDataWarehouseNode' title: Series type: array tags: default: null description: Tags that will be added to the Query log comment 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: - series title: FunnelsQuery type: object QueryResponseAlternative89: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative89 type: object QueryResponseAlternative24: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: QueryResponseAlternative24 type: object QueryResponseAlternative86: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/VectorSearchResponseItem' title: Results 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: - results title: QueryResponseAlternative86 type: object QueryResponseAlternative14: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/ErrorTrackingIssue' title: Results 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: - results title: QueryResponseAlternative14 type: object QueryResponseAlternative64: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/LLMTrace' title: Results 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: - results title: QueryResponseAlternative64 type: object ChartSettings: additionalProperties: false properties: goalLines: default: null title: Goallines items: $ref: '#/components/schemas/GoalLine' type: array nullable: true heatmap: default: null allOf: - $ref: '#/components/schemas/HeatmapSettings' nullable: true leftYAxisSettings: default: null allOf: - $ref: '#/components/schemas/YAxisSettings' nullable: true rightYAxisSettings: default: null allOf: - $ref: '#/components/schemas/YAxisSettings' nullable: true seriesBreakdownColumn: default: null title: Seriesbreakdowncolumn type: string nullable: true showLegend: default: null title: Showlegend type: boolean nullable: true showNullsAsZero: default: null title: Shownullsaszero type: boolean nullable: true showPieTotal: default: null title: Showpietotal type: boolean nullable: true showTotalRow: default: null title: Showtotalrow type: boolean nullable: true showValuesOnSeries: default: null title: Showvaluesonseries type: boolean nullable: true showXAxisBorder: default: null title: Showxaxisborder type: boolean nullable: true showXAxisTicks: default: null title: Showxaxisticks type: boolean nullable: true showYAxisBorder: default: null title: Showyaxisborder type: boolean nullable: true stackBars100: default: null description: Whether we fill the bars to 100% in stacked mode title: Stackbars100 type: boolean nullable: true xAxis: default: null allOf: - $ref: '#/components/schemas/ChartAxis' nullable: true yAxis: default: null title: Yaxis items: $ref: '#/components/schemas/ChartAxis' type: array nullable: true yAxisAtZero: default: null description: 'Deprecated: use `[left|right]YAxisSettings`. Whether the Y axis should start at zero' title: Yaxisatzero type: boolean nullable: true title: ChartSettings type: object AggregationPropertyType: enum: - event - person title: AggregationPropertyType type: string WebAnalyticsItemKind: enum: - unit - duration_s - percentage - currency title: WebAnalyticsItemKind type: string Response14: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RevenueAnalyticsOverviewItem' title: Results 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: - results title: Response14 type: object RevenueAnalyticsMetricsQuery: additionalProperties: false properties: breakdown: items: $ref: '#/components/schemas/RevenueAnalyticsBreakdown' title: Breakdown type: array dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true interval: $ref: '#/components/schemas/SimpleIntervalType' kind: default: RevenueAnalyticsMetricsQuery title: Kind type: string enum: - RevenueAnalyticsMetricsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: type: array items: $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/RevenueAnalyticsMetricsQueryResponse' 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: - breakdown - interval - properties title: RevenueAnalyticsMetricsQuery type: object ResultCustomizationByPosition: additionalProperties: false properties: assignmentBy: default: position title: Assignmentby type: string enum: - position color: default: null allOf: - $ref: '#/components/schemas/DataColorToken' nullable: true hidden: default: null title: Hidden type: boolean nullable: true title: ResultCustomizationByPosition type: object MarketingAnalyticsAggregatedQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: additionalProperties: $ref: '#/components/schemas/MarketingAnalyticsItem' title: Results type: object samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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: - results title: MarketingAnalyticsAggregatedQueryResponse type: object WebVitalsQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: WebVitalsQuery title: Kind type: string enum: - WebVitalsQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true orderBy: default: null title: Orderby items: anyOf: - $ref: '#/components/schemas/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebGoalsQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true source: discriminator: mapping: FunnelsQuery: '#/components/schemas/FunnelsQuery' LifecycleQuery: '#/components/schemas/LifecycleQuery' PathsQuery: '#/components/schemas/PathsQuery' RetentionQuery: '#/components/schemas/RetentionQuery' StickinessQuery: '#/components/schemas/StickinessQuery' TrendsQuery: '#/components/schemas/TrendsQuery' WebOverviewQuery: '#/components/schemas/WebOverviewQuery' WebStatsTableQuery: '#/components/schemas/WebStatsTableQuery' propertyName: kind oneOf: - $ref: '#/components/schemas/TrendsQuery' - $ref: '#/components/schemas/FunnelsQuery' - $ref: '#/components/schemas/RetentionQuery' - $ref: '#/components/schemas/PathsQuery' - $ref: '#/components/schemas/StickinessQuery' - $ref: '#/components/schemas/LifecycleQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebOverviewQuery' title: Source tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties - source title: WebVitalsQuery type: object FunnelsDataWarehouseNode: additionalProperties: false properties: aggregation_target_field: title: Aggregation Target Field type: string custom_name: default: null title: Custom Name type: string nullable: true dw_source_type: default: null title: Dw Source Type type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true id: title: Id type: string id_field: title: Id Field type: string kind: default: FunnelsDataWarehouseNode title: Kind type: string enum: - FunnelsDataWarehouseNode math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true table_name: title: Table Name type: string timestamp_field: title: Timestamp Field type: string version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - aggregation_target_field - id - id_field - table_name - timestamp_field title: FunnelsDataWarehouseNode type: object QueryResponseAlternative17: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/ErrorTrackingCorrelatedIssue' title: Results 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: - results title: QueryResponseAlternative17 type: object Metrics: additionalProperties: false properties: Bounces: default: null title: Bounces type: number nullable: true PageViews: default: null title: Pageviews type: number nullable: true SessionDuration: default: null title: Sessionduration type: number nullable: true Sessions: default: null title: Sessions type: number nullable: true TotalSessions: default: null title: Totalsessions type: number nullable: true UniqueUsers: default: null title: Uniqueusers type: number nullable: true title: Metrics type: object RevenueAnalyticsMetricsQueryResponse: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: RevenueAnalyticsMetricsQueryResponse type: object DatabaseSchemaBatchExportTable: additionalProperties: false properties: fields: additionalProperties: $ref: '#/components/schemas/DatabaseSchemaField' title: Fields type: object id: title: Id type: string name: title: Name type: string row_count: default: null title: Row Count type: number nullable: true type: default: batch_export title: Type type: string enum: - batch_export required: - fields - id - name title: DatabaseSchemaBatchExportTable type: object WebAnalyticsOrderByDirection: enum: - ASC - DESC title: WebAnalyticsOrderByDirection type: string WebAnalyticsOrderByFields: enum: - Visitors - Views - AvgTimeOnPage - Clicks - BounceRate - AverageScrollPercentage - ScrollGt80Percentage - TotalConversions - UniqueConversions - ConversionRate - ConvertingUsers - RageClicks - DeadClicks - Errors title: WebAnalyticsOrderByFields type: string PropertyValuesQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/PropertyValueItem' title: Results 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: - results title: PropertyValuesQueryResponse type: object CustomEventConversionGoal: additionalProperties: false properties: customEventName: title: Customeventname type: string required: - customEventName title: CustomEventConversionGoal type: object QueryResponseAlternative54: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: QueryResponseAlternative54 type: object FilterLogicalOperator: enum: - AND - OR title: FilterLogicalOperator type: string FunnelExclusionEventsNode: additionalProperties: false properties: custom_name: default: null title: Custom Name type: string nullable: true event: default: null description: The event or `null` for all events. title: Event type: string nullable: true fixedProperties: default: null description: Fixed properties in the query, can't be edited in the interface (e.g. scoping down by person) title: Fixedproperties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true funnelFromStep: title: Funnelfromstep type: integer funnelToStep: title: Funneltostep type: integer kind: default: EventsNode title: Kind type: string enum: - EventsNode limit: default: null title: Limit type: integer nullable: true math: default: null title: Math anyOf: - $ref: '#/components/schemas/BaseMathType' - $ref: '#/components/schemas/FunnelMathType' - $ref: '#/components/schemas/PropertyMathType' - $ref: '#/components/schemas/CountPerActorMathType' - $ref: '#/components/schemas/ExperimentMetricMathType' - $ref: '#/components/schemas/CalendarHeatmapMathType' - type: string enum: - unique_group - type: string enum: - hogql nullable: true math_group_type_index: default: null allOf: - $ref: '#/components/schemas/MathGroupTypeIndex' nullable: true math_hogql: default: null title: Math Hogql type: string nullable: true math_multiplier: default: null title: Math Multiplier type: number nullable: true math_property: default: null title: Math Property type: string nullable: true math_property_revenue_currency: default: null allOf: - $ref: '#/components/schemas/RevenueCurrencyPropertyConfig' nullable: true math_property_type: default: null title: Math Property Type type: string nullable: true name: default: null title: Name type: string nullable: true optionalInFunnel: default: null title: Optionalinfunnel type: boolean nullable: true orderBy: default: null description: Columns to order by title: Orderby items: type: string type: array nullable: true properties: default: null description: Properties configurable in the interface title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - funnelFromStep - funnelToStep title: FunnelExclusionEventsNode type: object QueryResponseAlternative70: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: additionalProperties: true type: object title: Results 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: - results title: QueryResponseAlternative70 type: object ErrorTrackingIssueStatus: enum: - archived - active - resolved - pending_release - suppressed title: ErrorTrackingIssueStatus type: string ExperimentRatioMetric: additionalProperties: false properties: breakdownFilter: default: null allOf: - $ref: '#/components/schemas/BreakdownFilter' nullable: true conversion_window: default: null title: Conversion Window type: integer nullable: true conversion_window_unit: default: null allOf: - $ref: '#/components/schemas/FunnelConversionWindowTimeUnit' nullable: true denominator: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/ExperimentDataWarehouseNode' title: Denominator fingerprint: default: null title: Fingerprint type: string nullable: true goal: default: null allOf: - $ref: '#/components/schemas/ExperimentMetricGoal' nullable: true isSharedMetric: default: null title: Issharedmetric type: boolean nullable: true kind: default: ExperimentMetric title: Kind type: string enum: - ExperimentMetric metric_type: default: ratio title: Metric Type type: string enum: - ratio name: default: null title: Name type: string nullable: true numerator: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/ExperimentDataWarehouseNode' title: Numerator response: default: null title: Response additionalProperties: true type: object nullable: true sharedMetricId: default: null title: Sharedmetricid type: number nullable: true uuid: default: null title: Uuid type: string nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - denominator - numerator title: ExperimentRatioMetric type: object UserBasicType: additionalProperties: false properties: distinct_id: title: Distinct Id type: string email: title: Email type: string first_name: title: First Name type: string hedgehog_config: default: null allOf: - $ref: '#/components/schemas/MinimalHedgehogConfig' nullable: true id: title: Id type: number is_email_verified: default: null title: Is Email Verified nullable: true last_name: default: null title: Last Name type: string nullable: true role_at_organization: default: null title: Role At Organization type: string nullable: true uuid: title: Uuid type: string required: - distinct_id - email - first_name - id - uuid title: UserBasicType type: object YAxisSettings: additionalProperties: false properties: scale: default: null allOf: - $ref: '#/components/schemas/Scale' nullable: true showGridLines: default: null title: Showgridlines type: boolean nullable: true showTicks: default: null title: Showticks type: boolean nullable: true startAtZero: default: null description: Whether the Y axis should start at zero title: Startatzero type: boolean nullable: true title: YAxisSettings type: object WebTrendsItem: additionalProperties: false properties: bucket: title: Bucket type: string metrics: $ref: '#/components/schemas/Metrics' required: - bucket - metrics title: WebTrendsItem type: object RevenueAnalyticsOverviewQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RevenueAnalyticsOverviewItem' title: Results 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: - results title: RevenueAnalyticsOverviewQueryResponse type: object ErrorTrackingIssueAssignee: additionalProperties: false properties: id: anyOf: - type: string - type: integer title: Id type: $ref: '#/components/schemas/ErrorTrackingIssueAssigneeType' required: - id - type title: ErrorTrackingIssueAssignee type: object DatabaseSchemaViewTable: additionalProperties: false properties: fields: additionalProperties: $ref: '#/components/schemas/DatabaseSchemaField' title: Fields type: object id: title: Id type: string name: title: Name type: string query: $ref: '#/components/schemas/HogQLQuery' row_count: default: null title: Row Count type: number nullable: true type: default: view title: Type type: string enum: - view required: - fields - id - name - query title: DatabaseSchemaViewTable type: object QueryResponseAlternative52: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RevenueAnalyticsMRRQueryResultItem' title: Results 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: - results title: QueryResponseAlternative52 type: object ClickhouseQueryProgress: additionalProperties: false properties: active_cpu_time: title: Active Cpu Time type: integer bytes_read: title: Bytes Read type: integer estimated_rows_total: title: Estimated Rows Total type: integer rows_read: title: Rows Read type: integer time_elapsed: title: Time Elapsed type: integer required: - active_cpu_time - bytes_read - estimated_rows_total - rows_read - time_elapsed title: ClickhouseQueryProgress type: object ActionConversionGoal: additionalProperties: false properties: actionId: title: Actionid type: integer required: - actionId title: ActionConversionGoal type: object WebPageURLSearchQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/PageURL' title: Results 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: - results title: WebPageURLSearchQueryResponse type: object NonIntegratedConversionsTableQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null description: Compare to date range allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true draftConversionGoal: default: null description: Draft conversion goal that can be set in the UI without saving title: Draftconversiongoal anyOf: - $ref: '#/components/schemas/ConversionGoalFilter1' - $ref: '#/components/schemas/ConversionGoalFilter2' - $ref: '#/components/schemas/ConversionGoalFilter3' nullable: true filterTestAccounts: default: null description: Filter test accounts title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: NonIntegratedConversionsTableQuery title: Kind type: string enum: - NonIntegratedConversionsTableQuery limit: default: null description: Number of rows to return 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 description: Number of rows to skip before returning rows title: Offset type: integer nullable: true orderBy: default: null description: Columns to order by title: Orderby items: items: anyOf: - type: string - $ref: '#/components/schemas/MarketingAnalyticsOrderByEnum' type: array type: array nullable: true properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/NonIntegratedConversionsTableQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true select: default: null description: Return a limited set of data. Will use default columns if empty. title: Select items: type: string type: array nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - properties title: NonIntegratedConversionsTableQuery type: object QueryResponseAlternative33: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/RevenueAnalyticsMRRQueryResultItem' title: Results 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: - results title: QueryResponseAlternative33 type: object RetentionEntity: additionalProperties: false properties: aggregation_target_field: default: null description: Data warehouse field used as the actor identifier title: Aggregation Target Field type: string nullable: true custom_name: default: null title: Custom Name type: string nullable: true id: default: null title: Id anyOf: - type: string - type: number nullable: true kind: default: null allOf: - $ref: '#/components/schemas/RetentionEntityKind' nullable: true name: default: null title: Name type: string nullable: true order: default: null title: Order type: integer nullable: true properties: default: null description: filters on the event title: Properties items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array nullable: true table_name: default: null description: Data warehouse table name title: Table Name type: string nullable: true timestamp_field: default: null description: Data warehouse timestamp field title: Timestamp Field type: string nullable: true type: default: null allOf: - $ref: '#/components/schemas/EntityType' nullable: true uuid: default: null title: Uuid type: string nullable: true title: RetentionEntity type: object HogQLVariable: additionalProperties: false properties: code_name: title: Code Name type: string isNull: default: null title: Isnull type: boolean nullable: true value: default: null title: Value nullable: true variableId: title: Variableid type: string required: - code_name - variableId title: HogQLVariable type: object TrendsFilter: additionalProperties: false properties: aggregationAxisFormat: default: numeric allOf: - $ref: '#/components/schemas/AggregationAxisFormat' nullable: true aggregationAxisPostfix: default: null title: Aggregationaxispostfix type: string nullable: true aggregationAxisPrefix: default: null title: Aggregationaxisprefix type: string nullable: true breakdown_histogram_bin_count: default: null title: Breakdown Histogram Bin Count type: number nullable: true confidenceLevel: default: null title: Confidencelevel type: number nullable: true decimalPlaces: default: null title: Decimalplaces type: number nullable: true detailedResultsAggregationType: default: null description: detailed results table allOf: - $ref: '#/components/schemas/DetailedResultsAggregationType' nullable: true display: default: ActionsLineGraph allOf: - $ref: '#/components/schemas/ChartDisplayType' nullable: true excludeBoxPlotOutliers: default: true title: Excludeboxplotoutliers type: boolean nullable: true formula: default: null title: Formula type: string nullable: true formulaNodes: default: null description: List of formulas with optional custom names. Takes precedence over formula/formulas if set. title: Formulanodes items: $ref: '#/components/schemas/TrendsFormulaNode' type: array nullable: true formulas: default: null title: Formulas items: type: string type: array nullable: true goalLines: default: null description: Goal Lines title: Goallines items: $ref: '#/components/schemas/GoalLine' type: array nullable: true hiddenLegendIndexes: default: null title: Hiddenlegendindexes items: type: integer type: array nullable: true hideWeekends: default: false title: Hideweekends type: boolean nullable: true minDecimalPlaces: default: null title: Mindecimalplaces type: number nullable: true movingAverageIntervals: default: null title: Movingaverageintervals type: number nullable: true resultCustomizationBy: default: value description: Wether result datasets are associated by their values or by their order. allOf: - $ref: '#/components/schemas/ResultCustomizationBy' nullable: true resultCustomizations: default: null description: Customizations for the appearance of result datasets. title: Resultcustomizations anyOf: - additionalProperties: $ref: '#/components/schemas/ResultCustomizationByValue' type: object - additionalProperties: $ref: '#/components/schemas/ResultCustomizationByPosition' type: object nullable: true showAlertThresholdLines: default: false title: Showalertthresholdlines type: boolean nullable: true showConfidenceIntervals: default: null title: Showconfidenceintervals type: boolean nullable: true showLabelsOnSeries: default: null title: Showlabelsonseries type: boolean nullable: true showLegend: default: false title: Showlegend type: boolean nullable: true showMovingAverage: default: null title: Showmovingaverage type: boolean nullable: true showMultipleYAxes: default: false title: Showmultipleyaxes type: boolean nullable: true showPercentStackView: default: false title: Showpercentstackview type: boolean nullable: true showTrendLines: default: null title: Showtrendlines type: boolean nullable: true showValuesOnSeries: default: false title: Showvaluesonseries type: boolean nullable: true smoothingIntervals: default: 1 title: Smoothingintervals type: integer nullable: true yAxisScaleType: default: linear allOf: - $ref: '#/components/schemas/YAxisScaleType' nullable: true title: TrendsFilter type: object WebVitalsPathBreakdownQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation - not used in Web Analytics but required for type compatibility title: Aggregation Group Type Index type: integer nullable: true compareFilter: default: null allOf: - $ref: '#/components/schemas/CompareFilter' nullable: true conversionGoal: default: null title: Conversiongoal anyOf: - $ref: '#/components/schemas/ActionConversionGoal' - $ref: '#/components/schemas/CustomEventConversionGoal' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization - not used in Web Analytics but required for type compatibility title: Datacolortheme type: number nullable: true dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true doPathCleaning: default: null title: Dopathcleaning type: boolean nullable: true filterTestAccounts: default: null title: Filtertestaccounts type: boolean nullable: true includeRevenue: default: null title: Includerevenue type: boolean nullable: true interval: default: null description: Interval for date range calculation (affects date_to rounding for hour vs day ranges) allOf: - $ref: '#/components/schemas/IntervalType' nullable: true kind: default: WebVitalsPathBreakdownQuery title: Kind type: string enum: - WebVitalsPathBreakdownQuery metric: $ref: '#/components/schemas/WebVitalsMetric' modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true orderBy: default: null title: Orderby items: anyOf: - $ref: '#/components/schemas/WebAnalyticsOrderByFields' - $ref: '#/components/schemas/WebAnalyticsOrderByDirection' type: array nullable: true percentile: $ref: '#/components/schemas/WebVitalsPercentile' properties: type: array items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/WebVitalsPathBreakdownQueryResponse' nullable: true sampling: default: null allOf: - $ref: '#/components/schemas/WebAnalyticsSampling' nullable: true samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true tags: default: null allOf: - $ref: '#/components/schemas/QueryLogTags' nullable: true thresholds: items: type: number maxItems: 2 minItems: 2 title: Thresholds type: array useSessionsTable: default: null title: Usesessionstable type: boolean nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - metric - percentile - properties - thresholds title: WebVitalsPathBreakdownQuery type: object LifecycleQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: additionalProperties: true type: object title: Results 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: - results title: LifecycleQueryResponse type: object SimilarIssue: additionalProperties: false properties: description: title: Description type: string distance: title: Distance type: number first_seen: title: First Seen type: string id: title: Id type: string library: default: null title: Library type: string nullable: true name: title: Name type: string status: title: Status type: string required: - description - distance - first_seen - id - name - status title: SimilarIssue type: object QueryResponseAlternative7: additionalProperties: false properties: bytecode: default: null title: Bytecode items: {} type: array nullable: true coloredBytecode: default: null title: Coloredbytecode items: {} type: array nullable: true results: title: Results stdout: default: null title: Stdout type: string nullable: true required: - results title: QueryResponseAlternative7 type: object QueryResponseAlternative5: additionalProperties: false properties: breakdown: default: null title: Breakdown items: $ref: '#/components/schemas/BreakdownItem' type: array nullable: true breakdowns: default: null title: Breakdowns items: $ref: '#/components/schemas/MultipleBreakdownOptions' type: array nullable: true compare: default: null title: Compare items: $ref: '#/components/schemas/CompareItem' type: array nullable: true day: default: null title: Day items: $ref: '#/components/schemas/DayItem' type: array nullable: true interval: default: null title: Interval items: $ref: '#/components/schemas/IntervalItem' type: array nullable: true series: default: null title: Series items: $ref: '#/components/schemas/Series' type: array nullable: true status: default: null title: Status items: $ref: '#/components/schemas/StatusItem' type: array nullable: true title: QueryResponseAlternative5 type: object StatusItem: additionalProperties: false properties: label: title: Label type: string value: title: Value type: string required: - label - value title: StatusItem type: object QueryUpgradeRequest: additionalProperties: false properties: query: discriminator: mapping: ActionsNode: '#/components/schemas/ActionsNode' ActorsPropertyTaxonomyQuery: '#/components/schemas/ActorsPropertyTaxonomyQuery' ActorsQuery: '#/components/schemas/ActorsQuery' DataTableNode: '#/components/schemas/DataTableNode' DataVisualizationNode: '#/components/schemas/DataVisualizationNode' DataWarehouseNode: '#/components/schemas/DataWarehouseNode' DatabaseSchemaQuery: '#/components/schemas/DatabaseSchemaQuery' DocumentSimilarityQuery: '#/components/schemas/DocumentSimilarityQuery' EndpointsUsageOverviewQuery: '#/components/schemas/EndpointsUsageOverviewQuery' EndpointsUsageTableQuery: '#/components/schemas/EndpointsUsageTableQuery' EndpointsUsageTrendsQuery: '#/components/schemas/EndpointsUsageTrendsQuery' ErrorTrackingBreakdownsQuery: '#/components/schemas/ErrorTrackingBreakdownsQuery' ErrorTrackingIssueCorrelationQuery: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' ErrorTrackingQuery: '#/components/schemas/ErrorTrackingQuery' ErrorTrackingSimilarIssuesQuery: '#/components/schemas/ErrorTrackingSimilarIssuesQuery' EventTaxonomyQuery: '#/components/schemas/EventTaxonomyQuery' EventsNode: '#/components/schemas/EventsNode' EventsQuery: '#/components/schemas/EventsQuery' ExperimentExposureQuery: '#/components/schemas/ExperimentExposureQuery' ExperimentFunnelsQuery: '#/components/schemas/ExperimentFunnelsQuery' ExperimentQuery: '#/components/schemas/ExperimentQuery' ExperimentTrendsQuery: '#/components/schemas/ExperimentTrendsQuery' FunnelCorrelationQuery: '#/components/schemas/FunnelCorrelationQuery' FunnelsDataWarehouseNode: '#/components/schemas/FunnelsDataWarehouseNode' FunnelsQuery: '#/components/schemas/FunnelsQuery' GroupsQuery: '#/components/schemas/GroupsQuery' HogQLAutocomplete: '#/components/schemas/HogQLAutocomplete' HogQLMetadata: '#/components/schemas/HogQLMetadata' HogQLQuery: '#/components/schemas/HogQLQuery' HogQuery: '#/components/schemas/HogQuery' InsightActorsQuery: '#/components/schemas/InsightActorsQuery' InsightActorsQueryOptions: '#/components/schemas/InsightActorsQueryOptions' InsightVizNode: '#/components/schemas/InsightVizNode' LifecycleDataWarehouseNode: '#/components/schemas/LifecycleDataWarehouseNode' LifecycleQuery: '#/components/schemas/LifecycleQuery' LogAttributesQuery: '#/components/schemas/LogAttributesQuery' LogValuesQuery: '#/components/schemas/LogValuesQuery' LogsQuery: '#/components/schemas/LogsQuery' MarketingAnalyticsAggregatedQuery: '#/components/schemas/MarketingAnalyticsAggregatedQuery' MarketingAnalyticsTableQuery: '#/components/schemas/MarketingAnalyticsTableQuery' NonIntegratedConversionsTableQuery: '#/components/schemas/NonIntegratedConversionsTableQuery' PathsQuery: '#/components/schemas/PathsQuery' PersonsNode: '#/components/schemas/PersonsNode' PropertyValuesQuery: '#/components/schemas/PropertyValuesQuery' RecordingsQuery: '#/components/schemas/RecordingsQuery' RetentionQuery: '#/components/schemas/RetentionQuery' RevenueAnalyticsGrossRevenueQuery: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' RevenueAnalyticsMRRQuery: '#/components/schemas/RevenueAnalyticsMRRQuery' RevenueAnalyticsMetricsQuery: '#/components/schemas/RevenueAnalyticsMetricsQuery' RevenueAnalyticsOverviewQuery: '#/components/schemas/RevenueAnalyticsOverviewQuery' RevenueAnalyticsTopCustomersQuery: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' RevenueExampleDataWarehouseTablesQuery: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' RevenueExampleEventsQuery: '#/components/schemas/RevenueExampleEventsQuery' SavedInsightNode: '#/components/schemas/SavedInsightNode' SessionAttributionExplorerQuery: '#/components/schemas/SessionAttributionExplorerQuery' SessionsQuery: '#/components/schemas/SessionsQuery' SessionsTimelineQuery: '#/components/schemas/SessionsTimelineQuery' StickinessQuery: '#/components/schemas/StickinessQuery' SuggestedQuestionsQuery: '#/components/schemas/SuggestedQuestionsQuery' TeamTaxonomyQuery: '#/components/schemas/TeamTaxonomyQuery' TraceNeighborsQuery: '#/components/schemas/TraceNeighborsQuery' TraceQuery: '#/components/schemas/TraceQuery' TraceSpansQuery: '#/components/schemas/TraceSpansQuery' TracesQuery: '#/components/schemas/TracesQuery' TrendsQuery: '#/components/schemas/TrendsQuery' UsageMetricsQuery: '#/components/schemas/UsageMetricsQuery' VectorSearchQuery: '#/components/schemas/VectorSearchQuery' WebAnalyticsExternalSummaryQuery: '#/components/schemas/WebAnalyticsExternalSummaryQuery' WebExternalClicksTableQuery: '#/components/schemas/WebExternalClicksTableQuery' WebGoalsQuery: '#/components/schemas/WebGoalsQuery' WebNotableChangesQuery: '#/components/schemas/WebNotableChangesQuery' WebOverviewQuery: '#/components/schemas/WebOverviewQuery' WebPageURLSearchQuery: '#/components/schemas/WebPageURLSearchQuery' WebStatsTableQuery: '#/components/schemas/WebStatsTableQuery' WebVitalsPathBreakdownQuery: '#/components/schemas/WebVitalsPathBreakdownQuery' WebVitalsQuery: '#/components/schemas/WebVitalsQuery' propertyName: kind oneOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/PersonsNode' - $ref: '#/components/schemas/DataWarehouseNode' - $ref: '#/components/schemas/FunnelsDataWarehouseNode' - $ref: '#/components/schemas/LifecycleDataWarehouseNode' - $ref: '#/components/schemas/EventsQuery' - $ref: '#/components/schemas/SessionsQuery' - $ref: '#/components/schemas/ActorsQuery' - $ref: '#/components/schemas/GroupsQuery' - $ref: '#/components/schemas/InsightActorsQuery' - $ref: '#/components/schemas/InsightActorsQueryOptions' - $ref: '#/components/schemas/SessionsTimelineQuery' - $ref: '#/components/schemas/HogQuery' - $ref: '#/components/schemas/HogQLQuery' - $ref: '#/components/schemas/HogQLMetadata' - $ref: '#/components/schemas/HogQLAutocomplete' - $ref: '#/components/schemas/SessionAttributionExplorerQuery' - $ref: '#/components/schemas/RevenueExampleEventsQuery' - $ref: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' - $ref: '#/components/schemas/ErrorTrackingQuery' - $ref: '#/components/schemas/ErrorTrackingSimilarIssuesQuery' - $ref: '#/components/schemas/ErrorTrackingBreakdownsQuery' - $ref: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' - $ref: '#/components/schemas/ExperimentFunnelsQuery' - $ref: '#/components/schemas/ExperimentTrendsQuery' - $ref: '#/components/schemas/ExperimentQuery' - $ref: '#/components/schemas/ExperimentExposureQuery' - $ref: '#/components/schemas/DocumentSimilarityQuery' - $ref: '#/components/schemas/WebOverviewQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebExternalClicksTableQuery' - $ref: '#/components/schemas/WebGoalsQuery' - $ref: '#/components/schemas/WebVitalsQuery' - $ref: '#/components/schemas/WebVitalsPathBreakdownQuery' - $ref: '#/components/schemas/WebPageURLSearchQuery' - $ref: '#/components/schemas/WebAnalyticsExternalSummaryQuery' - $ref: '#/components/schemas/WebNotableChangesQuery' - $ref: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' - $ref: '#/components/schemas/RevenueAnalyticsMetricsQuery' - $ref: '#/components/schemas/RevenueAnalyticsMRRQuery' - $ref: '#/components/schemas/RevenueAnalyticsOverviewQuery' - $ref: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' - $ref: '#/components/schemas/MarketingAnalyticsTableQuery' - $ref: '#/components/schemas/MarketingAnalyticsAggregatedQuery' - $ref: '#/components/schemas/NonIntegratedConversionsTableQuery' - $ref: '#/components/schemas/DataVisualizationNode' - $ref: '#/components/schemas/DataTableNode' - $ref: '#/components/schemas/SavedInsightNode' - $ref: '#/components/schemas/InsightVizNode' - $ref: '#/components/schemas/TrendsQuery' - $ref: '#/components/schemas/FunnelsQuery' - $ref: '#/components/schemas/RetentionQuery' - $ref: '#/components/schemas/PathsQuery' - $ref: '#/components/schemas/StickinessQuery' - $ref: '#/components/schemas/LifecycleQuery' - $ref: '#/components/schemas/FunnelCorrelationQuery' - $ref: '#/components/schemas/DatabaseSchemaQuery' - $ref: '#/components/schemas/RecordingsQuery' - $ref: '#/components/schemas/LogsQuery' - $ref: '#/components/schemas/LogAttributesQuery' - $ref: '#/components/schemas/LogValuesQuery' - $ref: '#/components/schemas/TraceSpansQuery' - $ref: '#/components/schemas/SuggestedQuestionsQuery' - $ref: '#/components/schemas/TeamTaxonomyQuery' - $ref: '#/components/schemas/EventTaxonomyQuery' - $ref: '#/components/schemas/ActorsPropertyTaxonomyQuery' - $ref: '#/components/schemas/TracesQuery' - $ref: '#/components/schemas/TraceQuery' - $ref: '#/components/schemas/TraceNeighborsQuery' - $ref: '#/components/schemas/VectorSearchQuery' - $ref: '#/components/schemas/UsageMetricsQuery' - $ref: '#/components/schemas/EndpointsUsageOverviewQuery' - $ref: '#/components/schemas/EndpointsUsageTableQuery' - $ref: '#/components/schemas/EndpointsUsageTrendsQuery' - $ref: '#/components/schemas/PropertyValuesQuery' title: Query required: - query title: QueryUpgradeRequest type: object LLMTraceEvent: additionalProperties: false properties: createdAt: title: Createdat type: string event: anyOf: - $ref: '#/components/schemas/AIEventType' - type: string title: Event id: title: Id type: string properties: type: object additionalProperties: true title: Properties required: - createdAt - event - id - properties title: LLMTraceEvent type: object DataWarehousePropertyFilter: additionalProperties: false properties: key: title: Key type: string label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: data_warehouse title: Type type: string enum: - data_warehouse value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: DataWarehousePropertyFilter type: object AutocompleteCompletionItem: additionalProperties: false properties: detail: default: null description: A human-readable string with additional information about this item, like type or symbol information. title: Detail type: string nullable: true documentation: default: null description: A human-readable string that represents a doc-comment. title: Documentation type: string nullable: true insertText: description: A string or snippet that should be inserted in a document when selecting this completion. title: Inserttext type: string kind: description: The kind of this completion item. Based on the kind an icon is chosen by the editor. allOf: - $ref: '#/components/schemas/AutocompleteCompletionItemKind' label: description: The label of this completion item. By default this is also the text that is inserted when selecting this completion. title: Label type: string required: - insertText - kind - label title: AutocompleteCompletionItem type: object QueryResponseAlternative82: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: anyOf: - $ref: '#/components/schemas/ActorsPropertyTaxonomyResponse' - items: $ref: '#/components/schemas/ActorsPropertyTaxonomyResponse' type: array title: Results 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: - results title: QueryResponseAlternative82 type: object SessionTableVersion: enum: - auto - v1 - v2 - v3 title: SessionTableVersion type: string QueryResponseAlternative27: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebVitalsPathBreakdownResult' maxItems: 1 minItems: 1 title: Results 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: - results title: QueryResponseAlternative27 type: object LifecycleFilter: additionalProperties: false properties: showLegend: default: false title: Showlegend type: boolean nullable: true showValuesOnSeries: default: null title: Showvaluesonseries type: boolean nullable: true stacked: default: true title: Stacked type: boolean nullable: true toggledLifecycles: default: null title: Toggledlifecycles items: $ref: '#/components/schemas/LifecycleToggle' type: array nullable: true title: LifecycleFilter type: object Response11: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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: - results title: Response11 type: object DocumentSimilarityQueryResponse: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/EmbeddingDistance' title: Results 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: - results title: DocumentSimilarityQueryResponse type: object DataWarehouseEventsModifier: additionalProperties: false properties: distinct_id_field: title: Distinct Id Field type: string id_field: title: Id Field type: string table_name: title: Table Name type: string timestamp_field: title: Timestamp Field type: string required: - distinct_id_field - id_field - table_name - timestamp_field title: DataWarehouseEventsModifier type: object ColorMode: enum: - light - dark title: ColorMode type: string RevenueExampleDataWarehouseTablesQuery: additionalProperties: false properties: kind: default: RevenueExampleDataWarehouseTablesQuery title: Kind type: string enum: - RevenueExampleDataWarehouseTablesQuery 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 response: default: null allOf: - $ref: '#/components/schemas/RevenueExampleDataWarehouseTablesQueryResponse' 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 title: RevenueExampleDataWarehouseTablesQuery type: object LogValueResult: additionalProperties: false properties: id: title: Id type: string name: title: Name type: string required: - id - name title: LogValueResult type: object LogValuesQuery: additionalProperties: false properties: attributeKey: title: Attributekey type: string attributeType: title: Attributetype type: string dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterGroup: default: null allOf: - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true kind: default: LogValuesQuery title: Kind type: string enum: - LogValuesQuery 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 response: default: null allOf: - $ref: '#/components/schemas/LogValuesQueryResponse' nullable: true search: default: null title: Search type: string nullable: true serviceNames: default: null title: Servicenames items: type: string type: array nullable: true severityLevels: default: null title: Severitylevels items: $ref: '#/components/schemas/LogSeverityLevel' type: array 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: - attributeKey - attributeType title: LogValuesQuery type: object OrderDirection1: enum: - asc - desc title: OrderDirection1 type: string Response9: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: Response9 type: object Response21: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/ErrorTrackingIssue' title: Results 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: - results title: Response21 type: object QueryResponseAlternative28: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/PageURL' title: Results 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: - results title: QueryResponseAlternative28 type: object ExperimentVariantTrendsBaseStats: additionalProperties: false properties: absolute_exposure: title: Absolute Exposure type: number count: title: Count type: number exposure: title: Exposure type: number key: title: Key type: string required: - absolute_exposure - count - exposure - key title: ExperimentVariantTrendsBaseStats type: object WebTrendsQueryResponse: additionalProperties: false properties: clickhouse: default: null description: Executed ClickHouse query title: Clickhouse type: string nullable: true columns: default: null description: Returned columns title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true explain: default: null description: Query explanation output title: Explain items: type: string type: array nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true limit: default: null title: Limit type: integer nullable: true metadata: default: null description: Query metadata output allOf: - $ref: '#/components/schemas/HogQLMetadataResponse' 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 query: default: null description: Input query string title: Query type: string nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebTrendsItem' title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null description: Types of returned columns title: Types items: {} type: array nullable: true usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: WebTrendsQueryResponse type: object QueryResponseAlternative35: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: title: Results 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: - results title: QueryResponseAlternative35 type: object RetentionValue: additionalProperties: false properties: aggregation_value: default: null title: Aggregation Value type: number nullable: true count: title: Count type: number label: default: null title: Label type: string nullable: true required: - count title: RetentionValue type: object QueryResponseAlternative80: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/TeamTaxonomyItem' title: Results 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: - results title: QueryResponseAlternative80 type: object FunnelLayout: enum: - horizontal - vertical title: FunnelLayout type: string ExperimentTrendsQueryResponse: additionalProperties: false properties: count_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true credible_intervals: additionalProperties: items: type: number type: array title: Credible Intervals type: object exposure_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true insight: items: additionalProperties: true type: object title: Insight type: array kind: default: ExperimentTrendsQuery title: Kind type: string enum: - ExperimentTrendsQuery p_value: title: P Value type: number probability: additionalProperties: type: number title: Probability type: object significance_code: $ref: '#/components/schemas/ExperimentSignificanceCode' significant: title: Significant type: boolean stats_version: default: null title: Stats Version type: integer nullable: true variants: items: $ref: '#/components/schemas/ExperimentVariantTrendsBaseStats' title: Variants type: array required: - credible_intervals - insight - p_value - probability - significance_code - significant - variants title: ExperimentTrendsQueryResponse type: object QueryResponseAlternative50: additionalProperties: false properties: columns: default: null title: Columns items: type: string type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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: - results title: QueryResponseAlternative50 type: object EndpointsUsageOverviewItemKey: enum: - total_requests - total_bytes_read - total_cpu_seconds - avg_query_duration_ms - p95_query_duration_ms - error_rate - materialized_requests - inline_requests title: EndpointsUsageOverviewItemKey type: string ExperimentRetentionMetric: additionalProperties: false properties: breakdownFilter: default: null allOf: - $ref: '#/components/schemas/BreakdownFilter' nullable: true completion_event: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/ExperimentDataWarehouseNode' title: Completion Event conversion_window: default: null title: Conversion Window type: integer nullable: true conversion_window_unit: default: null allOf: - $ref: '#/components/schemas/FunnelConversionWindowTimeUnit' nullable: true fingerprint: default: null title: Fingerprint type: string nullable: true goal: default: null allOf: - $ref: '#/components/schemas/ExperimentMetricGoal' nullable: true isSharedMetric: default: null title: Issharedmetric type: boolean nullable: true kind: default: ExperimentMetric title: Kind type: string enum: - ExperimentMetric metric_type: default: retention title: Metric Type type: string enum: - retention name: default: null title: Name type: string nullable: true response: default: null title: Response additionalProperties: true type: object nullable: true retention_window_end: title: Retention Window End type: integer retention_window_start: title: Retention Window Start type: integer retention_window_unit: $ref: '#/components/schemas/FunnelConversionWindowTimeUnit' sharedMetricId: default: null title: Sharedmetricid type: number nullable: true start_event: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/ActionsNode' - $ref: '#/components/schemas/ExperimentDataWarehouseNode' title: Start Event start_handling: $ref: '#/components/schemas/StartHandling' uuid: default: null title: Uuid type: string nullable: true version: default: null description: version of the node, used for schema migrations title: Version type: number nullable: true required: - completion_event - retention_window_end - retention_window_start - retention_window_unit - start_event - start_handling title: ExperimentRetentionMetric type: object QueryResponseAlternative66: additionalProperties: false properties: boxplot_data: default: null title: Boxplot Data items: $ref: '#/components/schemas/BoxPlotDatum' type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null description: Wether more breakdown values are available. title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: additionalProperties: true type: object title: Results 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: - results title: QueryResponseAlternative66 type: object QueryResponseAlternative69: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/PathsLink' title: Results 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: - results title: QueryResponseAlternative69 type: object QueryResponseAlternative25: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative25 type: object Response24: additionalProperties: false properties: count_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true credible_intervals: additionalProperties: items: type: number type: array title: Credible Intervals type: object exposure_query: default: null allOf: - $ref: '#/components/schemas/TrendsQuery' nullable: true insight: items: additionalProperties: true type: object title: Insight type: array kind: default: ExperimentTrendsQuery title: Kind type: string enum: - ExperimentTrendsQuery p_value: title: P Value type: number probability: additionalProperties: type: number title: Probability type: object significance_code: $ref: '#/components/schemas/ExperimentSignificanceCode' significant: title: Significant type: boolean stats_version: default: null title: Stats Version type: integer nullable: true variants: items: $ref: '#/components/schemas/ExperimentVariantTrendsBaseStats' title: Variants type: array required: - credible_intervals - insight - p_value - probability - significance_code - significant - variants title: Response24 type: object QueryResponseAlternative4: additionalProperties: false properties: columns: items: {} title: Columns type: array error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: description: Generated HogQL query. title: Hogql type: string kind: default: GroupsQuery title: Kind type: string enum: - GroupsQuery limit: title: Limit type: integer modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true offset: title: Offset type: integer query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: {} type: array title: Results 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 types: items: type: string title: Types type: array required: - columns - hogql - limit - offset - results - types title: QueryResponseAlternative4 type: object Results: additionalProperties: false properties: total_count: title: Total Count type: number values: items: $ref: '#/components/schemas/BreakdownValue' title: Values type: array required: - total_count - values title: Results type: object DatabaseSchemaMaterializedViewTable: additionalProperties: false properties: fields: additionalProperties: $ref: '#/components/schemas/DatabaseSchemaField' title: Fields type: object id: title: Id type: string last_run_at: default: null title: Last Run At type: string nullable: true name: title: Name type: string query: $ref: '#/components/schemas/HogQLQuery' row_count: default: null title: Row Count type: number nullable: true status: default: null title: Status type: string nullable: true type: default: materialized_view title: Type type: string enum: - materialized_view required: - fields - id - name - query title: DatabaseSchemaMaterializedViewTable type: object FunnelsFilter: additionalProperties: false properties: binCount: default: null title: Bincount type: integer nullable: true breakdownAttributionType: default: first_touch allOf: - $ref: '#/components/schemas/BreakdownAttributionType' nullable: true breakdownAttributionValue: default: null title: Breakdownattributionvalue type: integer nullable: true breakdownSorting: default: null description: 'Breakdown table sorting. Format: ''column_key'' or ''-column_key'' (descending)' title: Breakdownsorting type: string nullable: true customAggregationTarget: default: null description: For data warehouse based funnel insights when the aggregation target can't be mapped to persons or groups. title: Customaggregationtarget type: boolean nullable: true exclusions: default: [] title: Exclusions items: anyOf: - $ref: '#/components/schemas/FunnelExclusionEventsNode' - $ref: '#/components/schemas/FunnelExclusionActionsNode' type: array nullable: true funnelAggregateByHogQL: default: null title: Funnelaggregatebyhogql type: string nullable: true funnelFromStep: default: null title: Funnelfromstep type: integer nullable: true funnelOrderType: default: ordered allOf: - $ref: '#/components/schemas/StepOrderValue' nullable: true funnelStepReference: default: total allOf: - $ref: '#/components/schemas/FunnelStepReference' nullable: true funnelToStep: default: null description: To select the range of steps for trends & time to convert funnels, 0-indexed title: Funneltostep type: integer nullable: true funnelVizType: default: steps allOf: - $ref: '#/components/schemas/FunnelVizType' nullable: true funnelWindowInterval: default: 14 title: Funnelwindowinterval type: integer nullable: true funnelWindowIntervalUnit: default: day allOf: - $ref: '#/components/schemas/FunnelConversionWindowTimeUnit' nullable: true goalLines: default: null description: Goal Lines title: Goallines items: $ref: '#/components/schemas/GoalLine' type: array nullable: true hiddenLegendBreakdowns: default: null title: Hiddenlegendbreakdowns items: type: string type: array nullable: true layout: default: vertical allOf: - $ref: '#/components/schemas/FunnelLayout' nullable: true resultCustomizations: default: null description: Customizations for the appearance of result datasets. title: Resultcustomizations additionalProperties: $ref: '#/components/schemas/ResultCustomizationByValue' type: object nullable: true showTrendLines: default: null description: Display linear regression trend lines on the chart (only for historical trends viz) title: Showtrendlines type: boolean nullable: true showValuesOnSeries: default: false title: Showvaluesonseries type: boolean nullable: true useUdf: default: null title: Useudf type: boolean nullable: true title: FunnelsFilter type: object RetentionQuery: additionalProperties: false properties: aggregation_group_type_index: default: null description: Groups aggregation title: Aggregation Group Type Index type: integer nullable: true breakdownFilter: default: null description: Breakdown of the events and actions allOf: - $ref: '#/components/schemas/BreakdownFilter' nullable: true dataColorTheme: default: null description: Colors used in the insight's visualization title: Datacolortheme type: number nullable: true dateRange: default: null description: Date range for the query allOf: - $ref: '#/components/schemas/DateRange' nullable: true filterTestAccounts: default: false description: Exclude internal and test users by applying the respective filters title: Filtertestaccounts type: boolean nullable: true kind: default: RetentionQuery title: Kind type: string enum: - RetentionQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: default: [] description: Property filters for all series title: Properties anyOf: - items: anyOf: - $ref: '#/components/schemas/EventPropertyFilter' - $ref: '#/components/schemas/PersonPropertyFilter' - $ref: '#/components/schemas/ElementPropertyFilter' - $ref: '#/components/schemas/EventMetadataPropertyFilter' - $ref: '#/components/schemas/SessionPropertyFilter' - $ref: '#/components/schemas/CohortPropertyFilter' - $ref: '#/components/schemas/RecordingPropertyFilter' - $ref: '#/components/schemas/LogEntryPropertyFilter' - $ref: '#/components/schemas/GroupPropertyFilter' - $ref: '#/components/schemas/FeaturePropertyFilter' - $ref: '#/components/schemas/FlagPropertyFilter' - $ref: '#/components/schemas/HogQLPropertyFilter' - $ref: '#/components/schemas/EmptyPropertyFilter' - $ref: '#/components/schemas/DataWarehousePropertyFilter' - $ref: '#/components/schemas/DataWarehousePersonPropertyFilter' - $ref: '#/components/schemas/ErrorTrackingIssueFilter' - $ref: '#/components/schemas/LogPropertyFilter' - $ref: '#/components/schemas/SpanPropertyFilter' - $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' - $ref: '#/components/schemas/WorkflowVariablePropertyFilter' type: array - $ref: '#/components/schemas/PropertyGroupFilter' nullable: true response: default: null allOf: - $ref: '#/components/schemas/RetentionQueryResponse' nullable: true retentionFilter: description: Properties specific to the retention insight allOf: - $ref: '#/components/schemas/RetentionFilter' samplingFactor: default: null description: Sampling rate title: Samplingfactor type: number nullable: true tags: default: null description: Tags that will be added to the Query log comment 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: - retentionFilter title: RetentionQuery type: object Response5: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true usedPreAggregatedTables: default: null title: Usedpreaggregatedtables type: boolean nullable: true required: - results title: Response5 type: object ErrorTrackingIssueAggregations: additionalProperties: false properties: occurrences: title: Occurrences type: number sessions: title: Sessions type: number users: title: Users type: number volumeRange: default: null title: Volumerange items: type: number type: array nullable: true volume_buckets: items: $ref: '#/components/schemas/VolumeBucket' title: Volume Buckets type: array required: - occurrences - sessions - users - volume_buckets title: ErrorTrackingIssueAggregations type: object DataTableNode: additionalProperties: false properties: allowSorting: default: null description: 'Can the user click on column headers to sort the table? (default: true)' title: Allowsorting type: boolean nullable: true columns: default: null description: Columns shown in the table, unless the `source` provides them. title: Columns items: type: string type: array nullable: true context: default: null description: Context for the table, used by components like ColumnConfigurator allOf: - $ref: '#/components/schemas/DataTableNodeViewPropsContext' nullable: true contextKey: default: null description: Context key for universal column configuration (e.g., "survey:123") title: Contextkey type: string nullable: true defaultColumns: default: null description: Default columns to use when resetting column configuration title: Defaultcolumns items: type: string type: array nullable: true embedded: default: null description: Uses the embedded version of LemonTable title: Embedded type: boolean nullable: true expandable: default: null description: 'Can expand row to show raw event data (default: true)' title: Expandable type: boolean nullable: true full: default: null description: Show with most visual options enabled. Used in scenes. title: Full type: boolean nullable: true hiddenColumns: default: null description: Columns that aren't shown in the table, even if in columns or returned data title: Hiddencolumns items: type: string type: array nullable: true kind: default: DataTableNode title: Kind type: string enum: - DataTableNode pinnedColumns: default: null description: Columns that are sticky when scrolling horizontally title: Pinnedcolumns items: type: string type: array nullable: true propertiesViaUrl: default: null description: 'Link properties via the URL (default: false)' title: Propertiesviaurl type: boolean nullable: true response: default: null title: Response anyOf: - additionalProperties: true type: object - $ref: '#/components/schemas/Response' - $ref: '#/components/schemas/Response1' - $ref: '#/components/schemas/Response2' - $ref: '#/components/schemas/Response3' - $ref: '#/components/schemas/Response4' - $ref: '#/components/schemas/Response5' - $ref: '#/components/schemas/Response6' - $ref: '#/components/schemas/Response8' - $ref: '#/components/schemas/Response9' - $ref: '#/components/schemas/Response10' - $ref: '#/components/schemas/Response11' - $ref: '#/components/schemas/Response12' - $ref: '#/components/schemas/Response13' - $ref: '#/components/schemas/Response14' - $ref: '#/components/schemas/Response15' - $ref: '#/components/schemas/Response16' - $ref: '#/components/schemas/Response18' - $ref: '#/components/schemas/Response19' - $ref: '#/components/schemas/Response20' - $ref: '#/components/schemas/Response21' - $ref: '#/components/schemas/Response22' - $ref: '#/components/schemas/Response23' - $ref: '#/components/schemas/Response24' - $ref: '#/components/schemas/Response25' - $ref: '#/components/schemas/Response26' nullable: true showActions: default: null description: Show the kebab menu at the end of the row title: Showactions type: boolean nullable: true showColumnConfigurator: default: null description: Show a button to configure the table's columns if possible title: Showcolumnconfigurator type: boolean nullable: true showCount: default: null description: Show count of total and filtered results title: Showcount type: boolean nullable: true showDateRange: default: null description: Show date range selector title: Showdaterange type: boolean nullable: true showElapsedTime: default: null description: Show the time it takes to run a query title: Showelapsedtime type: boolean nullable: true showEventFilter: default: null description: Include an event filter above the table (EventsNode only) title: Showeventfilter type: boolean nullable: true showEventsFilter: default: null description: Include an events filter above the table to filter by multiple events (EventsQuery only) title: Showeventsfilter type: boolean nullable: true showExport: default: null description: Show the export button title: Showexport type: boolean nullable: true showHogQLEditor: default: null description: Include a HogQL query editor above HogQL tables title: Showhogqleditor type: boolean nullable: true showOpenEditorButton: default: null description: 'Show a button to open the current query as a new insight. (default: true)' title: Showopeneditorbutton type: boolean nullable: true showPersistentColumnConfigurator: default: null description: Show a button to configure and persist the table's default columns if possible title: Showpersistentcolumnconfigurator type: boolean nullable: true showPropertyFilter: default: null description: Include a property filter above the table title: Showpropertyfilter anyOf: - type: boolean - items: $ref: '#/components/schemas/TaxonomicFilterGroupType' type: array nullable: true showRecordingColumn: default: null description: Show a recording column for events with session recordings title: Showrecordingcolumn type: boolean nullable: true showReload: default: null description: Show a reload button title: Showreload type: boolean nullable: true showResultsTable: default: null description: Show a results table title: Showresultstable type: boolean nullable: true showSavedFilters: default: null description: Show saved filters feature for this table (requires uniqueKey) title: Showsavedfilters type: boolean nullable: true showSavedQueries: default: null description: Shows a list of saved queries title: Showsavedqueries type: boolean nullable: true showSearch: default: null description: Include a free text search field (PersonsNode only) title: Showsearch type: boolean nullable: true showSourceQueryOptions: default: null description: Show actors query options and back to source title: Showsourcequeryoptions type: boolean nullable: true showTableViews: default: null description: Show table views feature for this table (requires uniqueKey) title: Showtableviews type: boolean nullable: true showTestAccountFilters: default: null description: Show filter to exclude test accounts title: Showtestaccountfilters type: boolean nullable: true showTimings: default: null description: Show a detailed query timing breakdown title: Showtimings type: boolean nullable: true source: anyOf: - $ref: '#/components/schemas/EventsNode' - $ref: '#/components/schemas/EventsQuery' - $ref: '#/components/schemas/PersonsNode' - $ref: '#/components/schemas/ActorsQuery' - $ref: '#/components/schemas/GroupsQuery' - $ref: '#/components/schemas/HogQLQuery' - $ref: '#/components/schemas/WebOverviewQuery' - $ref: '#/components/schemas/WebStatsTableQuery' - $ref: '#/components/schemas/WebExternalClicksTableQuery' - $ref: '#/components/schemas/WebGoalsQuery' - $ref: '#/components/schemas/WebVitalsQuery' - $ref: '#/components/schemas/WebVitalsPathBreakdownQuery' - $ref: '#/components/schemas/SessionAttributionExplorerQuery' - $ref: '#/components/schemas/SessionsQuery' - $ref: '#/components/schemas/RevenueAnalyticsGrossRevenueQuery' - $ref: '#/components/schemas/RevenueAnalyticsMetricsQuery' - $ref: '#/components/schemas/RevenueAnalyticsMRRQuery' - $ref: '#/components/schemas/RevenueAnalyticsOverviewQuery' - $ref: '#/components/schemas/RevenueAnalyticsTopCustomersQuery' - $ref: '#/components/schemas/RevenueExampleEventsQuery' - $ref: '#/components/schemas/RevenueExampleDataWarehouseTablesQuery' - $ref: '#/components/schemas/MarketingAnalyticsTableQuery' - $ref: '#/components/schemas/MarketingAnalyticsAggregatedQuery' - $ref: '#/components/schemas/NonIntegratedConversionsTableQuery' - $ref: '#/components/schemas/ErrorTrackingQuery' - $ref: '#/components/schemas/ErrorTrackingIssueCorrelationQuery' - $ref: '#/components/schemas/ExperimentFunnelsQuery' - $ref: '#/components/schemas/ExperimentTrendsQuery' - $ref: '#/components/schemas/TracesQuery' - $ref: '#/components/schemas/TraceQuery' - $ref: '#/components/schemas/EndpointsUsageTableQuery' description: Source of the events title: Source 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: - source title: DataTableNode type: object RecordingPropertyFilter: additionalProperties: false properties: key: anyOf: - $ref: '#/components/schemas/DurationType' - type: string title: Key label: default: null title: Label type: string nullable: true operator: $ref: '#/components/schemas/PropertyOperator' type: default: recording title: Type type: string enum: - recording value: default: null title: Value anyOf: - items: anyOf: - type: string - type: number - type: boolean type: array - type: string - type: number - type: boolean nullable: true required: - key - operator title: RecordingPropertyFilter type: object ExternalQueryErrorCode: enum: - platform_access_required - query_execution_failed title: ExternalQueryErrorCode type: string BreakdownFilter: additionalProperties: false properties: breakdown: default: null title: Breakdown anyOf: - type: string - items: anyOf: - type: string - type: integer type: array - type: integer nullable: true breakdown_group_type_index: default: null title: Breakdown Group Type Index type: integer nullable: true breakdown_hide_other_aggregation: default: null title: Breakdown Hide Other Aggregation type: boolean nullable: true breakdown_histogram_bin_count: default: null title: Breakdown Histogram Bin Count type: integer nullable: true breakdown_limit: default: null title: Breakdown Limit type: integer nullable: true breakdown_normalize_url: default: null title: Breakdown Normalize Url type: boolean nullable: true breakdown_path_cleaning: default: null title: Breakdown Path Cleaning type: boolean nullable: true breakdown_type: default: event allOf: - $ref: '#/components/schemas/BreakdownType' nullable: true breakdowns: default: null title: Breakdowns items: $ref: '#/components/schemas/Breakdown' maxItems: 3 type: array nullable: true title: BreakdownFilter type: object ActionsPie: additionalProperties: false properties: disableHoverOffset: default: null title: Disablehoveroffset type: boolean nullable: true hideAggregation: default: null title: Hideaggregation type: boolean nullable: true title: ActionsPie type: object QueryResponseAlternative65: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: {} title: Results 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: QueryResponseAlternative65 type: object RevenueAnalyticsGrossRevenueQuery: additionalProperties: false properties: breakdown: items: $ref: '#/components/schemas/RevenueAnalyticsBreakdown' title: Breakdown type: array dateRange: default: null allOf: - $ref: '#/components/schemas/DateRange' nullable: true interval: $ref: '#/components/schemas/SimpleIntervalType' kind: default: RevenueAnalyticsGrossRevenueQuery title: Kind type: string enum: - RevenueAnalyticsGrossRevenueQuery modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true properties: type: array items: $ref: '#/components/schemas/RevenueAnalyticsPropertyFilter' title: Properties response: default: null allOf: - $ref: '#/components/schemas/RevenueAnalyticsGrossRevenueQueryResponse' 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: - breakdown - interval - properties title: RevenueAnalyticsGrossRevenueQuery type: object LogAttributeResult: additionalProperties: false properties: matchedOn: description: Whether this row matched the search by attribute key or by attribute value. allOf: - $ref: '#/components/schemas/MatchedOn' matchedValue: default: null description: Sample value that matched the search — only set when matchedOn is 'value'. title: Matchedvalue type: string nullable: true name: title: Name type: string propertyFilterType: description: Either 'log_attribute' or 'log_resource_attribute'. title: Propertyfiltertype type: string required: - matchedOn - name - propertyFilterType title: LogAttributeResult type: object ExperimentVariantResultBayesian: additionalProperties: false properties: chance_to_win: default: null title: Chance To Win type: number nullable: true covariate_sum: default: null title: Covariate Sum type: number nullable: true covariate_sum_product: default: null title: Covariate Sum Product type: number nullable: true covariate_sum_squares: default: null title: Covariate Sum Squares type: number nullable: true credible_interval: default: null title: Credible Interval items: type: number maxItems: 2 minItems: 2 type: array nullable: true denominator_sum: default: null title: Denominator Sum type: number nullable: true denominator_sum_squares: default: null title: Denominator Sum Squares type: number nullable: true key: title: Key type: string method: default: bayesian title: Method type: string enum: - bayesian number_of_samples: title: Number Of Samples type: integer numerator_denominator_sum_product: default: null title: Numerator Denominator Sum Product type: number nullable: true significant: default: null title: Significant type: boolean nullable: true step_counts: default: null title: Step Counts items: type: integer type: array nullable: true step_sessions: default: null title: Step Sessions items: items: $ref: '#/components/schemas/SessionData' type: array type: array nullable: true sum: title: Sum type: number sum_squares: title: Sum Squares type: number validation_failures: default: null title: Validation Failures items: $ref: '#/components/schemas/ExperimentStatsValidationFailure' type: array nullable: true required: - key - number_of_samples - sum - sum_squares title: ExperimentVariantResultBayesian type: object RETENTION: additionalProperties: false properties: hideLineGraph: default: null title: Hidelinegraph type: boolean nullable: true hideSizeColumn: default: null title: Hidesizecolumn type: boolean nullable: true useSmallLayout: default: null title: Usesmalllayout type: boolean nullable: true title: RETENTION type: object Response20: additionalProperties: false properties: columns: default: null title: Columns items: {} type: array nullable: true error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hasMore: default: null title: Hasmore type: boolean nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true 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 query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: items: $ref: '#/components/schemas/MarketingAnalyticsItem' type: array title: Results type: array samplingRate: default: null allOf: - $ref: '#/components/schemas/SamplingRate' nullable: true 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 types: default: null title: Types items: {} type: array nullable: true required: - results title: Response20 type: object QueryResponseAlternative47: additionalProperties: false properties: error: default: null description: Query error. Returned only if 'explain' or `modifiers.debug` is true. Throws an error otherwise. title: Error type: string nullable: true hogql: default: null description: Generated HogQL query. title: Hogql type: string nullable: true modifiers: default: null description: Modifiers used when performing the query allOf: - $ref: '#/components/schemas/HogQLQueryModifiers' nullable: true query_status: default: null description: Query status indicates whether next to the provided data, a query is still running. allOf: - $ref: '#/components/schemas/QueryStatus' nullable: true resolved_date_range: default: null description: The date range used for the query allOf: - $ref: '#/components/schemas/ResolvedDateRangeResponse' nullable: true results: items: $ref: '#/components/schemas/WebVitalsPathBreakdownResult' maxItems: 1 minItems: 1 title: Results 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: - results title: QueryResponseAlternative47 type: object QueryResponseAlternative18: additionalProperties: false properties: credible_intervals: additionalProperties: items: type: number type: array title: Credible Intervals type: object expected_loss: title: Expected Loss type: number funnels_query: default: null allOf: - $ref: '#/components/schemas/FunnelsQuery' nullable: true insight: items: items: additionalProperties: true type: object type: array title: Insight type: array kind: default: ExperimentFunnelsQuery title: Kind type: string enum: - ExperimentFunnelsQuery probability: additionalProperties: type: number title: Probability type: object significance_code: $ref: '#/components/schemas/ExperimentSignificanceCode' significant: title: Significant type: boolean stats_version: default: null title: Stats Version type: integer nullable: true variants: items: $ref: '#/components/schemas/ExperimentVariantFunnelsBaseStats' title: Variants type: array required: - credible_intervals - expected_loss - insight - probability - significance_code - significant - variants title: QueryResponseAlternative18 type: object QueryResponseAlternative29: additionalProperties: false properties: data: additionalProperties: true title: Data type: object error: default: null allOf: - $ref: '#/components/schemas/ExternalQueryError' nullable: true status: $ref: '#/components/schemas/ExternalQueryStatus' required: - data - status title: QueryResponseAlternative29 type: object parameters: EnvironmentIdPath: in: path name: environment_id required: true schema: type: string description: Deprecated. Use /api/projects/{project_id}/ instead. ProjectIdPath: in: path name: project_id required: true schema: type: string description: Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. securitySchemes: PersonalAPIKeyAuth: type: http scheme: bearer x-tagGroups: - name: All endpoints tags: - LLM Analytics - actions - activity_log - activity_logs - advanced_activity_logs - alerts - annotations - approval_policies - batch_exports - cdp - change_requests - code - code-invites - cohorts - comments - conversations - core - customer_analytics - customer_journeys - customer_profile_configs - dashboard_templates - dashboards - data_color_themes - data_modeling_jobs - data_warehouse - dataset_items - datasets - desktop_recordings - domains - early_access_feature - early_access_features - elements - endpoints - environments - error_tracking - evaluation_runs - evaluations - event_definitions - event_filter - event_schemas - events - experiment_holdouts - experiment_saved_metrics - experiments - exports - external_data_schemas - external_data_sources - feature_flags - file_system - file_system_shortcut - flag_value - groups - groups_types - health_issues - heatmap_screenshots - heatmaps - hog_flows - hog_function_templates - hog_functions - insight_variables - insights - integrations - invites - js-snippet - legal_documents - lineage - live_debugger_breakpoints - llm_analytics - llm_prompts - llm_skills - logs - managed_viewsets - max - max_tools - mcp_server_installations - mcp_servers - mcp_store - mcp_tools - members - notebooks - oauth_applications - object_media_previews - organizations - persisted_folder - persons - platform_features - plugin_configs - product_analytics - product_tours - project_secret_api_keys - projects - property_definitions - proxy_records - public_hog_function_templates - query - replay - reverse_proxy - role_external_references - roles - sandbox-environments - sandbox_environments - saved - schema_property_groups - sdk_doctor - session_group_summaries - session_recording_playlists - session_recordings - session_summaries - sessions - signals - subscriptions - surveys - taggers - task-automations - task-runs - task_automations - tasks - uploaded_media - user_home_settings - user_interviews - users - visual_review - warehouse_dag - warehouse_model_paths - warehouse_saved_queries - warehouse_saved_query_folders - warehouse_tables - warehouse_view_link - warehouse_view_links - web_analytics - web_experiments - web_vitals - welcome - workflows