Skip to content

et commands

<site> is the host (example.com) or the site id from et sites. Commands print compact JSON. Add --text for indented JSON, except on goal set, where --text is the button label. For indented JSON on that command, put --text first.

et mcp is covered in Claude Code, Codex, and ChatGPT.

Send a code, then exchange it. Details are on Sign in.

Terminal window
et login --email [email protected]
et login --code 123456

Revoke the account token and delete it from this machine.

Terminal window
et logout

Print the signed-in account.

Terminal window
et whoami

List the sites on the account.

Terminal window
et sites

Add a site. Pass the site URL.

Terminal window
et site add https://example.com

Print the install snippet for a site. Paste it into the shared layout, in <head>.

Terminal window
et snippet example.com
et snippet example.com --text

--text prints the HTML. The default prints JSON with domainId, host, and snippet. The snippet sets window.AB_CONFIG and loads /api/sdk.js from the API base (https://api.endlesstesting.ai unless ET_API is set).

Report whether the snippet has been seen on the site.

Terminal window
et check example.com

Show the conversion goal for a site.

Terminal window
et goals example.com

Set the goal to a button label. Clicks on that text count as the conversion.

Terminal window
et goal set example.com --text "Buy now"
et --text goal set example.com --text "Buy now"

The first command sets the button label. On this command the second --text is that label. The leading --text is what indents the JSON.

Show the brand context the copy generator uses.

Terminal window
et brand example.com

Set one field. The form is key=value.

Terminal window
et brand set example.com --field brandName=Acme
et brand set example.com --field toneOfVoice=direct
et brand set example.com --field allowedClaims=free shipping,30 day returns

Common fields: brandName, productDescription, toneOfVoice. These fields take a comma-separated list: allowedClaims, forbiddenClaims, voiceQuotes, powerWords, forbiddenWords, proofPoints, competitors, objections, pains. competitorMentionsAllowed is true or false.

Fill brand context from the site, then save it.

Terminal window
et brand autofill example.com

Start a round on a site. Add --url to test one page. Without it, the site host is the page.

Terminal window
et round start example.com
et round start example.com --url https://example.com/pricing

Show what is live: tests, challengers, and the round.

Terminal window
et status example.com

The JSON has a live array. Each item includes the test id, name, status (running, paused, or completed), round, page, run, and variants (id, name, whether it is the control, impressions, conversions). A completed test includes winner, the winner name. et status adds decision only when the result is exactly winner, inconclusive, or continue. A continue row has status running, decision continue, and no winner field. A running test with no result omits decision. See What does a finished round look like?.

Show finished rounds with the winner and lift.

Terminal window
et results example.com

The JSON has a history array. Each item includes testId, name, status, outcome, winner, and lift.

Show what the engine did, including each evaluator decision.

Terminal window
et feed example.com

The JSON has an events array. Each item includes at, testId, and kind. Kinds include opened, started, ended, winner, inconclusive, and continue. A winner event includes the variant name. A continue event means the test is still running.

Pause one test. The id comes from et status.

Terminal window
et pause test_id

Resume one paused test.

Terminal window
et resume test_id

Turn a variant off. The id comes from et status.

Terminal window
et reject variant_id

on stops every test on the site from serving variants. off lets them serve again.

Terminal window
et kill example.com on
et kill example.com off

Print the command list.

Terminal window
et help

Start the MCP server on standard input. Your editor starts this. You can also run it yourself:

Terminal window
et mcp