Command Reference
The oh CLI is organized into command groups, one per resource type. Commands with --show-sql can preview the generated SQL without making a network call; each page lists where the flag is available.
| Group | Commands | Description |
|---|---|---|
oh cluster | show describe create alter delete | Compute clusters |
oh lake | show describe create alter delete | Lakes (storage namespaces) |
oh database | show create delete | Databases within a lake |
oh table | show · service subgroup | Tables and background table services |
oh flow | show describe create alter delete | Ingestion pipelines from a source to a table |
oh source | show describe create delete | Data sources (Kafka, S3, Postgres, …) |
oh catalog | show describe create delete | External metastore catalogs |
oh transformation | show describe create delete | Row-level transformations applied during ingestion |
oh validation | show describe create delete | Data quality validations applied during ingestion |
oh job | show describe create create-and-run alter delete run show-runs describe-run cancel-run upload-jar replace-jar show-jars describe-jar delete-jar | JAR and Python Spark jobs |
oh service-principal | show create alter delete | Non-human identities for programmatic access |
oh group | show create alter delete | Groups of users |
oh grant / oh revoke | privilege role member row-filter column-mask column-access data-admin · grant adds show show-roles | Grant or revoke privileges, roles, membership and fine-grained data access |
oh policy | show import sync grant revoke reset | Import, sync and inspect access-control policies on an external catalog |
oh ocu | alter | Project-wide OCU (Onehouse Compute Unit) limit |
oh dataplane | describe validate-storage set node-types template create status drop · storage subgroup | Customer-run Kubernetes data planes with S3-compatible storage |
oh api-token | create delete | API tokens scoped to a service principal |
oh login / oh logout | — | Sign in as yourself through the browser instead of an API key |
oh ai-gateway | login logout token run proxy | AI Gateway tokens for Claude Code and Codex |
oh skill / oh install | skill · install agent-skill | Read or install the bundled agent skill |
oh sql | exec status | Execute raw SQL or check request status |
For global flags (--profile, --timeout, --output) that apply to every command, see Global options.