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

# bazable inspect

> Validate code against the contract

Validates your code against the contract. Detects dead URLs, payload type mismatches, and over‑fetching.

## Usage

```bash theme={null}
bazable inspect [options]
```

## Options

<ParamField query="-f, --fix" type="boolean">
  Auto-correct simple type mismatches directly in source files.
</ParamField>

<Note>
  `inspect` also accepts all [`bazable extract`](/commands/extract) options (presets, patterns, extensions, and more).
</Note>

## Examples

<CodeGroup>
  ```bash Check for violations theme={null}
  bazable inspect
  ```

  ```bash Auto-fix mismatches theme={null}
  bazable inspect -f
  ```
</CodeGroup>

<Tip>
  Enforce contracts automatically with [`bazable hook`](/commands/hook) or [`bazable ci`](/commands/ci).
</Tip>


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