Microsoft Azure Metrics API

The Metrics API from Microsoft Azure, for metrics.

GitHub OpenAPI
Business capability
Observability Management BC-4220.20

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metrics/{metricName}/groups/{groupName} Get server metrics for a Connect Health service · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“How do I pull server metric values for a Connect Health service by metric and group?”
“Can I limit Connect Health service metrics to a date range?”
Tell an agent
Get metric {metric} group {group} values for Connect Health service {service}.
Get {metric} metrics in group {group} for service {service} from {from} to {to}.
GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metrics/{metricName}/groups/{groupName}/average Get the average of a Connect Health metric · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“What's the average value of a Connect Health metric for a group?”
“Can I get an averaged figure instead of raw metric values for my sync service?”
Tell an agent
Get the average of metric {metric} in group {group} for service {service}.
Show averaged {metric} values for group {group} on Connect Health service {service}.
GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metrics/{metricName}/groups/{groupName}/sum Get the sum of a Connect Health metric · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“How can I get the total (sum) of a Connect Health metric for a group?”
“Is there a way to add up all values of a service metric in one call?”
Tell an agent
Get the sum of metric {metric} in group {group} for service {service}.
Total the {metric} values for group {group} on Connect Health service {service}.
GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata List metric metadata for a Connect Health service · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“Which metrics are available for my Connect Health service?”
“Can I list only performance-counter metrics for a service?”
Tell an agent
List metric metadata for Connect Health service {service}.
List metric definitions for service {service} filtered by {filter}.
GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName} Get metadata for one Connect Health metric · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“How do I see the definition and groupings of one specific Connect Health metric?”
“What metadata does a single service metric expose?”
Tell an agent
Get metadata for metric {metric} on Connect Health service {service}.
Describe the metric {metric} of service {service}.
GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName}/groups/{groupName} Get metric metadata for a metric group · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“Can I get the metric metadata for one metric and group combination?”
“What series does a Connect Health metric group include over a date window?”
Tell an agent
Get metadata for metric {metric} group {group} on service {service}.
Show metric metadata for {metric} group {group} on {service} between {from} and {to}.
GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/metrics/{metricName}/groups/{groupName} Get metrics for one server in a service · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“How do I get metric values for one specific server onboarded to Connect Health?”
“Can I pull a single server's metrics for a date range?”
Tell an agent
Get metric {metric} group {group} for server {member} in service {service}.
Get {metric} values in group {group} for server {member} of {service} from {from} to {to}.
GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/metrics/{metricName} List connectors and run profiles for a server · Microsoft Azure Get Providers Microsoft Adhybridhealthservice Services… #
Ask an LLM
“Which sync connectors and run profile names does a Connect Health server report?”
“Can I list run profiles per connector for one sync server?”
Tell an agent
List connectors and run profile names for metric {metric} on server {member} in {service}.
Show connector metadata for server {member} of service {service}, metric {metric}.
POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProvider}/{resourceTypeName}/{resourceName}/metrics Send custom metric values for a resource · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I push custom metric values to Azure Monitor for a resource?”
“Can I post my own metric data points with a timestamp?”
Tell an agent
Post metric data {data} at time {time} for resource {resource} of type {type} in {group}.
Emit custom metrics for {resource} under provider {provider}, type {type}, group {group}, subscription {subscription}.
POST /subscriptions/{subscriptionId}/metrics:getBatch Query metrics for many resources in one batch · Microsoft Azure Post Subscriptions Subscriptionid Metrics:getbatch #
Ask an LLM
“Can I fetch the same metrics for many resources in a single call?”
“How do I batch-query Azure Monitor metric values across a list of resource IDs?”
Tell an agent
Get metrics {metrics} in namespace {namespace} for resources {resources}.
Batch-fetch {metrics} from {namespace} in subscription {subscription} between {start} and {end}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Insights/metrics List metric data for a subscription · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Insights… #
Ask an LLM
“How do I get Azure Monitor metric data across my whole subscription?”
“Can I query subscription-level metrics for a timespan and interval using query parameters?”
Tell an agent
List subscription metrics {metrics} over {timespan}.
Get subscription-scope metric data at interval {interval} filtered by {filter}.
POST /subscriptions/{subscriptionId}/providers/Microsoft.Insights/metrics Query subscription metrics with a request body · Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Insights… #
Ask an LLM
“Can I send subscription metric query options in a POST body instead of the URL?”
“Which subscription metrics query lets me set top, order by and roll-up in the body?”
Tell an agent
Query subscription metrics {metrics} in the request body with aggregation {aggregation}.
POST a subscription metrics query for the top {top} series ordered by {order}.
GET /{resourceUri}/providers/Microsoft.Insights/metrics List metric values for a resource · Microsoft Azure Get Resourceuri Providers Microsoft Insights Metrics #
Ask an LLM
“How do I read Azure Monitor metric values for a single resource over a timespan?”
“Can I pick metric names and a time grain when querying a resource's metrics?”
Tell an agent
List metrics {metrics} for resource {resourceUri} over {timespan} at interval {interval}.
Get resource metric values with result type {resultType}.
GET /{resourceUri}/providers/microsoft.insights/metrics List resource metrics via the filter-only endpoint · Microsoft Azure Get Resourceuri Providers Microsoft Insights Metrics #
Ask an LLM
“Is there an older resource metrics endpoint that only takes an OData filter?”
“Can I get resource metric values using just a $filter expression on the lowercase microsoft.insights path?”
Tell an agent
List metric values for resource {resourceUri} on the filter-only endpoint with {filter}.
Use the lowercase microsoft.insights metrics path to fetch values matching {filter}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2014-01-01'
  title: Microsoft Azure ADHybridHealthService Metrics API
  description: REST APIs for Azure Active Directory Connect Health
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:


# --- truncated at 32 KB (50 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure/openapi/microsoft-azure-metrics-api-openapi.yml