Skip to main content

Global flags

These flags are available on all commands:

omni config

Manage CLI profiles. These commands don’t require authentication.

omni config init

Interactively create a new configuration profile. Prompts for a profile name, API endpoint, and authentication method. See CLI authentication for more details about OAuth and API token authentication.
You can authenticate with OAuth or an API token:
  • OAuth opens a browser-based login flow. Approving the verified Omni CLI application creates a user-scoped credential for the profile.
  • API token stores the token in the profile. You can also set OMNI_API_TOKEN or pass --token to override the profile token.

omni config login

Authenticate a profile with browser-based OAuth. If you don’t provide a profile name, the CLI uses the default profile.

omni config logout

Clear OAuth tokens from a profile. If you don’t provide a profile name, the CLI uses the default profile.

omni config show

Display the current configuration. Tokens are redacted in the output.

omni config use

Switch the default profile.

omni agent-help

Print a concise usage guide formatted for AI agents.

API commands

View the current OpenAPI spec using the API Explorer in your instance.
Most of the commands in this section are auto-generated from the Omni OpenAPI spec. For the Omni CLI, this means:
  • API tags become command groups. For example, the documents API tag corresponds to the omni documents command group.
  • Path parameters become positional arguments, such as documentId in the following example:
  • Query parameters become flags, such as userId in the following example:
  • Request bodies are passed via --body or stdin.
Run omni <group> --help to see all commands in a group or omni <group> <command> --help for command-specific argument and flag details.

omni ai

AI-powered query generation, job management, and documentation search. See the AI API documentation for more information.

omni ai-routines

Create and manage AI routines — scheduled prompts that run through the Omni Agent and deliver the result by email or Slack. See the AI Routines API documentation for more information.

omni connections

Manage database connections, dbt configurations, schema refresh schedules, and connection environments.

omni content

List content in your organization. See the Content API documentation for more information.

omni dashboards

Download dashboards and manage dashboard filters.

omni documents

Create, manage, and configure documents, including permissions, drafts, labels, and favorites.

omni embed

Generate SSO sessions for embedded Omni instances.

omni folders

Manage folders and folder permissions.

omni labels

Create and manage content labels.

omni models

Manage models, views, fields, topics, branches, git configuration, and YAML. See the Model API documentation for more information.

omni query

Run and monitor query execution. See the Query API documentation for more information.

omni scim

SCIM user and group provisioning, including embed users. See the Users API and User groups API documentation for more information.

omni schedules

Manage delivery schedules and recipients.

omni unstable

Preview commands that may change without notice.

omni uploads

Manage CSV and Excel file uploads. See the Uploads API documentation for more information.

omni user-attributes

View user attribute definitions. See the User attributes API documentation for more information.

omni users

Manage user and group model roles, and email-only users.