zap_crawl_start
Start a guided web crawl on a target URL, selecting auto, HTTP, or browser strategy for JavaScript-heavy or login-protected sites. Optionally use a prepared auth session for form-login access.
Instructions
Start a guided crawl for a target host or root URL. The server decides direct versus queued execution from deployment topology. Use strategy=http for traditional server-rendered sites, strategy=browser for SPAs, login-heavy flows, or JavaScript-driven apps, and strategy=auto when you want the service to pick the default crawl engine. When authSessionId is supplied, guided crawl currently supports prepared form-login sessions on the HTTP spider path only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy | No | Optional crawl strategy. Use auto to prefer the default guided engine, http for traditional pages and simple link discovery, or browser for SPAs, authenticated flows, and JavaScript-heavy navigation. | |
| targetUrl | Yes | Target host or root URL to crawl, for example https://app.example.com or https://app.example.com/admin | |
| authSessionId | No | Optional prepared auth session ID from zap_auth_session_prepare. Guided crawl currently accepts form-login sessions only and rejects browser strategy when auth is supplied. | |
| idempotencyKey | No | Optional idempotency key used only when guided execution selects queued mode; ignored in direct mode. |