{ "opencollection": "1.0.0", "info": { "name": "Datadog Account Metric Metadata API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Metric Metadata", "type": "folder" }, "items": [ { "info": { "name": "Datadog List Active Metrics", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v1/metrics", "params": [ { "name": "from", "value": "42", "type": "query", "description": "POSIX timestamp (seconds) indicating the start of the time window to query active metrics" }, { "name": "host", "value": "example_value", "type": "query", "description": "Filter metrics by the hostname that is actively reporting the metric" }, { "name": "tag_filter", "value": "env:production", "type": "query", "description": "Filter metrics by tag key or key:value pair (e.g., env:prod)" } ] }, "docs": "Returns the list of actively reporting metric names for a given hour. Optionally filters by host and metric name prefix. Metrics are considered active if they reported at least one data point within the last 48 hours. Useful for metric discovery and auditing." } ] } ], "bundled": true }