v2

latestSwagger 2.0Microsoft2026-07-13107468.8 KB

Execute an Analytics query

Executes an Analytics query for data. Here is an example for using POST with an Analytics query.

post/apps/{appId}/query

Path parameters

appIdstring required

ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

Request body

querystring required

The Analytics query. Learn more about the Analytics query syntax

timespanstring

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.

applicationsstring[]

Application IDs to include in cross-application queries.

Response

Successful response