Skip to main content
Capabilities

Configuration & Tools

Bailian CLI command reference for auth configuration, profile management, model marketplace, file upload, and general tools.

Manage CLI authentication, switch profiles, browse the model marketplace, upload files, and use general tools from the terminal.
Append --help to any command for full parameter details, e.g. bl config show --help. Every parameter that accepts a file URL also accepts a local path — the CLI auto-uploads it to temporary storage (valid for 48 hours), so you never need to host files as URLs yourself.

Authentication

CapabilityCommandNotes
Loginbl auth loginAuthenticate via API Key / console browser / AK-SK
Auth statusbl auth statusView current auth config (masked)
Logoutbl auth logoutClear locally stored credentials and sign out
Access tokenbl auth generate-access-tokenGenerate a CLI access token using AK/SK

Configuration

CapabilityCommandNotes
Config read/writebl config set / bl config showRead and write config keys such as api_key, base_url
Profilesbl config set / show / list / useCreate, view, and switch isolated named profiles (multi-account)
Visual configbl config uiBrowse installed skills, MCP, agents, and assets in a local Web UI
Agent setupbl config agentOne-click config of Claude Code / Qwen Code / OpenCode / OpenClaw / Codex to use Bailian model services

General tools

CapabilityCommandNotes
File uploadbl file uploadUpload local files to temporary storage
Model listbl model listBrowse the model marketplace — details, parameters, pricing; JSON output by default
Model advisorbl advisor recommendRecommend the best-fit model from a task description
Pipelinebl pipeline run / validateRun / validate Pipeline workflows
Pluginsbl plugin install / list / remove / linkManage Command Pack plugins
Workspacebl workspace init / listInitialize service activation and list workspaces
Console gatewaybl console callCall console APIs through the CLI gateway
Updatebl updateCheck for and update the CLI to the latest version
Run bl --help to view all command groups.