{
  "opencollection": "1.0.0",
  "info": {
    "name": "PureCloud Platform Agent Assistants Operational Events API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "Operational Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all operational event definitions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/usage/events/definitions"
          },
          "docs": "Get all operational event definitions"
        },
        {
          "info": {
            "name": "Get an operational event definition by its id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/usage/events/definitions/:eventDefinitionId",
            "params": [
              {
                "name": "eventDefinitionId",
                "value": "",
                "type": "path",
                "description": "EventDefinition id"
              }
            ]
          },
          "docs": "Get an operational event definition by its id"
        },
        {
          "info": {
            "name": "Query operational events in a timeframe.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/usage/events/query",
            "params": [
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "The cursor that points to the start of the set of entities that has been returned."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "The cursor that points to the end of the set of entities that has been returned."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of entities to return. Maximum of 200."
              }
            ]
          },
          "docs": "Query operational events in a timeframe."
        },
        {
          "info": {
            "name": "Get aggregates for operational events in a timeframe.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/usage/events/aggregates/query"
          },
          "docs": "Get aggregates for operational events in a timeframe."
        }
      ]
    }
  ],
  "bundled": true
}