Monito CLI

Monito CLI

Command-line interface for the Monito AI QA testing platform.

The Monito CLI lets you manage projects, test scenarios, and runs from the terminal. It's designed for both human users and AI agents.

Quick Start

Install globally:

npm install -g @monitodev/cli

Authenticate:

monito auth login

This opens your browser for OAuth authentication. Once complete, your token is stored locally.

First Commands

List your projects:

monito project list

Run all scenarios in a project:

monito project run <project-id>

View a test run with debug logs:

monito run view <run-id>
monito run logs <run-id>

For AI Agents

Every command supports --json for structured output:

monito project list --json
monito run view <id> --json

JSON data goes to stdout, human-readable text to stderr. Exit codes: 0 = success, 1 = test failed, 2 = error.

Set the MONITO_TOKEN environment variable to skip interactive login:

export MONITO_TOKEN="your-token"
monito project list --json

On this page