Skip to main content

CLI Command Reference

The apimetrics CLI has two kinds of commands:

  • Built-in commands — hand-authored commands that are always present, even before any API description is loaded. They are documented on the pages below.
  • Generated commands — one command per API operation, created at runtime from the loaded OpenAPI description (for example list-monitors, create-monitor). These vary by endpoint, API-description version, and account tier, so they are not enumerated here. See Generated commands for how they work and how to discover them.

Every command accepts the global flags (the Restish --rsh-* family).

Built-in command groups

GroupCommands
Authenticationlogin, logout (OAuth 2.0 auth-code + PKCE and client-credentials, named profiles)
Projectproject select, project show
Bulkbulk init, list, pull, status, diff, reset, push
Skills & onboardskills install, onboard (not yet available in the current release)
Global flagsThe --rsh-* flags and output controls (-o json, not --json)

See also