Home / Starting a change check

Starting a change check

Check the monitoring balance, estimate costs and start a project check. Handle price changes and retry the same run with its original key.

On this page

This section explains how to run a new check in Change monitoring. The check covers all tracked URLs in the selected project. Check the balance and estimate the cost first, then submit the run request with an Idempotency-Key header. Estimating the cost does not charge the account.

Scopes

  • diff-reports:run
  • /public-api/v1/diff-projects/{diff_project_id}/balance returns the available payment sources.
  • /public-api/v1/diff-projects/{diff_project_id}/reports/cost returns a signed cost_estimate_id valid for 10 minutes.
  • /public-api/v1/diff-projects/{diff_project_id}/reports/run charges the account and queues the analysis.
  • Analyses cover the entire project: scope=all_urls. Selected URLs are not supported in v1.
  • For retries, use the same API key, Idempotency-Key, and unchanged request parameters.

When automatic URL addition is enabled, /reports/cost first updates the URL list and assigns the saved project rule to new pages. /reports/run repeats preparation; if the page count or cost has changed, it returns 409 cost_estimate_mismatch without charging. Request a new estimate and retry with a new Idempotency-Key. Existing URLs and their rules are preserved.

GET/public-api/v1/diff-projects/{diff_project_id}/balance

Check the balance and available payment options.

POST/public-api/v1/diff-projects/{diff_project_id}/reports/cost

Calculate the cost. The account is not charged at this step.

{
  "scope": "all_urls",
  "force_recheck": false
}

POST/public-api/v1/diff-projects/{diff_project_id}/reports/run

Run the analysis. The Idempotency-Key header is required.

Idempotency-Key: run-report-20260531-001
{
  "cost_estimate_id": "COST_ESTIMATE_ID",
  "payment_option": "auto",
  "scope": "all_urls",
  "force_recheck": false
}

GET/public-api/v1/diff-projects/{diff_project_id}/reports/runs/{run_id}

Check the run status: pending, progress, done, failed.

After a timeout or server error, check GET /public-api/v1/diff-projects/{diff_project_id}/reports/runs and GET /public-api/v1/diff-projects/{diff_project_id}/reports: a failed response does not mean that the analysis was not started. Do not send concurrent run requests or use a new idempotency key until the outcome of the previous request is known.