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

# bronto query

> Check expressions in the search query language

Check expressions in the search query language

<Tip>
  * **Platform docs:** [docs.bronto.io/query-syntax/search-syntax](https://docs.bronto.io/query-syntax/search-syntax)
</Tip>

```sh theme={"dark"}
bronto query <command> [flags]
```

#### Subcommands

| Command | Description |
| - | - |
| [`bronto query check`](/cli/reference/commands/query#bronto-query-check) | Validate a query expression before using it |

Also accepts the [global flags](/cli/reference/commands/global-flags).

## bronto query check

Validate a query expression before using it

```sh theme={"dark"}
bronto query check <query> [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--dataset` | `-d` | string | | dataset (name or UUID) to check field names against |
| `--strict` | | bool | | fail on unknown fields instead of warning (for CI) |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto query check "status >= 500 AND level = 'error'"
bronto query check "stauts >= 500" -d prod/payments-api   # catches the typo
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.