{
  "opencollection": "1.0.0",
  "info": {
    "name": "Amazon Connect Service Agent Statuses Metrics API",
    "version": "2017-08-08"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Amazon Connect Get Historical Metric Data",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.amazonaws.com/metrics/historical/:InstanceId",
            "params": [
              {
                "name": "InstanceId",
                "value": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE",
                "type": "path",
                "description": "The identifier of the Amazon Connect instance."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Gets historical metric data from the specified Amazon Connect instance. You can use this API to get historical data for Amazon Connect queues, routing profiles, agents, and contact flows."
        },
        {
          "info": {
            "name": "Amazon Connect Get Current Metric Data",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.amazonaws.com/metrics/current/:InstanceId",
            "params": [
              {
                "name": "InstanceId",
                "value": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE",
                "type": "path",
                "description": "The identifier of the Amazon Connect instance."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Gets the real-time metric data from the specified Amazon Connect instance. For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide."
        }
      ]
    }
  ],
  "bundled": true
}