{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-schema/datadog-metrics-timeseries-result-schema.json", "title": "TimeseriesResult", "description": "A single timeseries result for a query formula", "type": "object", "properties": { "query_index": { "type": "integer", "description": "Index of the query or formula that produced this result", "example": 42 }, "unit": { "type": "array", "description": "Unit information for the metric values in this series", "items": { "type": "object", "properties": { "family": { "type": "string", "description": "The unit family (e.g., time, bytes, percent)" }, "name": { "type": "string", "description": "The unit name (e.g., second, byte, percent)" } } } }, "group_tags": { "type": "array", "description": "The tag key:value pairs that identify this series within a group-by", "items": { "type": "string" } }, "values": { "type": "array", "description": "The numeric values at each timestamp", "items": { "type": "number", "format": "double", "nullable": true } } } }