Events API

The events API allows you to consume events generated by CloudWisdom. You can either grab a list of events generated by CloudWisdom or grab an individual event by its ID. To explore CloudWisdom’s REST API and test some requests, go here.

Request Header

Header Name Header Value
Content-Type application/json


POST to /ingest/events/{apiId}

Creates an external event within CloudWisdom.

    "source": "My Custom Datasource",
    "title": "Server message 2",
    "tags": [
        "name": "Event Tag",
        "value": "External"
    "type": "INFO",
    "data": {
      "elementId": "us-east-1:i-123a4567",
      "level": "WARNING",
      "message": "WARNING: Event is triggering!"


This method utilizes the Ingest API endpoint.

Replace {apiId} in the above URL with the API key from your Custom integration. To access this key, click Integrations in the user account drop-down menu in the top right-hand corner of CloudWisdom, then find the CUSTOM integration and copy the API key from the API Key column.


Parameters Required/Optional Description
events Required Body parameter; see below
apiId Required URL (path) parameter; your API key.
X-Netuitive-Api-Options Optional Header parameter. Two values you can include: The value SEND_RESPONSE_BODY if you desire a detailed “Success Response” body. The value INJECT_TIMESTAMP if you want the custom ingest service to inject the current server timestamp into the element sample’s “timestamp” property.

Body Attributes

Attribute Required/Optional Description
type Required The type attribute tells CloudWisdom what type of event this is; valid inputs are INFO, WARNING, or CRITICAL.
tags Optional You can tag events to enable filtering in CloudWisdom by passing in keys and values. The format for tags is [{“name”:”key1″, “value”:”value1″}, {“name”:”key2″, “value”:”value2″}, (etc.)]
data Required The data attribute provides CloudWisdom with the content for the actual event. It contains three attributes: elementId (required): This should contain the fully qualified name (fqn) of the element you wish to generate an external event for. level (optional): The severity level of the event. Valid inputs are Info, Warning, or Critical. If values are set at both level and type, the level value will take precedence since it’s closer to the message itself and more specific. message (optional): The message text generated for the event.
source optional Source of the event. This is set to the ingested integration if the value is missing.
title required Title of the event
timestamp optional You can define a timestamp, but it must be in the epoch format. If you do not define a timestamp, CloudWisdom will create one for you.


GET from /events/delete/{eventID}

Returns an event based on the ID you pass into the URL. Replace {eventId} in the above URL with the event ID from any of your events.

Parameters Required/Optional Description
policyId Required URL (path) parameter. The ID of the policy.