New Relic · Schema

New Relic Event API Payload

Schema for custom event data payloads submitted to the New Relic Event API. Represents an array of custom event objects, each with a required eventType and any number of user-defined attribute key-value pairs. Events are stored in NRDB and queryable via NRQL.

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform
View JSON Schema on GitHub

JSON Schema

new-relic-event-payload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.newrelic.com/schemas/telemetry/event-payload.json",
  "title": "New Relic Event API Payload",
  "description": "Schema for custom event data payloads submitted to the New Relic Event API. Represents an array of custom event objects, each with a required eventType and any number of user-defined attribute key-value pairs. Events are stored in NRDB and queryable via NRQL.",
  "type": "array",
  "maxItems": 2000,
  "items": {
    "$ref": "#/$defs/CustomEvent"
  },
  "$defs": {
    "CustomEvent": {
      "type": "object",
      "description": "A single custom event. Must include eventType. All other keys are user-defined attributes stored as event fields in NRDB.",
      "required": ["eventType"],
      "properties": {
        "eventType": {
          "type": "string",
          "description": "The event type name used as the NRDB table. Must match [a-zA-Z0-9:_ ]+ and not exceed 255 characters. Cannot start with nr. (reserved).",
          "maxLength": 255,
          "pattern": "^[a-zA-Z0-9:_ ]+$"
        },
        "timestamp": {
          "type": "integer",
          "description": "Unix epoch timestamp in seconds when the event occurred. If omitted, the ingestion time is used. Cannot be more than 48 hours in the past or 24 hours in the future.",
          "examples": [1645564509]
        }
      },
      "additionalProperties": {
        "description": "User-defined event attribute. Keys must not start with nr. (reserved). String values are limited to 4096 characters.",
        "oneOf": [
          {
            "type": "string",
            "maxLength": 4096
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ]
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/new-relic-event-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.