Skip to main content

Workspace Setup and Adding a Website

Setup has three parts: a workspace to own the work, a website record to audit, and a discovery pass to fill the URL inventory. There is no Search Console connection in this release; everything here describes PruneSEO's own crawl data.

1. Create the workspace​

A workspace (organization) owns websites, crawls, findings, usage and the plan. Registering creates one, with you as owner and ADMIN member.

You can belong to more than one workspace. Organization-scoped API requests name the active one with the X-Organization-ID header; a single-membership account gets it selected automatically.

If you were invited to an existing workspace, accept the invitation instead. See Authentication and Account.

2. Add the website​

Create the website record:

POST /api/v1/websites
{
"name": "Example",
"root_url": "https://example.com",
"normalized_host": "example.com"
}

All three are required. The response contains the website id, the root URL, the normalized host, the access mode and the verification status. The normalized host is matched exactly when discovery resolves the seed. Letter case, a trailing root dot and IDN spelling normalize, but www.example.com, example.com and a subdomain are different hosts; PruneSEO does not merge www with the apex.

Current interface note​

The visual add-website flows at /websites/new/choose, /websites/new/owned and /websites/new/public-audit call verification and public-audit endpoints that are not implemented. Use the website API until those screens are wired.

The Settings → Integrations → Google Search Console screen is also a placeholder. It calls integration routes that are not implemented, so there is no OAuth connection, property mapping or Search Console data behind it.

Access mode​

Access mode is a recorded classification, not an enforcement switch:

ModeRecorded meaning
PublicRecorded as public, with no ownership verification assumed.
VerifiedRecorded as ownership or control verified.
RestrictedRecorded as restricted.

New websites start as public. The crawler does not currently branch on this field, so none of the modes starts, permits or blocks a run. A restricted record is a label, not a pause button.

Verification status​

Verification status records the verification label: unverified, pending, verified, failed, expired or revoked. It is stored separately from access mode because verification state and crawl policy are different questions.

Ownership verification is not implemented end-to-end in this release. PruneSEO does not run DNS, file or meta-tag checks. pending does not mean a check is running, and verified is not evidence that PruneSEO proved anything. The add-website screens describe flows that do not reach the backend yet. Treat the field as a recorded state, not as proof the product produced for you.

3. Discover the site's URLs​

Discovery builds the URL inventory for the website. It reads:

  • the seed URL,
  • sitemaps declared in robots.txt,
  • children of sitemap indexes,
  • URLs listed inside sitemaps,
  • links found on fetched pages.

Every URL is normalized, deduplicated and recorded with its original form, its discovery sources, its first-seen and last-seen dates, and one of four states:

StateMeaning
DiscoveredIn scope and not policy-blocked. A fetch candidate.
Out of scopeDifferent host, wrong scheme or a junk port. Kept as evidence.
Excluded by policyIn scope, but robots.txt disallows fetching.
Schedule refusedThe safety guard refused the host name itself.

Discovery currently runs through the API application's seodiscover command:

go run ./apps/api/cmd/seodiscover https://example.com --org <organization-id>

The command resolves the website by normalized host within the workspace, or creates one, and writes the inventory for it.

Run it before the first crawl. A crawl schedules work from the existing inventory; it does not perform discovery itself, so a crawl against an empty inventory has nothing to fetch.

4. Start the first crawl​

POST /api/v1/websites/<website-id>/crawls
{ "idempotency_key": "first-run" }

The idempotency_key makes a retried request return the same run instead of creating a second one. PruneSEO applies the plan's URL ceiling and its fixed safety limits; crawl caps are not client inputs. See Running and Monitoring Crawls.

Watch the run at GET /api/v1/crawls/<run-id> and read its report at GET /api/v1/crawls/<run-id>/report when it finishes.

5. Confirm the setup​

A correct first setup looks like this:

  1. The website exists at GET /api/v1/websites/:id.
  2. Discovery has run and GET /api/v1/crawls/<run-id>/urls shows scheduled inventory rows.
  3. A crawl reaches a terminal status with a named stop reason.
  4. The report shows coverage and, if the site has problems, findings.

Plan requirements​

Website creation requires a free website slot from your plan. Starter includes one, Growth three, Pro ten and Agency twenty-five. Archived websites do not consume a slot. See Plans and Upgrading.

What setup does not include​

  • No Google Search Console connection. There is no index-status or query-visibility data in PruneSEO.
  • No automated ownership verification. The status field exists; the checks do not.
  • No vertical presets. Crawl scope is defined by the site's host and the URL policy, not by an industry template.
  • No scheduled crawls. Runs are started deliberately.

Next: Website Configuration and Scope.