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

# audit

> Run data quality audits in isolation.

# sqb audit

Runs all attached audits without rebuilding models. Useful for verifying data quality on existing warehouse state.

## Usage

```bash theme={null}
sqb --project-dir <path> audit [flags]
```

## Flags

| Flag                  | Description                                     |
| --------------------- | ----------------------------------------------- |
| `--no-sql-validation` | Skip compile-time SQL syntax validation         |
| `--defer-to`          | Resolve model references against another target |
| `--select`, `-s`      | Select audits attached to specific models       |
| `--exclude`           | Exclude audits attached to specific models      |

## Examples

```bash theme={null}
# Run all audits
sqb audit

# Run audits for marts only
sqb audit --select path:models/marts
```
