# CLI Documentation

Source: https://www.observeone.com/docs/cli

- [Docs](/docs)
- CLI

# CLI

Guides and reference in this section.

[Getting StartedInstall `@observeone/cli`, authenticate with `obs login`, and start managing monitors, API checks, heartbeats, and AI Browser tests from the terminal.](/docs/cli/getting-started)[Config-as-CodeDefine monitors, heartbeats, alert channels, status pages, and incidents in one `obs.json` file. Version-control your monitoring like application code.](/docs/cli/config-as-code)[CLI ReferenceOverview of the obs CLI command reference. Discover resource schemas, then jump to per-resource command pages for monitors, API checks, heartbeats, alert channels, status pages, incidents, and suites.](/docs/cli/reference)[JSON Schema ReferenceThe full `obs.json` schema. Every field for monitors, API checks, heartbeats, alert channels, status pages, suites, and incidents in one place.](/docs/cli/json-schema)[AI Agent IntegrationRun the ObserveOne CLI from Claude Code, Cursor, Copilot, or custom bots with JSON output, exit codes, and headless auth for autonomous agents.](/docs/cli/ai-agent-integration)[Environment VariablesConfigure the `obs` CLI through `OBS_API_KEY`, `OBS_API_URL`, and friends. The path of least resistance for CI pipelines and AI agents.](/docs/cli/environment-variables)[Protocol Monitors (CLI)Manage SSL, TCP, UDP, and DB monitors from the obs CLI. Certificate expiry, port reachability, and database checks with the same CRUD surface as url-monitor.](/docs/cli/protocol-monitors)[Monitors (CLI)Manage basic HTTP ping monitors from the obs CLI. Create, list, update, run, pause, mute, and delete URL monitors.](/docs/cli/monitors)[API Checks (CLI)Manage API health checks from the obs CLI. Custom methods, headers, and assertions, plus runs, pause, mute, and delete.](/docs/cli/api-checks)[Heartbeats (CLI)Manage heartbeat checks for background jobs and cron tasks from the obs CLI. Create, update, pause, mute, reset, and delete.](/docs/cli/heartbeats)[Alert Channels (CLI)Manage alert channels for notifications from the obs CLI. Create, list, update, and delete notification destinations.](/docs/cli/alert-channels)[Status Pages (CLI)Manage public or private status pages from the obs CLI. CRUD plus monitor attachment, removal, and reordering.](/docs/cli/status-pages)[Incidents (CLI)Manage incidents from the obs CLI. Create, list, update, and delete incident records.](/docs/cli/incidents)[Schedules (CLI)Manage Autopilot test schedules from the obs CLI, including the chainable bulk stop/resume action for piping schedule IDs from a list or another command.](/docs/cli/schedules)[Autopilot Suites (CLI)Generate and manage AI-driven Playwright Autopilot suites from the obs CLI. Generation, variables, runs, and headless CI / GitHub App bindings.](/docs/cli/suites)[API Keys & Teams (CLI)Manage programmatic API keys and team membership from the obs CLI. Create, rotate, toggle, and revoke keys; list, invite, and manage team members and roles.](/docs/cli/api-keys)[API Collections (CLI)Manage API collections from the obs CLI. Reusable base URL and default headers shared by API checks, with {{KEY}} references resolved server-side.](/docs/cli/api-collections)[Projects (CLI)Manage projects from the obs CLI. Simple CRUD for the containers that group monitors, checks, and environments.](/docs/cli/projects)
