New Relic · Schema

MetricDataResponseType

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

Properties

Name Type Description
from string
metrics array
metrics_found string
metrics_not_found string
to string
View JSON Schema on GitHub

JSON Schema

new-relic-metric-data-response-type-schema.json Raw ↑
{
  "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": "string",
                  "format": "date-time",
                  "example": "2026-04-18T14:30:00Z"
                },
                "to": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2026-04-18T14:30:00Z"
                },
                "values": {
                  "type": "object",
                  "example": {},
                  "properties": {}
                }
              }
            }
          }
        }
      }
    },
    "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": "MetricDataResponseType"
}