{
  "info": {
    "_postman_id": "529c4bcc-67a2-4f8e-9541-1cf46a3d60ed",
    "name": "Microsoft Azure Azure Monitor Metric Batch",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:21:26.000Z",
    "updatedAt": "2026-06-05T15:21:26.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-529c4bcc-67a2-4f8e-9541-1cf46a3d60ed"
  },
  "item": [
    {
      "name": "subscriptions",
      "item": [
        {
          "name": "{subscriptionId}",
          "item": [
            {
              "name": "metrics:getBatch",
              "item": [
                {
                  "name": "Microsoft Azure Post Subscriptions Subscriptionid Metrics:getbatch",
                  "id": "d7cee6d2-2597-43f7-bc03-7925ba2a95b4",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"resourceids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/subscriptions/:subscriptionId/metrics:getBatch?starttime=<string>&endtime=<string>&interval=PT1M&metricnamespace=<string>&metricnames=<string>,<string>&filter=<string>&api-version=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "subscriptions",
                        ":subscriptionId",
                        "metrics:getBatch"
                      ],
                      "query": [
                        {
                          "description": "The start time of the query. It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'. If you have specified the endtime parameter, then this parameter is required.\nIf only starttime is specified, then endtime defaults to the current time.\nIf no time interval is specified, the default is 1 hour.",
                          "key": "starttime",
                          "value": "<string>"
                        },
                        {
                          "description": "The end time of the query. It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'.",
                          "key": "endtime",
                          "value": "<string>"
                        },
                        {
                          "description": "The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.\n*Examples: PT15M, PT1H, P1D, FULL*",
                          "key": "interval",
                          "value": "PT1M"
                        },
                        {
                          "description": "(Required) Metric namespace that contains the requested metric names.",
                          "key": "metricnamespace",
                          "value": "<string>"
                        },
                        {
                          "description": "(Required) The names of the metrics (comma separated) to retrieve.",
                          "key": "metricnames",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "The filter is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 or B eq \u2018b2\u2019 and C eq \u2018*\u2019**<br>- Invalid variant:<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 and C eq \u2018*\u2019 or B = \u2018b2\u2019**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 and C eq \u2018c1\u2019**<br>- Return all time series where A = a1<br>**filter=A eq \u2018a1\u2019 and B eq \u2018*\u2019 and C eq \u2018*\u2019**.",
                          "key": "filter",
                          "value": "<string>"
                        },
                        {
                          "description": "(Required) Client Api Version.",
                          "key": "api-version",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "id": "9ee913c1-b310-4dc9-8ab6-f382e7b2207e",
                          "key": "subscriptionId",
                          "value": "<uuid>",
                          "description": "(Required) The subscription identifier for the resources in this batch."
                        }
                      ]
                    },
                    "description": "Lists the metric values for multiple resources."
                  },
                  "response": [
                    {
                      "id": "2afc1aea-f40d-4224-b154-ac9bf364d419",
                      "name": "The response to a metrics query.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"resourceids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/subscriptions/:subscriptionId/metrics:getBatch?starttime=<string>&endtime=<string>&interval=PT1M&metricnamespace=<string>&metricnames=<string>,<string>&filter=<string>&api-version=<string>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "subscriptions",
                            ":subscriptionId",
                            "metrics:getBatch"
                          ],
                          "query": [
                            {
                              "description": "The start time of the query. It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'. If you have specified the endtime parameter, then this parameter is required.\nIf only starttime is specified, then endtime defaults to the current time.\nIf no time interval is specified, the default is 1 hour.",
                              "key": "starttime",
                              "value": "<string>"
                            },
                            {
                              "description": "The end time of the query. It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'.",
                              "key": "endtime",
                              "value": "<string>"
                            },
                            {
                              "description": "The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.\n*Examples: PT15M, PT1H, P1D, FULL*",
                              "key": "interval",
                              "value": "PT1M"
                            },
                            {
                              "description": "(Required) Metric namespace that contains the requested metric names.",
                              "key": "metricnamespace",
                              "value": "<string>"
                            },
                            {
                              "description": "(Required) The names of the metrics (comma separated) to retrieve.",
                              "key": "metricnames",
                              "value": "<string>,<string>"
                            },
                            {
                              "description": "The filter is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 or B eq \u2018b2\u2019 and C eq \u2018*\u2019**<br>- Invalid variant:<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 and C eq \u2018*\u2019 or B = \u2018b2\u2019**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 and C eq \u2018c1\u2019**<br>- Return all time series where A = a1<br>**filter=A eq \u2018a1\u2019 and B eq \u2018*\u2019 and C eq \u2018*\u2019**.",
                              "key": "filter",
                              "value": "<string>"
                            },
                            {
                              "description": "(Required) Client Api Version.",
                              "key": "api-version",
                              "value": "<string>"
                            }
                          ],
                          "variable": [
                            {
                              "key": "subscriptionId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"values\": [\n    {\n      \"starttime\": \"<string>\",\n      \"endtime\": \"<string>\",\n      \"value\": [\n        {\n          \"value\": \"reference ../../../../common-types/v2/commonMonitoringTypes.json#/definitions/Metric not found in the OpenAPI spec\"\n        },\n        {\n          \"value\": \"reference ../../../../common-types/v2/commonMonitoringTypes.json#/definitions/Metric not found in the OpenAPI spec\"\n        }\n      ],\n      \"interval\": \"<string>\",\n      \"namespace\": \"<string>\",\n      \"resourceregion\": \"<string>\",\n      \"resourceid\": \"<string>\"\n    },\n    {\n      \"starttime\": \"<string>\",\n      \"endtime\": \"<string>\",\n      \"value\": [\n        {\n          \"value\": \"reference ../../../../common-types/v2/commonMonitoringTypes.json#/definitions/Metric not found in the OpenAPI spec\"\n        },\n        {\n          \"value\": \"reference ../../../../common-types/v2/commonMonitoringTypes.json#/definitions/Metric not found in the OpenAPI spec\"\n        }\n      ],\n      \"interval\": \"<string>\",\n      \"namespace\": \"<string>\",\n      \"resourceregion\": \"<string>\",\n      \"resourceid\": \"<string>\"\n    }\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:27.000Z",
                      "updatedAt": "2026-06-05T15:21:27.000Z",
                      "uid": "35240-2afc1aea-f40d-4224-b154-ac9bf364d419"
                    },
                    {
                      "id": "21ca3f43-132b-448e-a91c-2518a75af3e8",
                      "name": "Describes the format of Error response.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"resourceids\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/subscriptions/:subscriptionId/metrics:getBatch?starttime=<string>&endtime=<string>&interval=PT1M&metricnamespace=<string>&metricnames=<string>,<string>&filter=<string>&api-version=<string>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "subscriptions",
                            ":subscriptionId",
                            "metrics:getBatch"
                          ],
                          "query": [
                            {
                              "description": "The start time of the query. It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'. If you have specified the endtime parameter, then this parameter is required.\nIf only starttime is specified, then endtime defaults to the current time.\nIf no time interval is specified, the default is 1 hour.",
                              "key": "starttime",
                              "value": "<string>"
                            },
                            {
                              "description": "The end time of the query. It is a string in the format 'yyyy-MM-ddTHH:mm:ss.fffZ'.",
                              "key": "endtime",
                              "value": "<string>"
                            },
                            {
                              "description": "The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.\n*Examples: PT15M, PT1H, P1D, FULL*",
                              "key": "interval",
                              "value": "PT1M"
                            },
                            {
                              "description": "(Required) Metric namespace that contains the requested metric names.",
                              "key": "metricnamespace",
                              "value": "<string>"
                            },
                            {
                              "description": "(Required) The names of the metrics (comma separated) to retrieve.",
                              "key": "metricnames",
                              "value": "<string>,<string>"
                            },
                            {
                              "description": "The filter is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 or B eq \u2018b2\u2019 and C eq \u2018*\u2019**<br>- Invalid variant:<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 and C eq \u2018*\u2019 or B = \u2018b2\u2019**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**filter=A eq \u2018a1\u2019 and B eq \u2018b1\u2019 and C eq \u2018c1\u2019**<br>- Return all time series where A = a1<br>**filter=A eq \u2018a1\u2019 and B eq \u2018*\u2019 and C eq \u2018*\u2019**.",
                              "key": "filter",
                              "value": "<string>"
                            },
                            {
                              "description": "(Required) Client Api Version.",
                              "key": "api-version",
                              "value": "<string>"
                            }
                          ],
                          "variable": [
                            {
                              "key": "subscriptionId"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Error code for specific error that occurred.",
                            "type": "text/plain"
                          },
                          "key": "x-ms-error-code",
                          "value": "<string>"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"value\": \"reference ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse not found in the OpenAPI spec\"\n}",
                      "createdAt": "2026-06-05T15:21:27.000Z",
                      "updatedAt": "2026-06-05T15:21:27.000Z",
                      "uid": "35240-21ca3f43-132b-448e-a91c-2518a75af3e8"
                    }
                  ],
                  "createdAt": "2026-06-05T15:21:27.000Z",
                  "updatedAt": "2026-06-05T15:21:27.000Z",
                  "uid": "35240-d7cee6d2-2597-43f7-bc03-7925ba2a95b4"
                }
              ],
              "id": "f18bb109-c13d-445e-9819-f64b5f314bc3",
              "createdAt": "2026-06-05T15:21:27.000Z",
              "updatedAt": "2026-06-05T15:21:27.000Z",
              "uid": "35240-f18bb109-c13d-445e-9819-f64b5f314bc3"
            }
          ],
          "id": "39986dac-d192-46ae-94c0-8cbe4a2da037",
          "createdAt": "2026-06-05T15:21:27.000Z",
          "updatedAt": "2026-06-05T15:21:27.000Z",
          "uid": "35240-39986dac-d192-46ae-94c0-8cbe4a2da037"
        }
      ],
      "id": "d2cfa357-0fea-423d-8195-3516a8a99074",
      "createdAt": "2026-06-05T15:21:27.000Z",
      "updatedAt": "2026-06-05T15:21:27.000Z",
      "uid": "35240-d2cfa357-0fea-423d-8195-3516a8a99074"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "https://metrics.monitor.azure.com/.default",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "client_credentials",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "endpoint",
      "value": "none"
    },
    {
      "key": "baseUrl",
      "value": "{{endpoint}}"
    }
  ]
}