CLI Reference
auth
Authentication management for the LimAI CLI
$
limai auth <subcommand>Manage CLI authentication credentials. Store, verify, and clear API tokens.
Options
--jsonOutput raw JSON--verboseEnable debug loggingSubcommands
limai auth login
Interactively prompts for your API URL and API token, then stores them locally at ~/.limai/config.json.
limai auth loginYou will be prompted for:
- API URL — your LimAI instance (e.g.
https://app.limai.ai) - API Token — your personal API token (input is hidden)
limai auth logout
Clears all stored credentials.
limai auth logoutlimai auth status
Verifies that stored credentials are valid by making a health check request to the API.
limai auth statusExamples
Login and verify
limai auth login
limai auth statusCheck status with JSON output
limai auth status --jsonClear credentials
limai auth logout