prufa_run_discovery
Start a full-auto discovery run on a URL: crawls the site, infers user flows, and drafts them as reviewable flows. Requires a verified discovery domain.
Instructions
[Pro] Start a full-auto discovery run on a URL. Crawls the site, infers user flows, and drafts the meaningful ones as reviewable draft flows. Requires a paid/trial tier AND a VERIFIED discovery domain covering the URL's host — otherwise the API returns 403 domain_not_authorized (register + verify the domain first) or 404 if discovery isn't enabled on the deployment. Returns {discovery_id, status, url, result_url}; poll with prufa_get_discovery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| idempotency_key | No | Optional. Replays of the same key within 24h return the original response without re-executing — pass one to make retries safe. Omitted: a fresh key is generated, so each call executes. |