There is a basic example in the documentation for configuring the integration. The full library of helper functions that allow you to interact with that API is in the "AIOPS_Utils" policy. There are functions in there that allow you to query, insert and modify events, alerts and incidents.
For example, the following policy will pull the current list of alerts:
Load('AIOPS_Utils');
// <UUID> should be obtained by following the instructions in the above documentation
var alerts = aiopsUtils.getAlertsDSA("AIOps-<UUID>");
Log("Alerts are:" + JSON.stringify(alerts, null, 2));
It is also possible to use the REST data source directly, which will allow you to use any of the APIs listed in this documentation.
------------------------------
MATTHEW THORNHILL
------------------------------