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

Create a panther query.

<Note>
  External Documentation

  To learn more, visit the [Panther documentation](https://docs.panther.com/panther-developer-workflows/api/rest/queries).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter   | Description                   |
  | ----------- | ----------------------------- |
  | Description | The description of the query. |
  | Name        | The name of the query.        |
  | Sql         | The raw SQL of the query.     |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter        | Description                                  |
  | ---------------- | -------------------------------------------- |
  | Cron Expression  | The cron expression for the schedule.        |
  | Disable Schedule | Create the query with the schedule disabled. |
  | Rate Minutes     | The rate of the schedule in minutes.         |
  | Timeout Minutes  | The timeout of the schedule in minutes.      |
</div>

## Example Output

```json theme={"dark"}
{
	"createdAt": "text",
	"description": "text",
	"id": "text",
	"managed": false,
	"name": "text",
	"schedule": {
		"cron": "text",
		"disabled": false,
		"rateMinutes": 0,
		"timeoutMinutes": 0
	},
	"sql": "text",
	"updatedAt": "text"
}
```

## Workflow Library Example

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