{
  "opencollection": "1.0.0",
  "info": {
    "name": "Akamai: API Endpoint Definition Access tokens Reports API",
    "version": "2"
  },
  "items": [
    {
      "info": {
        "name": "Reports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Akamai List Reports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/reports",
            "params": [
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ]
          },
          "docs": "View a list of available reports. The data in these reports is also available in the [EdgeWorkers Management application](https://techdocs.akamai.com/edgeworkers/docs/manage-report-data)."
        },
        {
          "info": {
            "name": "Akamai Get an EdgeWorker Report",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/reports/:reportId",
            "params": [
              {
                "name": "reportId",
                "value": "{{reportId}}",
                "type": "path",
                "description": "Unique identifier of an EdgeWorker report."
              },
              {
                "name": "start",
                "value": "{{start}}",
                "type": "query",
                "description": "ISO 8601 timestamp indicating the start time of the EdgeWorker report."
              },
              {
                "name": "end",
                "value": "{{end}}",
                "type": "query",
                "description": "ISO 8601 timestamp indicating the end time of the EdgeWorker report. If not specified, the end time defaults to the current time."
              },
              {
                "name": "edgeWorker",
                "value": "{{edgeWorker}}",
                "type": "query",
                "description": "Filter by EdgeWorker ID such as `42` or more specific version such as `42-1.0`."
              },
              {
                "name": "status",
                "value": "{{status}}",
                "type": "query",
                "description": "__Enum__ Filter by the EdgeWorker status, either `success`, `genericError`, `unknownEdgeWorkerId`, `unimplementedEventHandler`, `runtimeError`, `executionError`, `timeoutError`, `resourceLimitHit`, `cpuTimeoutError`, `wallTimeoutError`, `initCpuTimeoutError`, or `initWallTimeoutError`."
              },
              {
                "name": "eventHandler",
                "value": "{{eventHandler}}",
                "type": "query",
                "description": "__Enum__ Filter EdgeWorkers by the event that triggers them, either `onClientRequest`, `onOriginRequest`, `onOriginResponse`, `onClientResponse`, or `responseProvider`."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ]
          },
          "docs": "View details for a specific EdgeWorker."
        }
      ]
    }
  ],
  "bundled": true
}