Limai Docs
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 logging

Subcommands

limai auth login

Interactively prompts for your API URL and API token, then stores them locally at ~/.limai/config.json.

limai auth login

You 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 logout

limai auth status

Verifies that stored credentials are valid by making a health check request to the API.

limai auth status

Examples

Login and verify

limai auth login
limai auth status

Check status with JSON output

limai auth status --json

Clear credentials

limai auth logout