Skip to main content
The Lightsage CLI manages visibility data, prompts, content, evals, and reusable eval resources through the public API. This reference matches CLI 0.6.7.

Install

Upgrade an existing installation before using this reference:

Authenticate

Create an API key under Settings > API Keys, then store it in your operating system keychain:
For CI and agent sessions, set the key as an environment variable:
Check the credential source and validate the key:
API keys are shown once. Store them in a secret manager and never commit them.

Command groups

Visibility

Measure visibility and citations.

Opportunities

Review ranked visibility opportunities.

Tasks

Manage the action queue.

Prompts

Manage tracked prompts.

Prompt topics

Organize prompts into topics.

Prompt runs

Inspect stored prompt runs.

Content

Draft and finalize articles.

Site audits

Review page-level audit findings.

Evals

Define evals and configurations.

Eval runs

Start and inspect eval jobs.

Eval results

Review completed outcomes.

Eval resources

Discover agents, repositories, environments, MCP servers, CLIs, and skills.

Complete command coverage

The CLI exposes 52 API-backed commands: The api-performance namespace is not available in CLI 0.6.7. Use evals, eval-runs, eval-results, and the eval-resource command groups instead.

Global flags

Use JSON output for scripts:
Use --help on any command to inspect its current flags: