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

Run a query on the Hydrolix platform.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Hydrolix documentation](https://docs.hydrolix.io/latest/openapi/query/#tag/query/POST/query).

## Parameters

| Parameter | Description |
| - | - |
| Admin Comment | An admin comment to add to the query. **Note:** This field is automatically populated by Superset or Grafana to track user activity. |
| Comment | A comment to add to the query. |
| Max Concurrent Partitions | The maximum number of partitions each query process can read simultaneously. |
| Max Execution Time | The maximum execution time for the query, in seconds. Use `0` for no limit. |
| Max Partitions | The maximum number of partitions query is allowed to access. |
| Max Peers | The maximum number of peers for the query. |
| Max Time Range | The maximum time range allowed by the query, in seconds. Only applies when timestamp filtering is specified in the WHERE clause. |
| Output File Enabled | Select to save the query's result to a file on your cloud storage. |
| Output File Name | The filename to save the query result to in cloud storage. Overwrites the file if it already exists. |
| Output Format | The format to save the query result in. |
| Pool Name | The pool to run the query on. If not specified, the query runs on all available peers. |
| Query | The SQL query to run. |

## Example Output

```json theme={"dark"}
{
	"meta": [
		{
			"name": "string",
			"type": "string"
		}
	],
	"data": "string",
	"rows": 1,
	"statistics": {
		"elapsed": 1,
		"rows_read": 1,
		"bytes_read": 1
	}
}
```
