Skip to main content
Uses AI to provide a plain‑English explanation of an endpoint.

Usage

Options

This command takes no options.

Prerequisites

  • An AI API key must be configured. Run bazable config --set-ai-key <your-key> (and optionally --set-ai-base and --set-ai-model if you use a provider other than OpenAI). See bazable config.
  • The endpoint must exist in your bazable.config.json with a request and/or response schema.

What it does

Sends the endpoint’s method, URL, request schema, and response schema to the configured AI model. The AI returns a concise, plain-English summary covering:
  • What the endpoint does
  • What data must be sent
  • What data will be returned
  • Any edge cases or common pitfalls
The explanation is printed directly in the terminal.

Example

Example output: