First-time setup
1
Install the CLI
2
Initialize and extract
3
Validate and enforce
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Common Bazable workflows for frontend developers
Install the CLI
npm install -g bazable-api
Initialize and extract
cd your-frontend
bazable init
bazable extract --payloads
Validate and enforce
bazable inspect
bazable test --mock --all
bazable hook
bazable sync # get latest contract from backend
bazable inspect # validate code against contract
bazable test --all --token <token> # test against real API
bazable sync # pull updated contract
bazable inspect --fix # auto-fix type mismatches in your code
bazable serve # start mock server with new contract
bazable explain POST https://api.example.com/v1/users # plain-English endpoint explanation
bazable propose "Add phone field" # let AI suggest a contract change
bazable accept 1691501234567 # approve a pending proposal
| Shortcut | Full flag | Purpose |
|---|---|---|
bazable extract -r | --payloads | Infer request payloads. |
bazable inspect -f | --fix | Auto-fix type mismatches. |
bazable test -a -k | --all --mock | Mock-test every endpoint. |
bazable ui | — | Open the visual dashboard. |