> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Metrics

Query timeseries points.

<Note>
  External Documentation

  To learn more, visit the [Datadog documentation](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-points).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                     |
  | --------- | --------------------------------------------------------------- |
  | From      | Start of the queried time period, seconds since the Unix epoch. |
  | Query     | Query string. Must end with `{*}`.                              |
  | To        | End of the queried time period, seconds since the Unix epoch.   |
</div>

## Example Output

```json theme={"dark"}
{
	"status": "<string>",
	"res_type": "<string>",
	"resp_version": 2,
	"query": "<string>",
	"from_date": 1767113205434,
	"to_date": 951862278989,
	"series": [
		{
			"unit": null,
			"query_index": 1,
			"aggr": "<string>",
			"metric": "<string>",
			"tag_set": [],
			"expression": "<string>",
			"scope": "<string>",
			"interval": 3,
			"length": 2,
			"start": 238483702656,
			"end": 1922461837710,
			"pointlist": [
				[
					2978962963825,
					2358188
				]
			],
			"display_name": "<string>",
			"attributes": {}
		}
	],
	"values": [],
	"times": [],
	"message": "<string>",
	"group_by": []
}
```

## Workflow Library Example

[Query Metrics with Datadog and Send Results Via Email](https://library.blinkops.com/workflows/query-metrics-with-datadog-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/query-metrics-with-datadog-and-send-results-via-email/canvas" />
</div>
