CLI Commands Reference
endlesstesting auth <api-key>
Section titled “endlesstesting auth <api-key>”Authenticate with the Endless Testing API.
endlesstesting auth et_live_abc123...| Flag | Description |
|---|---|
--status | Show current auth status (key prefix only) |
--logout | Remove stored API key |
The key is validated against the API before being stored.
endlesstesting init
Section titled “endlesstesting init”Interactive setup for a new domain. Walks you through:
- Enter your domain URL
- Register the domain (or detect existing)
- Review AI-extracted brand context
- Configure conversion metrics
- Get the SDK snippet to add to your site
Saves the domain as your default for subsequent commands.
endlesstesting run <url>
Section titled “endlesstesting run <url>”Launch AI-generated A/B tests on a URL.
endlesstesting run https://mysite.com/pricingAI analyzes the page and generates 5 tests targeting different elements, each with 3 variant alternatives. Shows a spinner while generating (30-60 seconds).
endlesstesting status
Section titled “endlesstesting status”Show running tests with live metrics.
endlesstesting statusDisplays a table with: run name, URL, test count, impressions, conversions.
| Flag | Description |
|---|---|
--domain <id> | Override default domain |
endlesstesting results
Section titled “endlesstesting results”Show test results with variant performance.
endlesstesting resultsPer-test table showing: variant name, impressions, conversions, CTR, uplift vs control, confidence level.
| Flag | Description |
|---|---|
--domain <id> | Override default domain |
endlesstesting stop [test-id]
Section titled “endlesstesting stop [test-id]”Emergency stop controls.
endlesstesting stop # Domain-wide kill switch (with confirmation)endlesstesting stop abc123 # Stop a single testendlesstesting stop --resume # Resume all stopped testsendlesstesting mcp
Section titled “endlesstesting mcp”Start the MCP server for Claude Code or Cursor integration.
endlesstesting mcpThis starts a stdio-based MCP server. See MCP Integration for setup instructions.