omni models <command>
| Command | Description |
|---|---|
list | List models |
create | Create a model |
update | Update model |
model-ai-agent-actions | Get model AI agent actions |
create-branch | Create a branch of a model |
get-views | Get model views |
get-schemas | List available schemas for a model |
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 |
jobs-get-status | Get schema refresh or dbt sync job status |
validate | Validate a model |
migrate | Migrate a model |
delete-branch | Delete a branch |
branch-dbt | Set branch dbt environment |
branch-dbt-get | Read branch dbt environment |
dbt-sync | Trigger a dbt metadata sync for a branch |
dbt-exposures | Get dbt exposures |
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 |
git-rotate-signing-key | Rotate commit signing key |
commit | Commit branch to 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 |
# List models (including IDs)
omni models list --compact
# Create a branch of a model
omni models create-branch <model-id> --name "add-new-columns"
# View help for yaml-create command, including arguments and flag details
omni models yaml-create --help
Every command in this group also accepts the global flags, including
--token, --profile, --format, and --compact.
