Diagnostics - Get Site Detector Response Slot
Description for Get site detector response
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}?api-version=2025-03-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}?startTime={startTime}&endTime={endTime}&timeGrain={timeGrain}&api-version=2025-03-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
detector
|
path | True |
string |
Detector Resource Name |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
Name of the resource group to which the resource belongs. |
|
site
|
path | True |
string |
Site Name |
|
slot
|
path | True |
string |
Slot Name |
|
subscription
|
path | True |
string |
Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
|
api-version
|
query | True |
string |
API Version |
|
end
|
query |
string (date-time) |
End Time |
|
|
start
|
query |
string (date-time) |
Start Time |
|
|
time
|
query |
string pattern: PT[1-9][0-9]+[SMH] |
Time Grain |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
App Service error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
| Get App Detector Response |
| Get App Slot Detector Response |
Get App Detector Response
Sample request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability?api-version=2025-03-01
Sample response
{
"id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability",
"name": "runtimeavailability",
"properties": {
"metadata": {
"description": "This detector analyzes the requests to your application.",
"category": "Availability and Performance"
},
"dataset": [
{
"table": {
"tableName": "Table_0",
"columns": [
{
"columnName": "PreciseTimeStamp",
"dataType": "DateTime",
"columnType": "datetime"
},
{
"columnName": "count_Http2xx",
"dataType": "Int64",
"columnType": "long"
},
{
"columnName": "count_Http3xx",
"dataType": "Int64",
"columnType": "long"
},
{
"columnName": "count_Http4xx",
"dataType": "Int64",
"columnType": "long"
},
{
"columnName": "count_Http5xx",
"dataType": "Int64",
"columnType": "long"
}
],
"rows": [
[
"2018-03-27T00:25:00Z",
"772705",
"0",
"0",
"0"
],
[
"2018-03-27T00:30:00Z",
"787069",
"0",
"0",
"0"
],
[
"2018-03-27T00:35:00Z",
"781627",
"0",
"1",
"0"
],
[
"2018-03-27T00:40:00Z",
"785017",
"0",
"0",
"0"
],
[
"2018-03-27T00:45:00Z",
"783518",
"0",
"0",
"0"
],
[
"2018-03-27T00:50:00Z",
"785783",
"0",
"0",
"0"
],
[
"2018-03-27T00:55:00Z",
"772874",
"0",
"0",
"0"
],
[
"2018-03-27T01:00:00Z",
"787162",
"0",
"0",
"0"
],
[
"2018-03-27T01:05:00Z",
"782036",
"0",
"0",
"0"
],
[
"2018-03-27T01:10:00Z",
"784642",
"0",
"0",
"0"
]
]
},
"renderingProperties": {
"title": "Requests by Status Code",
"description": "This detector breaks down the number of requests that your app received for each status code."
}
}
]
}
}
Get App Slot Detector Response
Sample request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability?api-version=2025-03-01
Sample response
{
"id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability",
"name": "runtimeavailability",
"properties": {
"metadata": {
"description": "This detector analyzes the requests to your application.",
"category": "Availability and Performance"
},
"dataset": [
{
"table": {
"tableName": "Table_0",
"columns": [
{
"columnName": "PreciseTimeStamp",
"dataType": "DateTime",
"columnType": "datetime"
},
{
"columnName": "count_Http2xx",
"dataType": "Int64",
"columnType": "long"
},
{
"columnName": "count_Http3xx",
"dataType": "Int64",
"columnType": "long"
},
{
"columnName": "count_Http4xx",
"dataType": "Int64",
"columnType": "long"
},
{
"columnName": "count_Http5xx",
"dataType": "Int64",
"columnType": "long"
}
],
"rows": [
[
"2018-03-27T00:25:00Z",
"772705",
"0",
"0",
"0"
],
[
"2018-03-27T00:30:00Z",
"787069",
"0",
"0",
"0"
],
[
"2018-03-27T00:35:00Z",
"781627",
"0",
"1",
"0"
],
[
"2018-03-27T00:40:00Z",
"785017",
"0",
"0",
"0"
],
[
"2018-03-27T00:45:00Z",
"783518",
"0",
"0",
"0"
],
[
"2018-03-27T00:50:00Z",
"785783",
"0",
"0",
"0"
],
[
"2018-03-27T00:55:00Z",
"772874",
"0",
"0",
"0"
],
[
"2018-03-27T01:00:00Z",
"787162",
"0",
"0",
"0"
],
[
"2018-03-27T01:05:00Z",
"782036",
"0",
"0",
"0"
],
[
"2018-03-27T01:10:00Z",
"784642",
"0",
"0",
"0"
]
]
},
"renderingProperties": {
"title": "Requests by Status Code",
"description": "This detector breaks down the number of requests that your app received for each status code."
}
}
]
}
}
Definitions
| Name | Description |
|---|---|
|
Data |
Additional configuration for a data providers |
|
Data |
Column definition |
|
Data |
Data Table which defines columns and raw row values |
|
Default |
App Service error response. |
| Details | |
|
Detector |
Definition of Detector |
|
Detector |
Class representing Response from Detector |
|
Detector |
Whether this detector is an Analysis Detector or not. |
|
Diagnostic |
Set of data with rendering instructions |
| Error |
Error model. |
|
Insight |
Level of the most severe insight generated by the detector. |
|
Key |
|
|
Query |
Result for utterances query. |
|
Query |
Suggested utterances where the detector can be applicable |
| Rendering |
Instructions for rendering the data |
|
Rendering |
Rendering Type |
|
Sample |
Sample utterance. |
| Status |
Identify the status of the most severe insight generated by the detector. |
|
Support |
Defines a unique Support Topic |
DataProviderMetadata
Additional configuration for a data providers
| Name | Type | Description |
|---|---|---|
| propertyBag |
Settings for the data provider |
|
| providerName |
string |
DataTableResponseColumn
Column definition
| Name | Type | Description |
|---|---|---|
| columnName |
string |
Name of the column |
| columnType |
string |
Column Type |
| dataType |
string |
Data type which looks like 'String' or 'Int32'. |
DataTableResponseObject
Data Table which defines columns and raw row values
| Name | Type | Description |
|---|---|---|
| columns |
List of columns with data types |
|
| rows |
string[] |
Raw row values |
| tableName |
string |
Name of the table |
DefaultErrorResponse
App Service error response.
| Name | Type | Description |
|---|---|---|
| error |
Error model. |
Details
| Name | Type | Description |
|---|---|---|
| code |
string |
Standardized string to programmatically identify the error. |
| message |
string |
Detailed error description and debugging information. |
| target |
string |
Detailed error description and debugging information. |
DetectorInfo
Definition of Detector
| Name | Type | Description |
|---|---|---|
| analysisType |
string[] |
Analysis Types for which this detector should apply to. |
| author |
string |
Author of the detector. |
| category |
string |
Problem category. This serves for organizing group for detectors. |
| description |
string |
Short description of the detector and its purpose. |
| id |
string |
Id of detector |
| name |
string |
Name of detector |
| score |
number (float) |
Defines score of a detector to power ML based matching. |
| supportTopicList |
List of Support Topics for which this detector is enabled. |
|
| type |
Whether this detector is an Analysis Detector or not. |
DetectorResponse
Class representing Response from Detector
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource Id. |
| kind |
string |
Kind of resource. |
| name |
string |
Resource Name. |
| properties.dataProvidersMetadata |
Additional configuration for different data providers to be used by the UI |
|
| properties.dataset |
Data Set |
|
| properties.metadata |
metadata for the detector |
|
| properties.status |
Indicates status of the most severe insight. |
|
| properties.suggestedUtterances |
Suggested utterances where the detector can be applicable. |
|
| type |
string |
Resource type. |
DetectorType
Whether this detector is an Analysis Detector or not.
| Value | Description |
|---|---|
| Detector | |
| Analysis | |
| CategoryOverview |
DiagnosticData
Set of data with rendering instructions
| Name | Type | Description |
|---|---|---|
| renderingProperties |
Properties that describe how the table should be rendered |
|
| table |
Data in table form |
Error
Error model.
| Name | Type | Description |
|---|---|---|
| code |
string |
Standardized string to programmatically identify the error. |
| details |
Details[] |
Detailed errors. |
| innererror |
string |
More information to debug error. |
| message |
string |
Detailed error description and debugging information. |
| target |
string |
Detailed error description and debugging information. |
InsightStatus
Level of the most severe insight generated by the detector.
| Value | Description |
|---|---|
| Critical | |
| Warning | |
| Info | |
| Success | |
| None |
KeyValuePair[String,Object]
| Name | Type | Description |
|---|---|---|
| key |
string |
|
| value |
object |
QueryUtterancesResult
Result for utterances query.
| Name | Type | Description |
|---|---|---|
| sampleUtterance |
A sample utterance. |
|
| score |
number (float) |
Score of a sample utterance. |
QueryUtterancesResults
Suggested utterances where the detector can be applicable
| Name | Type | Description |
|---|---|---|
| query |
string |
Search Query. |
| results |
Array of utterance results for search query. |
Rendering
Instructions for rendering the data
| Name | Type | Description |
|---|---|---|
| description |
string |
Description of the data that will help it be interpreted |
| title |
string |
Title of data |
| type |
Rendering Type |
RenderingType
Rendering Type
| Value | Description |
|---|---|
| NoGraph | |
| Table | |
| TimeSeries | |
| TimeSeriesPerInstance | |
| PieChart | |
| DataSummary | |
| Insights | |
| DynamicInsight | |
| Markdown | |
| Detector | |
| DropDown | |
| Card | |
| Solution | |
| Guage | |
| Form | |
| ChangeSets | |
| ChangeAnalysisOnboarding | |
| ChangesView | |
| AppInsight | |
| DependencyGraph | |
| DownTime | |
| SummaryCard | |
| SearchComponent | |
| AppInsightEnablement |
SampleUtterance
Sample utterance.
| Name | Type | Description |
|---|---|---|
| links |
string[] |
Links attribute of sample utterance. |
| qid |
string |
Question id of sample utterance (for stackoverflow questions titles). |
| text |
string |
Text attribute of sample utterance. |
Status
Identify the status of the most severe insight generated by the detector.
| Name | Type | Description |
|---|---|---|
| message |
string |
Descriptive message. |
| statusId |
Level of the most severe insight generated by the detector. |
SupportTopic
Defines a unique Support Topic
| Name | Type | Description |
|---|---|---|
| id |
string |
Support Topic Id |
| pesId |
string |
Unique resource Id |