New Relic · Schema

MetricDataResponse

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

Properties

Name Type Description
metric_data object
View JSON Schema on GitHub

JSON Schema

new-relic-metric-data-response-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "metric_data": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "format": "date-time",
          "example": "2026-04-18T14:30:00Z"
        },
        "metrics": {
          "type": "array",
          "example": [
            {
              "name": "example-resource-01",
              "timeslices": [
                {}
              ]
            }
          ],
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "example": "example-resource-01"
              },
              "timeslices": {
                "type": "array",
                "example": [
                  {
                    "from": "2026-04-18T14:30:00Z",
                    "to": "2026-04-18T14:30:00Z",
                    "values": {}
                  }
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "from": {
                      "type": "object"
                    },
                    "to": {
                      "type": "object"
                    },
                    "values": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "metrics_found": {
          "type": "string",
          "example": "example_string"
        },
        "metrics_not_found": {
          "type": "string",
          "example": "example_string"
        },
        "to": {
          "type": "string",
          "format": "date-time",
          "example": "2026-04-18T14:30:00Z"
        }
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MetricDataResponse"
}