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 inbazable.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).
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
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.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.