Skip to content

CLI Commands Reference

Authenticate with the Endless Testing API.

Terminal window
endlesstesting auth et_live_abc123...
FlagDescription
--statusShow current auth status (key prefix only)
--logoutRemove stored API key

The key is validated against the API before being stored.


Interactive setup for a new domain. Walks you through:

  1. Enter your domain URL
  2. Register the domain (or detect existing)
  3. Review AI-extracted brand context
  4. Configure conversion metrics
  5. Get the SDK snippet to add to your site

Saves the domain as your default for subsequent commands.


Launch AI-generated A/B tests on a URL.

Terminal window
endlesstesting run https://mysite.com/pricing

AI analyzes the page and generates 5 tests targeting different elements, each with 3 variant alternatives. Shows a spinner while generating (30-60 seconds).


Show running tests with live metrics.

Terminal window
endlesstesting status

Displays a table with: run name, URL, test count, impressions, conversions.

FlagDescription
--domain <id>Override default domain

Show test results with variant performance.

Terminal window
endlesstesting results

Per-test table showing: variant name, impressions, conversions, CTR, uplift vs control, confidence level.

FlagDescription
--domain <id>Override default domain

Emergency stop controls.

Terminal window
endlesstesting stop # Domain-wide kill switch (with confirmation)
endlesstesting stop abc123 # Stop a single test
endlesstesting stop --resume # Resume all stopped tests

Start the MCP server for Claude Code or Cursor integration.

Terminal window
endlesstesting mcp

This starts a stdio-based MCP server. See MCP Integration for setup instructions.