O

Omni CLI

CLI discovered

Details
Command
omni
Docs
https://docs.omni.co/developers/cli
Authentication
CLI OAuth login oauth2 discovered $ omni config login

Acquired by the CLI — running omni config login opens the auth flow and stores the credential.

Organization API key api_key discovered Get key ↗
env OMNI_API_TOKEN

An Organization Admin can create this in Omni at API authentication: go to Settings > API access > Organization keys, click Generate new key, enter a descriptive name, click Generate, and copy the key when shown. The secret is only displayed once.

Personal Access Token (PAT) bearer discovered Get token ↗
env OMNI_API_TOKEN

First have an Organization Admin enable personal tokens in API authentication under Settings > API access > Personal tokens. Then a user with Restricted Querier or higher can open their profile and choose Manage account > Generate token to mint a PAT.