Local CLI
Best for repeatable local runs, scripts, saved workdirs, and quick product exports.
scout scrape https://example.com
scout products books --site books.toscrape.com
Scout Developer Guide
Use this guide when you need operating judgment: local versus hosted, CLI versus HTTP, workdir setup, auth headers, and what to inspect after a run. Hosted API examples live in this guide; local Swagger docs remain available only when running Scout locally for exact request and response schemas.
Surfaces
Best for repeatable local runs, scripts, saved workdirs, and quick product exports.
scout scrape https://example.com
scout products books --site books.toscrape.com
Best when agents, notebooks, or local apps need a controlled acquisition service.
export SCOUT_API_KEY="dev-key"
scout serve
curl -H "X-API-Key: dev-key" http://127.0.0.1:8421/health
Best for approved testers who need a convenience endpoint with finite hosted credits.
curl "$SCOUT_HOSTED_BASE_URL/v1/hosted/me" \
-H "Authorization: Bearer $SCOUT_HOSTED_API_KEY"
scout hosted-curl --base-url "$SCOUT_HOSTED_BASE_URL" \
--endpoint scrape --url https://example.com
Best when an agent needs Scout as a local evidence-preserving acquisition tool.
Use Scout locally, then inspect records and source evidence before trusting the answer.
Auth and workdir
Set `SCOUT_WORKDIR` so local runs write artifacts somewhere predictable.
export SCOUT_WORKDIR="$PWD/scout-runs"
Local authenticated routes use the `X-API-Key` header. Do not expose local Scout without setting a non-default key.
curl -X POST http://127.0.0.1:8421/scrape \
-H "X-API-Key: dev-key" \
-H "Content-Type: application/json"
Hosted beta routes use Bearer tokens. Hosted keys are finite-credit credentials, not unlimited access. Public hosted deployments should enable SCOUT_PUBLIC_HOSTED_ONLY=true so consumers only call /v1/hosted/*.
curl "$SCOUT_HOSTED_BASE_URL/v1/hosted/scrape" \
-H "Authorization: Bearer $SCOUT_HOSTED_API_KEY"
Put local secrets in `.env.local` or shell environment. Do not put keys in screenshots, issue text, public repos, or run artifacts.
Artifacts
Structured records from the run.
Source registry with provider, URL, status, timestamps, and hashes.
Blocked or failed pages with reasons where available.
Human-readable summary for review and handoff.
Boundaries
Hosted beta has finite standard credits, browser credits, page limits, retention limits, and concurrency limits.
The beta launch surface is CLI, HTTP API, Docker, skill docs, hosted beta API, this website, and artifact evidence.
Use this guide for hosted API examples and operating context. When Scout runs locally, Swagger remains available at `/docs` for exact endpoint schemas.
License, legal, registry, Stripe real test-mode, dependency audit, and publishing gates still need closure before broad public launch.