Monitoring API#
Query provider metrics and manage monitoring dashboards and alert rules. See Cloud dashboards.
All paths are relative to the base URL and need the authentication described in REST API. Each operation lists the Reply CMP permissions its caller must hold.
Metric queries#
Run metric queries#
POST /monitoring/query/execute
Runs one or more metric queries against the provider monitoring APIs.
Permissions: Monitoring.MonitoringDashboard/Read
Request body (application/json, required): ExecuteWidgetQueryRequest
{
"connectionIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryType": "AzureMetrics",
"queryDefinition": {},
"timeRange": {
"preset": "string",
"start": "2026-01-31T09:00:00Z",
"end": "2026-01-31T09:00:00Z"
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of MonitoringQueryResult |
|
The request is invalid. The body describes the validation errors. |
List metric namespaces#
GET /monitoring/query/{connectionId}/namespaces
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of MetricNamespaceEntry |
|
The resource does not exist in the tenant. |
List metrics of a namespace#
GET /monitoring/query/{connectionId}/metrics
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of MetricEntry |
|
The resource does not exist in the tenant. |
List log workspaces#
GET /monitoring/query/{connectionId}/workspaces
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of WorkspaceEntry |
|
The resource does not exist in the tenant. |
List dimensions of a metric#
GET /monitoring/query/{connectionId}/dimensions
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string |
Yes |
|
|
query |
string |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of string |
|
The resource does not exist in the tenant. |
List values of a metric dimension#
GET /monitoring/query/{connectionId}/dimension-values
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string |
Yes |
|
|
query |
string |
Yes |
|
|
query |
string |
Yes |
|
|
query |
string |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of string |
|
The resource does not exist in the tenant. |
List resources with metrics#
GET /monitoring/query/{connectionId}/resources
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of ResourceEntry |
|
The resource does not exist in the tenant. |
Dashboards#
List monitoring dashboards#
GET /monitoring/dashboard
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Create a monitoring dashboard#
POST /monitoring/dashboard
Permissions: Monitoring.MonitoringDashboard/Write
Request body (application/json, required): CreateMonitoringDashboardRequest
{
"name": "string",
"description": "string",
"layout": {
"widgets": [
{
"id": "string",
"type": "string",
"position": {
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"minW": 0,
"minH": 0
},
"settings": {}
}
],
"gridColumns": 0,
"rowHeight": 0
},
"isDefault": false
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The request conflicts with the current state of the resource. |
Get a monitoring dashboard#
GET /monitoring/dashboard/{dashboardId}
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Update a monitoring dashboard#
PUT /monitoring/dashboard/{dashboardId}
Permissions: Monitoring.MonitoringDashboard/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): UpdateMonitoringDashboardRequest
{
"name": "string",
"description": "string",
"layout": {
"widgets": [
{
"id": "string",
"type": "string",
"position": {
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"minW": 0,
"minH": 0
},
"settings": {}
}
],
"gridColumns": 0,
"rowHeight": 0
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Delete a monitoring dashboard#
DELETE /monitoring/dashboard/{dashboardId}
Permissions: Monitoring.MonitoringDashboard/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Set the default monitoring dashboard#
PUT /monitoring/dashboard/{dashboardId}/default
Permissions: Monitoring.MonitoringDashboard/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Unset the default monitoring dashboard#
DELETE /monitoring/dashboard/{dashboardId}/default
Permissions: Monitoring.MonitoringDashboard/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Export a monitoring dashboard#
GET /monitoring/dashboard/{dashboardId}/export
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
The dashboard definition as a JSON file, which the import operation accepts. |
|
|
The resource does not exist in the tenant. |
Import a monitoring dashboard#
POST /monitoring/dashboard/import
Permissions: Monitoring.MonitoringDashboard/Write
Request body (application/json, required): ReplyCmpDashboardFile
{
"replyCmpDashboardVersion": "string",
"name": "string",
"description": "string",
"exportedAt": "2026-01-31T09:00:00Z",
"layout": {
"widgets": [
{
"id": "string",
"type": "string",
"position": {
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"minW": 0,
"minH": 0
},
"settings": {}
}
],
"gridColumns": 0,
"rowHeight": 0
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
List monitoring dashboard audit events#
GET /monitoring/dashboard/events
Permissions: Monitoring.MonitoringDashboard/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Alert rules#
List alert rules#
GET /monitoring/alert-rules
Permissions: Monitoring.AlertRule/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of AlertRuleEntry |
Create an alert rule#
POST /monitoring/alert-rules
Permissions: Monitoring.AlertRule/Write
Request body (application/json, required): CreateAlertRuleBody
{
"name": "string",
"description": "string",
"connectionIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryType": "AzureMetrics",
"queryDefinition": {},
"condition": {
"operator": "Gt",
"threshold": 0,
"target": "LastValue",
"evaluationWindowMinutes": 60
},
"notificationSettings": {
"sendInApp": true,
"sendEmail": false,
"emailRecipients": [
"string"
],
"webhookIntegrationIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
},
"evaluationIntervalMinutes": 5,
"notificationCooldownMinutes": 30,
"sourceDashboardId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
Get an alert rule#
GET /monitoring/alert-rules/{id}
Permissions: Monitoring.AlertRule/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Update an alert rule#
PUT /monitoring/alert-rules/{id}
Permissions: Monitoring.AlertRule/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): UpdateAlertRuleBody
{
"name": "string",
"description": "string",
"connectionIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryType": "AzureMetrics",
"queryDefinition": {},
"condition": {
"operator": "Gt",
"threshold": 0,
"target": "LastValue",
"evaluationWindowMinutes": 60
},
"notificationSettings": {
"sendInApp": true,
"sendEmail": false,
"emailRecipients": [
"string"
],
"webhookIntegrationIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
},
"evaluationIntervalMinutes": 0,
"notificationCooldownMinutes": 0,
"sourceDashboardId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
string |
Delete an alert rule#
DELETE /monitoring/alert-rules/{id}
Permissions: Monitoring.AlertRule/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
string |
Enable or disable an alert rule#
PUT /monitoring/alert-rules/{id}/enabled
Permissions: Monitoring.AlertRule/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): ToggleAlertRuleBody
{
"enabled": false
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
string |
Get the evaluation history of an alert rule#
GET /monitoring/alert-rules/{id}/history
Permissions: Monitoring.AlertRule/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
array of MonitoringAlertHistoryEntry |
|
The resource does not exist in the tenant. |
Evaluate an alert rule now#
POST /monitoring/alert-rules/{id}/evaluate
Permissions: Monitoring.AlertRule/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
string |