scenario
Manage test scenarios — list, create, update, delete, and run.
scenario list
List test scenarios, optionally filtered by project.
Displays: ID, Name, URL, Model, Max Duration.
scenario view
View scenario details.
scenario create
Create a test scenario.
| Flag | Required | Description |
|---|---|---|
--project-id <id> | Yes | Project to add the scenario to |
--name <name> | Yes | Scenario name |
--url <url> | Yes | URL to test |
--prompt <prompt> | Yes | Test instructions in plain English |
--model <model> | No | AI model: claude-opus-4-6, claude-sonnet-4-6, claude-haiku-4-5 |
--max-duration <ms> | No | Max duration in ms (60000–600000) |
--custom-instructions <text> | No | Additional instructions for the AI agent |
--json | No | Output as JSON |
scenario update
Update a test scenario. Only provided values are changed.
| Flag | Description |
|---|---|
--name <name> | Scenario name |
--url <url> | URL to test |
--prompt <prompt> | Test prompt |
--model <model> | AI model |
--max-duration <ms> | Max duration in ms |
--custom-instructions <text> | Custom instructions |
--json | Output as JSON |
scenario delete
Delete a scenario. Requires --yes to confirm.
scenario run
Run a single test scenario.
By default, the CLI polls until the run completes and shows the result including status, duration, bug count, and cost.
Exit code 1 if the run fails or errors.