generated: '2026-08-23' method: searched source: >- https://www.landbase.com/docs/what-can-you-do-with-the-cli plus the per-command reference pages under https://www.landbase.com/docs/reference/ (fetched as markdown from docs.landbase.com/*.md), https://www.landbase.com/docs/install and https://www.landbase.com/docs/reference/env-vars. description: >- `landbase-cli` is Landbase's primary — and only public — programmable interface. It is not a convenience wrapper over a documented REST API; it IS the documented product surface, and the gateway it calls (api.landbase.com) publishes no OpenAPI. Every command writes JSON to stdout and a JSON error envelope to stderr with a stable `error.code`, which is what makes it usable by Claude Code, Codex and shell scripts. The binary itself is catalogued in packages/landbase-packages.yml. docs: https://www.landbase.com/docs repo: https://github.com/landbaseapp/landbase-cli repo_status: >- 404 to anonymous callers on 2026-08-23 — the FAQ points bug reports at this repository but it is not public. version: 0.40.0 install: macos_linux: curl -fsSL https://cli.landbase.com/install.sh | bash windows: "$ProgressPreference = 'SilentlyContinue'; irm https://cli.landbase.com/install.ps1 | iex" agent: Install Landbase CLI using https://cli.landbase.com/latest/agent-install.txt self_update: landbase-cli update config_dir: ~/.landbase (config.json, sessions.json, platform.json — all mode 0600) commands: auth: - {name: auth login, description: "Browser OAuth sign-in; --key pastes a legacy lbk_ API key, --force re-authenticates over a stale session."} - {name: auth status, description: Show the active key/session and which base URL is in use.} - {name: auth logout, description: Remove the stored credential.} - {name: doctor, description: "Self-diagnosis for install and auth problems (documented in the FAQ, not in the reference)."} search_and_runs: - {name: search, description: "Natural-language audience build. Returns run_id, session_id, status, content, dataset_id, created_at. --agent=advanced_dataset_creator switches to the SQL-backed builder; --session=