{
  "opencollection": "1.0.0",
  "info": {
    "name": "New Relic Event Alerts Events API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Api-Key",
      "value": "{{Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "New Relic Send Custom Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://insights-collector.newrelic.com/v1/accounts/:accountId/events",
            "headers": [
              {
                "name": "Content-Encoding",
                "value": "gzip"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "accountId",
                "value": "42",
                "type": "path",
                "description": "The New Relic account ID to ingest events into"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sends one or more custom events to the specified New Relic account. The request body must be a JSON array of event objects. Each event must include an eventType attribute. Payloads may be gzip-compressed. Events are immediately available for querying via NRQL after processing. A single request may contain up to 2000 events and must not exceed 1 MB uncompressed."
        },
        {
          "info": {
            "name": "New Relic Get Alerts Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://insights-collector.newrelic.com/alerts_events.json",
            "params": [
              {
                "name": "filter[product]",
                "value": "example_string",
                "type": "query",
                "description": "Filter by New Relic product"
              },
              {
                "name": "filter[entity_type]",
                "value": "standard",
                "type": "query",
                "description": "Filter by entity type"
              },
              {
                "name": "filter[entity_group_id]",
                "value": "100",
                "type": "query",
                "description": "Filter by entity group ID"
              },
              {
                "name": "filter[entity_id]",
                "value": "100",
                "type": "query",
                "description": "Filter by entity ID"
              },
              {
                "name": "filter[event_type]",
                "value": "standard",
                "type": "query",
                "description": "Filter by event type"
              },
              {
                "name": "filter[incident_id]",
                "value": "100",
                "type": "query",
                "description": "Filter by incident id"
              },
              {
                "name": "page",
                "value": "100",
                "type": "query",
                "description": "Pagination index"
              }
            ]
          },
          "docs": "<strong>ðŸ”¥ This endpoint will be deprecated after 2024/01 ðŸ”¥</strong> New users should use <a href=\"https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/alerts-nerdgraph/nerdgraph-api-examples/\">these docs about managing alerts via NerdGraph.</a>\n\n<hr>\n\n<p>This API endpoint allows you to list the alert events for your account.</p>\n\n<p>Alerts events can be filter by product, target type, group ID, instance ID, and event type.</p>\n\n<p>The options for prod"
        }
      ]
    }
  ],
  "bundled": true
}