Azure Monitor · Schema

SubscriptionScopeMetricsRequestBody

Application InsightsCloudLogsMetricsMonitoringObservability

Properties

Name Type Description
timespan string The timespan of the query.
interval string The interval (window size) of the query.
metricNames string The names of the metrics (comma-separated) to retrieve.
aggregation string The list of aggregation types to retrieve.
filter string The $filter used to reduce the set of metric data returned.
top integer The maximum number of records to retrieve.
orderBy string The aggregation to use for sorting results.
rollUpBy string Dimension name(s) to rollup results by.
resultType string Reduces the set of data collected.
metricNamespace string Metric namespace to query metric definitions for.
autoAdjustTimegrain boolean Auto-adjust the time grain based on the timespan.
validateDimensions boolean Validate dimension filter parameter values.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-monitor-subscriptionscopemetricsrequestbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SubscriptionScopeMetricsRequestBody",
  "title": "SubscriptionScopeMetricsRequestBody",
  "type": "object",
  "properties": {
    "timespan": {
      "type": "string",
      "description": "The timespan of the query."
    },
    "interval": {
      "type": "string",
      "description": "The interval (window size) of the query."
    },
    "metricNames": {
      "type": "string",
      "description": "The names of the metrics (comma-separated) to retrieve."
    },
    "aggregation": {
      "type": "string",
      "description": "The list of aggregation types to retrieve."
    },
    "filter": {
      "type": "string",
      "description": "The $filter used to reduce the set of metric data returned."
    },
    "top": {
      "type": "integer",
      "format": "int32",
      "description": "The maximum number of records to retrieve."
    },
    "orderBy": {
      "type": "string",
      "description": "The aggregation to use for sorting results."
    },
    "rollUpBy": {
      "type": "string",
      "description": "Dimension name(s) to rollup results by."
    },
    "resultType": {
      "type": "string",
      "enum": [
        "Data",
        "Metadata"
      ],
      "description": "Reduces the set of data collected."
    },
    "metricNamespace": {
      "type": "string",
      "description": "Metric namespace to query metric definitions for."
    },
    "autoAdjustTimegrain": {
      "type": "boolean",
      "description": "Auto-adjust the time grain based on the timespan."
    },
    "validateDimensions": {
      "type": "boolean",
      "description": "Validate dimension filter parameter values."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-monitor-subscriptionscopemetricsrequestbody"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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