Share via


QueryBody interface

The Analytics query. Learn more about the Analytics query syntax

Properties

query

The query to execute.

timespan

Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

workspaces

A list of workspaces to query in addition to the primary workspace.

Property Details

query

The query to execute.

query: string

Property Value

string

timespan

Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.

timespan?: string

Property Value

string

workspaces

A list of workspaces to query in addition to the primary workspace.

workspaces?: string[]

Property Value

string[]