# StructuredAnalyticsQuery

**Type**: `object`

## Properties

- name: end (required)
  type: string
  description: End of the time interval to query.

- name: from (required)
  type: string
  description: Logical table alias to query.

- name: groupBy (optional)
  type: array of string
  description: Grepr SQL expressions or projection aliases used for grouping. An expression may reference projection aliases.

- name: having (optional)
  type: string
  description: Optional Grepr SQL expression applied after aggregation. The expression may reference projection aliases.

- name: limit (optional)
  type: integer
  description: Maximum number of result rows.

- name: orderBy (optional)
  type: array of `AnalyticsOrderBy`
  description: Ordering applied to the analytical results.

- name: predicate (required)
  type: `EventPredicate`

- name: select (required)
  type: array of `AnalyticsProjection`
  description: Expressions returned by the query.

- name: start (required)
  type: string
  description: Start of the time interval to query.

- name: variables (optional)
  type: object
  description: Variables available while parsing the predicate.

- name: window (optional)
  type: `AnalyticsTimeWindow`
