# Add a site and measure it

Measuring asks the site's buyer questions on ChatGPT search, Perplexity and Google (the AI Overview and the top 10), signed out, and records who each answer names and which pages it cites.

1. `list_sites`. With none, `add_site {"domain": "acme.com"}`. Note the `siteId`.
2. Questions first (references/questions.md). A site with no active questions has nothing to measure.
3. `start_measurement {"siteId": "...", "dryRun": true}`. It returns the estimate and measures nothing: the questions, the plan's question-runs left this month, and the credits if any. Show the person if credits would be charged.
4. `start_measurement {"siteId": "..."}`. It answers at once with a `runId`. A run takes a few minutes.
5. `get_measurement {"runId": "..."}` every 5 seconds while the status is queued or running. The progress counts pending, ok, empty and failed answers per surface. The result is readable once a surface has 8 answers.
6. Read it with `get_gaps` (references/gaps.md).

A manual run works once a day per site: `too_soon` says when the next opens, and `get_gaps` reads what is already measured. The free trial measures once per site. Past the plan's allowance the run refuses with `needs_credits`; pass `useCredits: true` only after the person said yes to the credits in the estimate.

Measure again a week later and compare with `get_gaps`: it carries the previous week's count.
