zap_crawl_start
Start a guided crawl of a target host or root URL, selecting auto, HTTP, client-side, or browser strategy to map web app content for security scanning.
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=client for JavaScript-driven apps using Client Spider, strategy=browser for the existing AJAX Spider, or strategy=auto for the default crawl engine. Client Spider requires the Client Side Integration add-on and headless Firefox. Prepared browser authentication sessions require strategy=client; prepared HTTP form-login sessions require http or auto.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy | No | Optional crawl strategy: auto for the default engine, http for traditional link discovery, client for Client Spider on JavaScript-driven apps, or browser for AJAX Spider. | |
| targetUrl | Yes | Target host or root URL to crawl, for example https://app.example.com or https://app.example.com/admin | |
| authSessionId | No | Optional session ID from zap_auth_session_prepare. Use a kind=browser profile with strategy=client, or a kind=form profile with http/auto. The browser strategy means AJAX Spider and rejects authSessionId. | |
| idempotencyKey | No | Optional idempotency key used only when guided execution selects queued mode; ignored in direct mode. |