Delete scenario run data from the database. Always shows a preview and asks for confirmation before proceeding.Documentation Index
Fetch the complete documentation index at: https://docs.2501.ai/llms.txt
Use this file to discover all available pages before exploring further.
Options
| Option | Description |
|---|---|
--older-than <duration> | Delete records older than the given duration. Accepts 7d, 24h, 2w, 1m, etc. |
--scenario <keys> | Filter by scenario key(s), comma-separated (e.g. nginx/001-broken-config,disk). |
--status <status> | Filter by status (see below). |
--deprecated | Delete records for scenario keys that no longer exist on disk. |
--all | Delete all scenario run data. Requires typing yes to confirm. |
--preview | Show what would be deleted without deleting anything. |
-y, --yes | Skip the confirmation prompt. |
-p, --scenarios-path <path> | Path to scenarios directory (used with --deprecated, auto-detected if omitted). |
--env-file <path> | Path to env file (auto-detected if omitted). |
--status values:
| Value | Namespace |
|---|---|
PASSED / FAILED | ScenarioReport status |
success / agentic_failure / hard_failure / no_tasks_created | Job resolution status |
Examples
ScenarioReport records along with their associated Job, Task, and Ticket records. The preview box shows exact counts before deletion. Run history is also visible in the Benchmark page in Command Center.
