New Relic Metric Metric Payload Structure
An array of metric data objects to be ingested
MetricPayload is a JSON Structure definition published by New Relic. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
Meta-schema: https://json-structure.org/draft/2020-12/schema
JSON Structure
{
"type": "array",
"description": "An array of metric data objects to be ingested",
"name": "MetricPayload",
"items": {
"type": "object",
"description": "A container for a batch of metrics with optional shared attributes",
"properties": {
"common": {
"type": "object",
"description": "Shared attributes applied to all metrics in this data object unless overridden at the metric level",
"properties": {
"timestamp": {
"type": "integer",
"description": "Unix timestamp in milliseconds for all metrics in this batch"
},
"interval.ms": {
"type": "integer",
"description": "Default measurement interval in milliseconds for count and summary metrics"
},
"attributes": {
"type": "object",
"description": "Key-value pairs applied to all metrics in the batch. Values can be strings, numbers, or booleans."
}
}
},
"metrics": {
"type": "array",
"description": "Array of individual metric data points",
"items": {
"type": "object",
"description": "A single metric data point",
"properties": {
"name": {
"type": "string",
"description": "The metric name (e.g., cpu.usage.percent)"
},
"type": {
"type": "string",
"description": "The metric type",
"enum": [
"gauge",
"count",
"summary"
]
},
"value": {
"type": "object",
"description": "The metric value. For gauge and count, a number. For summary, an object with count, sum, min, and max fields."
},
"timestamp": {
"type": "integer",
"description": "Unix timestamp in milliseconds. Overrides the common timestamp for this metric."
},
"interval.ms": {
"type": "integer",
"description": "Measurement interval in milliseconds. Required for count and summary types."
},
"attributes": {
"type": "object",
"description": "Additional key-value attributes for this metric point"
}
},
"required": [
"name",
"type",
"value"
]
}
}
},
"required": [
"metrics"
]
},
"$schema": "https://json-structure.org/draft/2020-12/schema"
}
Work with this as data
Every JSON Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/new-relic-metric-metric-payload-structure"
curl "https://apis.io/api/v1/json-structures?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.