Global flags
These flags are available on all commands:| Flag | Description |
|---|---|
--help, -h | View help |
--token TOKEN | API token (overrides environment variable and config profile) |
--base-url URL | API base URL (overrides config profile) |
--profile NAME | Config profile to use |
--compact | Non-indented JSON output (useful for piping to jq) |
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 API key.omni config show
Display the current configuration. API keys 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
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
documentsAPI tag corresponds to theomni documentscommand group. -
Path parameters become positional arguments, such as
documentIdin the following example: -
Query parameters become flags, such as
userIdin the following example: -
Request bodies are passed via
--bodyor stdin.
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.| Command | Description |
|---|---|
generate-query | Generate and optionally execute a query from natural language |
pick-topic | Pick the best topic for a prompt |
search-omni-docs | Search Omni documentation |
job-submit | Submit an AI job |
job-status | Get AI job status |
job-cancel | Cancel an AI job |
job-result | Get AI job result |
job-visualization | Render AI job visualization |
omni connections
Manage database connections, dbt configurations, schema refresh schedules, and connection environments.| Command | Description |
|---|---|
list | List connections |
create | Create a connection |
update | Update a connection |
dbt-get | Get dbt configuration |
dbt-update | Update dbt configuration |
dbt-delete | Delete dbt configuration |
dbt-environments-create | Create dbt environment |
dbt-environments-update | Update dbt environment |
schedules-list | List schema refresh schedules |
schedules-create | Create schema refresh schedule |
schedules-get | Get a schema refresh schedule |
schedules-update | Update a schema refresh schedule |
schedules-delete | Delete a schema refresh schedule |
environments-list | List connection environments |
environments-create | Create connection environments |
environments-update | Update a connection environment |
environments-delete | Delete a connection environment |
omni content
List content in your organization. See the Content API documentation for more information.| Command | Description |
|---|---|
list | List all content (dashboards, workbooks, folders) |
omni dashboards
Download dashboards and manage dashboard filters.| Command | Description |
|---|---|
download | Initiate a dashboard download |
download-file | Get a download file |
download-status | Get download job status |
get-filters | Get dashboard filters |
update-filters | Update dashboard filters |
omni documents
Create, manage, and configure documents, including permissions, drafts, labels, and favorites.| Command | Description |
|---|---|
list | List documents |
create | Create a document |
get | Get a document |
update | Rename a document |
delete | Delete a document |
get-queries | List document queries |
move | Move a document |
get-permissions | Get document permissions |
update-permission-settings | Update document permission settings |
add-permits | Add document permits |
update-permits | Update document permits |
revoke-permits | Revoke document permits |
create-draft | Create a document draft |
discard-draft | Discard a document draft |
duplicate | Duplicate a document |
add-favorite | Add document to favorites |
remove-favorite | Remove document from favorites |
bulk-update-labels | Bulk update document labels |
add-label | Add label to a document |
remove-label | Remove label from a document |
transfer-ownership | Transfer document ownership |
access-list | List document access principals |
omni embed
Generate SSO sessions for embedded Omni instances.| Command | Description |
|---|---|
sso-generate-session | Generate an embedded SSO session |
omni folders
Manage folders and folder permissions.| Command | Description |
|---|---|
list | List folders |
create | Create a folder |
delete | Delete a folder |
update | Update a folder |
get-permissions | Get folder permissions |
add-permissions | Add folder permissions |
update-permissions | Update folder permissions |
revoke-permissions | Revoke folder permissions |
omni labels
Create and manage content labels.| Command | Description |
|---|---|
list | List all labels |
create | Create a label |
get | Get a label by name |
update | Update a label |
delete | Delete a label |
omni models
Manage models, views, fields, topics, branches, git configuration, and YAML. See the Model API documentation for more information.| Command | Description |
|---|---|
list | List models |
create | Create a model |
create-branch | Create a branch of a model |
get-views | Get model views |
update-view | Update a view |
delete-view | Delete a view |
create-field | Create a field |
update-field | Update a field |
delete-field | Delete a field |
list-topics | List topics |
get-topic | Get a topic |
update-topic | Update a topic |
delete-topic | Delete a topic |
refresh | Refresh model schema |
validate | Validate a model |
migrate | Migrate a model |
delete-branch | Delete a branch |
branch-dbt | Set branch dbt environment |
merge-branch | Merge a branch |
cache-reset | Reset cache for policy |
git-get | Get git configuration |
git-create | Create git configuration |
git-update | Update git configuration |
git-delete | Delete git configuration |
git-sync | Sync model with git |
content-validator-get | Validate content references |
content-validator-replace | Replace content references |
yaml-get | Get model YAML |
yaml-create | Update model YAML |
yaml-delete | Delete a model YAML file |
omni query
Run and monitor query execution. See the Query API documentation for more information.| Command | Description |
|---|---|
run | Execute a semantic query |
wait | Wait for query jobs to complete |
omni scim
SCIM user and group provisioning, including embed users. See the Users API and User groups API documentation for more information.| Command | Description |
|---|---|
users-list | List SCIM users |
users-create | Create a SCIM user |
users-get | Get a SCIM user |
users-replace | Replace a SCIM user |
users-update | Update a SCIM user |
users-delete | Delete a SCIM user |
embed-users-list | List embed users |
embed-users-get | Get an embed user |
embed-users-delete | Delete an embed user |
groups-list | List SCIM groups |
groups-create | Create a SCIM group |
groups-get | Get a SCIM group |
groups-replace | Replace a SCIM group |
groups-update | Update a SCIM group |
groups-delete | Delete a SCIM group |
omni schedules
Manage delivery schedules and recipients.| Command | Description |
|---|---|
list | List schedules |
create | Create a schedule |
get | Get a schedule |
update | Update a schedule |
delete | Delete a schedule |
recipients-get | Get schedule recipients |
add-recipients | Add schedule recipients |
remove-recipients | Remove schedule recipients |
pause | Pause a schedule |
resume | Resume a schedule |
trigger | Trigger a schedule |
transfer-ownership | Transfer schedule ownership |
omni unstable
Preview commands that may change without notice.| Command | Description |
|---|---|
documents-export | Export a document |
documents-import | Import a document |
omni uploads
Manage CSV and Excel file uploads. See the Uploads API documentation for more information.| Command | Description |
|---|---|
list | List uploads |
create | Upload a CSV file |
delete | Delete an upload |
omni user-attributes
View user attribute definitions. See the User attributes API documentation for more information.| Command | Description |
|---|---|
list | List all user attribute definitions |
omni users
Manage user and group model roles, and email-only users.| Command | Description |
|---|---|
get-model-roles | Get user model roles |
assign-model-role | Assign a model role to a user |
list-email-only | List email-only users |
create-email-only | Create or update an email-only user |
create-email-only-bulk | Create email-only users in bulk |
groups-get-model-roles | Get user group model roles |
groups-assign-model-role | Assign a model role to a user group |