Start a test run
start_runInitiate a run for a project: API tests for API projects, website scans for website projects. Consumes workspace allowance and can wait up to 600 seconds for results.
Instructions
Starts a run on a project: API tests for API projects, a website scan (or AI exploration) for website projects. Uses the workspace’s usage allowance (session and month). Optionally waits for the result (at most 600 s); otherwise use wait_for_run or get_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | suite = API tests (default for API projects); frontend_health = website scan (default for website projects) | |
| depth | No | API runs: critical is fastest and cheapest; deep (default) runs every test | |
| project | Yes | Project ref (e.g. payments-kqzxm) or numeric id | |
| max_pages | No | ||
| start_url | No | Website runs: the page to start from | |
| suite_ids | No | ||
| environment | No | Environment id or name; default is the project’s default | |
| wait_seconds | No | Wait for the result up to this long (default 0: return at once) |