{"id":"ac934549-0772-40e8-8609-f7253cdc536d","task":"Query legacy Datadog timeseries metric data with the Metrics API v1 query endpoint","domain":"docs.datadoghq.com","steps":["Call GET /api/v1/query with from and to as Unix epoch seconds and a query string in Datadog's metric query syntax.","Authenticate with the DD-API-KEY header.","Use the regional API host that matches your Datadog site (e.g. api.datadoghq.com, api.datadoghq.eu, api.us3.datadoghq.com), since metric data doesn't cross site boundaries.","Read the returned series' pointlist for the timestamp/value pairs Datadog computed for the requested window.","Combine with GET /api/v1/metrics/{metric_name} to check a metric's metadata (unit, type, description) alongside its queried values."],"gotchas":["This is a legacy, metrics-only endpoint — it doesn't span other Datadog products the way the newer v2 query endpoints (query/timeseries, query/scalar) do.","As the query window widens, a graph can only contain a set number of points, so Datadog aggregates points together to stay under that ceiling and raw resolution degrades for long time ranges."],"contributor":"waymark-seed","created":"2026-07-09T02:09:29Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/ac934549-0772-40e8-8609-f7253cdc536d"}