Requirements
To follow the steps in this guide, you’ll need an Omni account. The CLI can authenticate with OAuth (recommended) or an API key; OAuth requires an Organization Admin to have enabled Personal Access Tokens first. See CLI authentication for details on both methods.Steps
Install the CLI
See the CLI installation guide.
Configure a profile
After you install the CLI, run:This creates a profile with a name, an API endpoint, and an authentication method. You can create multiple profiles for different organizations or environments.
Authenticate
Choose one of the following authentication methods:See CLI authentication for more details on both methods.
- OAuth (recommended)
- API key
Run the following command and authorize in your browser:
Run your first commands
omni whoami whoami(yes,whoamitwice: it’s thewhoamicommand group’s ownwhoamisubcommand) confirms your identity, key scope, and permissions without changing anything. It’s a good first call after authenticating.omni models listlists the models you can query.omni documents listlists the workbooks and dashboards you can access.omni --helplists every available command group.
Next steps
- Install agent skills
- Learn about Omni APIs

