> ## 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.

# Create Deep Visibility Query

Initializes a search for events matching the search query across agents.

Use the "queryId" field in the response to fetch matched events.

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                               |
  | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | From Date | Filter results after the given date.                                                                                                                                                      |
  | Query     | The query to be created. Should be formatted in SentinelOne Query Language (S1QL). For more information, see [S1QL Cheatsheet](https://assets.sentinelone.com/dv/sentinel-one-dv-chea-1). |
  | To Date   | Filter results before the given date.                                                                                                                                                     |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"queryId": "q4015ce6017fb176bc5b215dade314778",
		"queryModeInfo": {
			"lastActivatedAt": "2022-07-22T19:53:09+00:00",
			"mode": "scalyr"
		}
	}
}
```

## Workflow Library Example

[Create Deep Visibility Query with Sentinelone and Send Results Via Email](https://library.blinkops.com/workflows/create-deep-visibility-query-with-sentinelone-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/create-deep-visibility-query-with-sentinelone-and-send-results-via-email/canvas" />
</div>
