v2

latestSwagger 2.0Microsoft2026-07-13107468.8 KB

Execute OData query

Executes an OData query for events

get/apps/{appId}/events/{eventType}

Path parameters

appIdstring required

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

eventType'$all' | 'traces' | 'customEvents' | 'pageViews' | 'browserTimings' | 'requests' | 'dependencies' | 'exceptions' | 'availabilityResults' | 'performanceCounters' | 'customMetrics' required

The type of events to query; either a standard event type (traces, customEvents, pageViews, requests, dependencies, exceptions, availabilityResults) or $all to query across all event types.

Query parameters

timespanstring

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

$filterstring

An expression used to filter the returned events

$searchstring

A free-text search expression to match for whether a particular event should be returned

$orderbystring

A comma-separated list of properties with "asc" (the default) or "desc" to control the order of returned events

$selectstring

Limits the properties to just those requested on each returned event

$skipinteger

The number of items to skip over before returning events

$topinteger

The number of events to return

$formatstring

Format for the returned events

$countboolean

Request a count of matching items included with the returned events

$applystring

An expression used for aggregation over returned events

Response

Successful response

@odata.contextstring

OData context metadata endpoint for this response