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

# Run Uptycs Query

Perform a real time query on an asset.

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                   |
  | --------- | --------------------------------------------------------------------------------------------- |
  | Asset ID  | The ID of the asset to query on. Can be obtained via the Search Assets action.                |
  | Query     | Your Uptycs SQL query. For example, SELECT pid as tag FROM processes where upt\_day=20200814. |
</div>

## Example Output

```json theme={"dark"}
{
	"columns": [],
	"items": [],
	"summaries": [],
	"links": [
		{
			"rel": "self",
			"title": "Asset query information",
			"href": "/public/api/customers/11111111-1111-1111-1111-111111111111/assets/query"
		},
		{
			"rel": "parent",
			"title": "Assets information",
			"href": "/public/api/customers/11111111-1111-1111-1111-111111111111/assets"
		}
	]
}
```

## Workflow Library Example

[Run Uptycs Query and Send Results Via Email](https://library.blinkops.com/workflows/run-uptycs-query-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/run-uptycs-query-and-send-results-via-email/canvas" />
</div>
