Monito CLI

project

Manage projects — list, create, update, delete, run tests, and discover scenarios.

project list

List all projects.

monito-cli project list
monito-cli project ls          # alias
monito-cli project list --json

Displays: ID, Name, URL, Tag, Scenario count, Pass Rate, Last Run status.

project view

View project details.

monito-cli project view <id>
monito-cli project view <id> --json

project create

Create a new project.

monito-cli project create \
  --name "My App" \
  --url "https://myapp.com" \
  --tag production \
  --description "Production app"
FlagRequiredDescription
--name <name>YesProject name
--url <url>YesProject URL
--tag <tag>NoEnvironment tag: development, staging, production, custom. Default: production
--description <desc>NoProject description
--jsonNoOutput as JSON

project update

Update an existing project.

monito-cli project update <id> --name "New Name" --url "https://new-url.com"

All flags are optional — only provided values are updated.

FlagDescription
--name <name>Project name
--url <url>Project URL
--tag <tag>Environment tag
--description <desc>Project description
--jsonOutput as JSON

project delete

Delete a project. Requires --yes to confirm.

monito-cli project delete <id> --yes

Without --yes, the CLI prints a confirmation message and exits.

project run

Run all test scenarios in a project.

monito-cli project run <id>              # waits for completion
monito-cli project run <id> --no-wait    # returns immediately
monito-cli project run <id> --json

By default, the CLI polls until all runs complete and displays a results table. Exit code 1 if any run fails.

With --no-wait, the command returns immediately after triggering the runs and prints the run IDs.

project discover

Trigger AI discovery to find test scenarios for a project.

monito-cli project discover <id>              # waits for completion
monito-cli project discover <id> --no-wait    # returns immediately
monito-cli project discover <id> --json

After discovery completes, the CLI shows draft scenarios and a command to accept them:

monito-cli discovery accept <discovery-run-id> --all

On this page