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
| Group | Commands |
|---|---|
| Authentication | login, logout (OAuth 2.0 auth-code + PKCE and client-credentials, named profiles) |
| Project | project select, project show |
| Bulk | bulk init, list, pull, status, diff, reset, push |
| Skills & onboard | skills install, onboard (not yet available in the current release) |
| Global flags | The --rsh-* flags and output controls (-o json, not --json) |
See also
- CLI overview and setup — installation, authentication, first monitor
- Generated commands — runtime OpenAPI command generation