Operations 1
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
POST
/v1/accounts/{accountId}/events
Send custom events to an account · New Relic Send Custom Events
#
Ask an LLM
“How do I send my own custom events into New Relic so I can query them with NRQL?”
“Does every custom event need an eventType attribute?”
Tell an agent
Send these custom events to account {accountId}.
Post a gzip-compressed batch of custom events to account {accountId} using {encoding} encoding.
Documentation
Documentation
https://docs.newrelic.com/docs/apis/rest-api-v2/get-started/introduction-new-relic-rest-api-v2/
Authentication
https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/
APIReference
https://docs.newrelic.com/docs/apis/rest-api-v2/api-explorer-v2/introduction-new-relics-rest-api-explorer/
Documentation
https://docs.newrelic.com/docs/data-apis/ingest-apis/metric-api/introduction-metric-api/
APIReference
https://docs.newrelic.com/docs/data-apis/ingest-apis/metric-api/report-metrics-metric-api/
RateLimits
https://docs.newrelic.com/docs/data-apis/ingest-apis/metric-api/metric-api-limits-restricted-attributes/
Documentation
https://docs.newrelic.com/docs/data-apis/ingest-apis/event-api/introduction-event-api/
RateLimits
https://docs.newrelic.com/docs/data-apis/custom-data/custom-events/data-requirements-limits-custom-event-data/
Documentation
https://docs.newrelic.com/docs/logs/log-api/introduction-log-api/
APIReference
https://docs.newrelic.com/docs/logs/forward-logs/enable-log-management-new-relic/
Documentation
https://docs.newrelic.com/docs/distributed-tracing/trace-api/introduction-trace-api/
APIReference
https://docs.newrelic.com/docs/distributed-tracing/trace-api/trace-api-general-requirements-limits/
RateLimits
https://docs.newrelic.com/docs/distributed-tracing/trace-api/trace-api-general-requirements-limits/
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-label-body-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-label-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-browser-application-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-label-origins-response-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-label-links-response-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-label-response-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-browser-application-body-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-browser-application-response-type-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-browser-application-response-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-label-response-type-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/openapi-label-links-body-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/new-relic-metric-payload-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/new-relic-event-payload-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/event-api-success-response-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/event-api-custom-event-schema.json
JSONSchema
https://artifacts.apis.io/new-relic/json-schema/event-api-event-payload-schema.json
Other Resources
JSONLD
https://artifacts.apis.io/new-relic/json-ld/new-relic-openapi-context.jsonld
JSONLD
https://artifacts.apis.io/new-relic/json-ld/new-relic-metric-api-context.jsonld
JSONLD
https://artifacts.apis.io/new-relic/json-ld/new-relic-event-api-context.jsonld
JSONLD
https://artifacts.apis.io/new-relic/json-ld/new-relic-log-api-context.jsonld
JSONLD
https://artifacts.apis.io/new-relic/json-ld/new-relic-trace-api-context.jsonld