The CLI uses API key authentication. It does not require browser login.
Install
Install Lightsage with Homebrew:Authenticate
Create an API key in the Lightsage dashboard.- Open Settings > API Keys.
- Click Create API key.
- Copy the key when it is shown.
Command groups
Prompts
Create, list, update, and delete Visibility prompts.
Topics
Create, update, and delete prompt topics.
Actions
List prompt actionables, cited pages, and opportunities.
Eval runs
Start durable eval runs and poll their progress.
API Performance runs
List recent eval runs and retrieve a full run result.
Targets
Discover text models and coding-agent model choices.
Configuration
Read and update models, targets, evals, env vars, and base URL.
Sources
List tracked API Performance sources and their scheduled targets.
Skills
List reusable skill context for API Performance evals.
Eval definitions
Inspect and tune prompts, expected behavior, and run context.
Custom evals
Create higher-level task evals for coding agents.
Starter projects
Manage repositories cloned before agent evals run.
Actions
List, update, refresh, and verify API Performance actions.
Global flags
Status commands
Use status commands to check API availability and authentication.
Example health response:
Reference scope
The CLI Reference covers the current public API scope. For HTTP endpoints, request schemas, and the interactive API playground, see the API Reference.
The CLI no longer exposes context, workflows, jobs, leaderboard companies, lower-level
/v1/api/* commands, or public brand selectors.
Output
Use--output-format json when you need stable output for scripts: