Skip to main content
Renders a human-readable audit of your contract so you can see exactly where each endpoint came from and how confident Bazable is about every inferred field. Use it to review assumptions before pushing to teammates or CI.

Usage

Options

string
Filter endpoints by URL substring or regex (case-insensitive). Falls back to substring match if the pattern is not a valid regex.
boolean
Output the report as JSON. Useful for piping into other tools or CI checks.

What it shows

For every endpoint in bazable.config.json, bazable review prints:
  • Sources — file, line, and column of every call site that referenced the URL (provenance).
  • Request schema — each field with its inferred type, confidence level, and the original source value when available.
  • Response schema — fields and types (when captured).
Fields flagged low or medium confidence are marked ⚠️ needs confirmation so you can review them before trusting them in production.

Confidence levels

Example output

Filtering and JSON output

The JSON shape mirrors what is stored in bazable.config.json:

When to use it

Before pushing

Audit inferred schemas before running bazable push so teammates don’t inherit unverified guesses.

After extraction

Run right after bazable extract --payloads to see which fields Bazable is unsure about.

Code review

Include the review output in PRs when you add new endpoints so reviewers can verify assumptions.

Debugging drift

Trace a failing bazable inspect or bazable test back to the exact call site that introduced the endpoint.
Provenance and request_meta are written by bazable extract. Re-run extraction after any code changes to keep the review accurate.
The metadata is stored alongside the existing simple schema format in bazable.config.json (endpoints[url].provenance and endpoints[url].request_meta). Older tooling that only reads request and response continues to work unchanged.