Docs Reference
Reference · CLI
The kumo command line
Every kumo command a Kumo.io installation offers, generated from the CLI’s own command registry: the same descriptions, options and examples kumo <command> --help prints.
Getting the CLI
The kumo command ships inside the Kumo.io container image, so a self-hosted installation already has it. Run it inside the container:
docker exec kumo kumo --help
The kumo deployment commands, which install and run a self-hosted installation as separate services, run from your own machine; see Run Kumo.io as separate services.
kumo --version prints the version you are running, and kumo <command> --help describes any command or group. The reference below is generated from the same command registry, for a self-hosted installation.
Choosing what a command works on
Most commands act on an account, a workspace or a source. Pass it with a flag (--account, --workspace, --source, --environment), or set it once and leave the flag off:
kumo use workspace prod
kumo current
A selector takes an id, or a name within its parent. Names are a convenience; scripts should pass ids, which never need a lookup. Each value is resolved in this order:
- the flag on the command;
- an environment variable:
KUMO_ACCOUNT,KUMO_WORKSPACE,KUMO_SOURCE,KUMO_ENVIRONMENT; - the current selection set by
kumo use.
The selection lives in ~/.kumo/context.json, or in a .kumo/context.json in the project directory you run from. Save a selection under a name with kumo context save <name> and switch back to it with kumo use context <name>. Set KUMO_NO_CONTEXT=1 to ignore the saved selection.
Output formats
Commands print readable text by default. Add --format json for output a script can parse: field names in JSON output are stable, and new fields are only ever added. Color is off when NO_COLOR is set or the output is not a terminal.
Exit codes
| Code | Meaning |
|---|---|
0 | Success. |
1 | An unexpected error. |
2 | A usage error: an unknown command or option, or a missing or invalid value. |
3 | The request was refused: a plan limit, a policy, or a check that failed. |
Errors print as one line. Add -v (or set KUMO_DEBUG=1) for the full detail.
Running against a remote installation
The CLI can run commands against a Kumo.io installation's API instead of a local one. Create an API token in Settings › API Tokens, then sign in:
kumo login --api-url https://kumo.example.com
kumo login asks for the token without showing what you type (or reads it from standard input with --token-stdin), checks it with the API, saves the address and token in ~/.kumo/credentials.json where only you can read them, and selects the token's account. On a workspace hosted on kumo.io you can approve the sign-in in a browser instead: kumo login --device --api-url https://kumo.io/api/tenants/<workspace-address> prints a short code and the page to enter it on (add --open to open that page), waits for you to approve, and saves a new API token named "kumo CLI (device login, <date>)" that you can revoke in Settings › API Tokens. Later commands run against that API. kumo auth status shows the API, account, token scope and expiry; kumo logout removes the saved token.
For automation, set environment variables instead:
export KUMO_API_URL=https://kumo.example.com
export KUMO_API_TOKEN=kum_<…>.<secret>
export KUMO_ACCOUNT=<account id>
The global options --api-url and --token and a command's --account flag do the same for one run; prefer the environment variables, so the token stays out of your shell history. A flag beats its environment variable, and both beat kumo login. In remote mode, pass ids rather than names. Commands marked Remote below run in remote mode; any other command stops with an error rather than answering from a local database. See API tokens for creating a token and finding the API address.
Global options
These go before the command: kumo --api-url <url> workspace list.
| Option | Description |
|---|---|
-v, --verbose | Stream progress + pipeline stage transitions to stderr (default: false) |
--remote | Run against a remote hosted Kumo.io API (requires --api-url or KUMO_API_URL) (default: false) |
--api-url <url> | Hosted Kumo.io API base URL for remote mode (default: $KUMO_API_URL) |
--token <token> | API key/token for remote noninteractive auth — prefer $KUMO_API_TOKEN (a literal token can leak via shell history / process list) |
Setup
First-run onboarding and diagnostics.
kumo init
Bootstrap an account, workspace, provider scope, credential, and source (idempotent per step)
kumo init [options]
| Option | Description |
|---|---|
--account-id <id> | Account id to create or reuse. Optional — resolves via the standard precedence (this flag, then KUMO_ACCOUNT, then the current selection in ~/.kumo/context.json) and falls back to the well-known dev account (KUMO_DEV_ACCOUNT, default "acct-dev" — the SAME account the tenant API's dev static token binds), so a bare `kumo init` lands where the UI logs in. |
--account-name <name> | Account display name (default: same as --account-id) |
--workspace-name <name> | Workspace name (default: "default") |
--aws-account-id <id> | AWS account number (12 digits) to wire explicitly. Omit to DISCOVER it from --secret-ref via STS GetCallerIdentity — you need not know the number. The canonical account scope key is derived either way (aws:commercial:account:<id>) so it matches what continuous re-discovery mints. |
--aws-partition <partition> | AWS partition: aws | aws-us-gov | aws-cn (default: "aws") |
--aws-scope-display-name <name> | AWS scope display name (default: "aws-default-scope") |
--credential-name <name> | Source credential display name (default: "aws-default") |
--credential-kind <kind> | Credential shape: aws.static_credentials | api_token | … (default: "aws.static_credentials") |
--secret-ref <ref> | Secret-store lookup ref: env:KUMO_AWS_CRED_JSON | op://vault/item/field |
--from-ambient | Onboard the host's ambient AWS identity (env credentials / profile / task role / instance profile): creates an aws.ambient credential — nothing to paste — and discovers the account via STS. Mutually exclusive with --secret-ref. |
--source-name <name> | Source display name (default: "aws-default-source") |
--template-only <list> | Comma-separated subset of system templates (default: all bundled) (default: "") |
--no-select | Do not set the created account/workspace/source as the current selection |
kumo setup
Kumo.io setup control plane — check, plan, doctor, repair, status, export
kumo setup check— Non-mutating prerequisite and readiness checkkumo setup plan— Show which checks would run and which actions could applykumo setup doctor— Show only failing / warning / unknown checks with their next actionskumo setup repair— Re-run safe/idempotent fixers for failed checkskumo setup status— One-line readiness summary suitable for prompts and CI badgeskumo setup export— Export the setup report (--out) or a support bundle (--bundle)kumo setup clear-state— Reset local setup state (state.json + reports) — does not touch product datakumo setup ui— Launch the localhost-only setup web UI
kumo setup check
Non-mutating prerequisite and readiness check
kumo setup check [options]
| Option | Description |
|---|---|
--mode <mode> | setup mode (development|local|appliance|self-hosted|hosted) (default: "development") |
--profile <name> | profile name for evidence + report |
--backend <kind> | backend override (in-memory|filesystem|postgres) |
--home <path> | KUMO_HOME override for this run |
--dsn <dsn> | Postgres DSN override for this run |
--matrix <path> | explicit config/setup-matrix.yaml path |
--format <fmt> | output format (text|json) (default: "text") |
--verbose | include evidence in text output (default: false) |
--no-state | do not persist state or report to $KUMO_HOME/setup/ |
--resume | render the last saved report instead of re-running (default: false) |
kumo setup plan
Show which checks would run and which actions could apply
kumo setup plan [options]
| Option | Description |
|---|---|
--mode <mode> | setup mode (default: "development") |
--profile <name> | profile name |
--backend <kind> | backend override |
--home <path> | KUMO_HOME override |
--matrix <path> | explicit config/setup-matrix.yaml path |
kumo setup doctor
Show only failing / warning / unknown checks with their next actions
kumo setup doctor [options]
| Option | Description |
|---|---|
--mode <mode> | setup mode (default: "development") |
--profile <name> | profile name |
--backend <kind> | backend override |
--home <path> | KUMO_HOME override |
--matrix <path> | explicit config/setup-matrix.yaml path |
--format <fmt> | output format (text|json) (default: "text") |
kumo setup repair
Re-run safe/idempotent fixers for failed checks
kumo setup repair [options]
| Option | Description |
|---|---|
--mode <mode> | setup mode (default: "development") |
--profile <name> | profile name |
--backend <kind> | backend override |
--home <path> | KUMO_HOME override |
--matrix <path> | explicit config/setup-matrix.yaml path |
--dry-run | show which fixers would run, without running (default: false) |
kumo setup status
One-line readiness summary suitable for prompts and CI badges
kumo setup status [options]
| Option | Description |
|---|---|
--mode <mode> | setup mode (default: "development") |
--profile <name> | profile name |
--backend <kind> | backend override |
--home <path> | KUMO_HOME override |
--matrix <path> | explicit config/setup-matrix.yaml path |
kumo setup export
Export the setup report (--out) or a support bundle (--bundle)
kumo setup export [options]
| Option | Description |
|---|---|
--mode <mode> | setup mode (default: "development") |
--profile <name> | profile name |
--backend <kind> | backend override |
--home <path> | KUMO_HOME override |
--matrix <path> | explicit config/setup-matrix.yaml path |
--out <path> | report output path (default reports/setup.json) |
--bundle <path> | support-bundle output path (.json or .json.gz) |
--no-state | do not persist state on the run this export triggers |
kumo setup clear-state
Reset local setup state (state.json + reports) — does not touch product data
kumo setup clear-state [options]
| Option | Description |
|---|---|
--home <path> | KUMO_HOME override |
--yes | skip confirmation (default: false) |
kumo setup ui
Launch the localhost-only setup web UI
kumo setup ui [options]
| Option | Description |
|---|---|
--mode <mode> | setup mode (default: "development") |
--profile <name> | profile name |
--backend <kind> | backend override |
--home <path> | KUMO_HOME override |
--matrix <path> | explicit config/setup-matrix.yaml path |
--host <host> | bind host (loopback only unless --unsafe-host) (default: "127.0.0.1") |
--port <port> | bind port (0 = random ephemeral) (default: "0") |
--no-browser | do not attempt to open a browser |
--unsafe-host | allow binding a non-loopback host (accept the exposure) (default: false) |
--keep-open | keep the server running after platformSetup flips to ready (default: false) |
kumo login Remote
Sign the CLI in to a Kumo.io API with an API token
kumo login [options]
| Option | Description |
|---|---|
--token-stdin | Read the API token from stdin instead of prompting (default: false) |
--device | Approve the sign-in in a browser instead of pasting a token (hosted workspaces) (default: false) |
--open | With --device, also open the approval page in your default browser (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Create a token in Settings › API Tokens, then:
kumo login --api-url https://kumo.example.com # prompts, input hidden
kumo login --api-url https://kumo.example.com --token-stdin < token.txt
On a hosted workspace you can approve in a browser instead (no token to copy):
kumo login --device --api-url https://kumo.io/api/tenants/<workspace-address>
It prints a short code and the page to enter it on (--open also opens the page),
waits for you to approve, and saves a new API token named
"kumo CLI (device login, <date>)" — revoke it in Settings › API Tokens.
A denied or expired request exits 3.
The address and token are saved, readable only by you, in ~/.kumo/credentials.json
($KUMO_CONFIG_DIR/credentials.json when set), and the token's account is selected.
Later commands run against that API. --api-url / KUMO_API_URL and --token /
KUMO_API_TOKEN take precedence over the login; the saved token is only ever sent
to the address it was saved with.
kumo logout
Remove the API token saved by kumo login
kumo logout [options]
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo doctor
Run runtime health checks (config, persistence, license, login, …) and report
kumo doctor [options]
| Option | Description |
|---|---|
--require-login | Treat a dataset nobody can sign in to as an error — a scriptable "is this deployment usable?" gate (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo completion
Emit a shell completion script; source the output into your shell
kumo completion [options] <shell>
| Argument | Description |
|---|---|
shell | Shell type: bash | zsh | fish |
Context & selection
Set persistent defaults so later commands can omit --account/--workspace/...
kumo use
Set the current selection so later commands can omit --account/--workspace/...
kumo use [options] [kind] [value]
| Argument | Description |
|---|---|
kind | Entity kind: account | workspace | source | credential | environment | revision | context |
value | Id, name, or @latest |
| Option | Description |
|---|---|
--clear | Clear the specified kind (or all current if no kind given) (default: false) |
kumo current
Print the current selection (account/workspace/source/credential/environment/revision)
kumo current [options]
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--shell | Emit a compact PS1 tag for shell prompts (empty when nothing selected) (default: false) |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo context
Manage saved selection snapshots
kumo context list— List every saved contextkumo context save— Snapshot the current selection under the given namekumo context show— Print the contents of a saved contextkumo context delete— Delete a saved contextkumo context clear— Clear the current selection (saved snapshots remain intact)
kumo context list
List every saved context
kumo context list [options]
kumo context save
Snapshot the current selection under the given name
kumo context save [options] <name>
| Argument | Description |
|---|---|
name | Name to save as |
kumo context show
Print the contents of a saved context
kumo context show [options] <name>
| Argument | Description |
|---|---|
name | Name of the saved context |
kumo context delete
Delete a saved context
kumo context delete [options] <name>
| Argument | Description |
|---|---|
name | Name of the saved context |
kumo context clear
Clear the current selection (saved snapshots remain intact)
kumo context clear [options]
Data plane
Sources, provider sync, and materialized graph state.
kumo source
Provider-bound sources — live crawl
kumo source list— List sources: account-wide by default, or scoped with --workspacekumo source show— Show one source with its recent syncs and latest snapshotkumo source create— Create a source bound to a workspace and credential referencekumo source connect— One-call onboarding: paste a credential → scope → source (+ first sync). See also: source createkumo source sync— Sync a source live against its cloud providerkumo source delete— Soft-delete (archive) a source — hides it + retires its exclusive resources; restore with `kumo source restore`kumo source restore— Restore a soft-deleted (archived) sourcekumo source sync-batch— Sync multiple live sources with per-account concurrency limitskumo source diagnostics summarize— Roll sync diagnostics up by (provider, service, code, severity) with distinct-source counts (bulk-crawl triage)
kumo source list Remote
List sources: account-wide by default, or scoped with --workspace
kumo source list [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Scope to one workspace (omit to list across the whole account) |
--provider-key <k> | Filter to one provider: aws | azure | gcp | kubernetes | … |
--include-archived | Include soft-deleted (archived) sources (hidden by default) (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--limit <n> | Cap output at N rows per workspace (0 = all) (default: 100) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo source show Remote
Show one source with its recent syncs and latest snapshot
kumo source show [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id (falls back to `kumo use workspace`; used for auth gating) |
--source <id> | Source id (falls back to `kumo use source`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--recent-syncs <n> | Number of recent syncs to include (0 = all) (default: 10) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo source create
Create a source bound to a workspace and credential reference
kumo source create [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--provider-key <k> | Provider key: aws | azure | gcp | kubernetes | … |
--display-name <name> | Human-friendly label |
--credential <id> | SourceCredentialReference id (from `kumo credential create`); falls back to the current selection (`kumo use credential`, or the credential you just created) |
--secret-ref <ref> | One-call: create the credential from this secret ref (env:… | op://vault/item/field), discover scopes, and make the source. Mutually exclusive with --credential. |
--credential-kind <kind> | Credential shape for --secret-ref (default: aws.static_credentials) |
--credential-name <name> | Display name for the --secret-ref credential (default: derived from --display-name) |
--scope <key> | Provider scope key to materialize (a `provider-scope discover` proposal flips to active + binds to the workspace) |
--org | Materialize the provider's organization-root scope (one org-mode source) |
--all-accounts | Materialize every account-kind scope proposal as its own source |
--discovery-mode <mode> | Scope discovery for --secret-ref: account (default — the credential's own account) | organization (enumerate AWS Org member accounts so --all-accounts fans out across them) (default: "account") |
--org-member-role <name> | AWS: IAM role name to assume into each Organization member account during --discovery-mode organization, presenting the credential's external ID (omit: members reuse the source credential) |
--sync | After creating, crawl the source(s) immediately (a built-in `kumo source sync`) |
--regions <list> | Region filter for --sync (AWS; omit to auto-discover all enabled regions). Matches `kumo source sync --regions`. |
--replay <dir-or-file> | With --sync, replay a recorded capture (`kumo source sync-batch --record`) instead of a live crawl — provider-free |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--no-select | Do not set the new source as the current selection |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Examples:
# One-call: build the credential from an env secret, discover scopes, create + crawl
$ kumo source create --provider-key aws --display-name prod \
--secret-ref env:AWS_CREDS --sync
# AWS Organization: one source per member account, then crawl each
$ kumo source create --provider-key aws --display-name "AWS Org" \
--secret-ref op://Kumo/aws-root/credential --discovery-mode organization \
--all-accounts --sync
# Use an already-created credential + an explicit provider scope
$ kumo source create --provider-key aws --display-name staging \
--credential cred_01H... --scope aws:commercial:account:123456789012
# Replay a recorded capture instead of a live crawl (provider-free)
$ kumo source create --provider-key aws --display-name qa \
--secret-ref env:AWS_CREDS --sync --replay ./captures/aws-prod
kumo source connect Remote
One-call onboarding: paste a credential → scope → source (+ first sync). See also: source create
kumo source connect [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace (id | name | @latest; remote mode needs ws_…) |
--provider <key> | Provider key: aws | azure | gcp | kubernetes (default: "aws") |
--credential-kind <kind> | Credential classification: aws.static_credentials | aws.assume_role | azure.service_principal | gcp.service_account | kubernetes.kubeconfig | kubernetes.managed_cluster |
--display-name <name> | Label shared by the credential, scope, and source |
--secret-material <json> | Raw credential material (visible in shell history — prefer stdin) |
--secret-material-stdin | Read the credential material from stdin (one line) (default: false) |
--scope <identifier> | Cloud unit to attach (AWS account id / Azure subscription / GCP project / K8s cluster — prefer the EKS ARN, GKE resource name, or AKS resource id; it becomes the cluster identity) |
--no-sync | Do not start the first sync after connecting |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Examples:
# AWS static keys, material read from stdin (never lands in shell history)
$ echo '{"accessKeyId":"AKIA…","secretAccessKey":"…"}' | \
kumo source connect --provider aws --credential-kind aws.static_credentials \
--display-name "prod account" --secret-material-stdin
# Kubernetes: kubeconfig as the material, cluster attached directly (no discovery).
# The scope is the managed-cluster identifier (EKS ARN / GKE resource name / AKS id)
# or a plain name; it is minted as `kubernetes:cluster:<identifier>`.
$ kumo source connect --provider kubernetes --credential-kind kubernetes.kubeconfig \
--display-name staging --secret-material-stdin --scope arn:aws:eks:… < ~/.kube/config
# Remote mode (hosted API): concrete ids only
$ kumo --api-url https://api.example.com source connect --workspace ws_01… \
--credential-kind aws.static_credentials --display-name prod --secret-material-stdin
kumo source sync Remote
Sync a source live against its cloud provider
kumo source sync [options]
| Option | Description |
|---|---|
--source <id-or-name> | Source id, displayName, or @latest (falls back to `kumo use source`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--regions <list> | Comma-separated region filter (AWS only; omit to auto-discover all enabled regions) |
--parameters-json <json> | Per-run crawl parameters as a JSON object, merged over the derived ones — e.g. '{"gcp":{"importMode":"shadow"}}' to run a GCP shadow-parity comparison. Support affordance; not persisted on the source. |
--replay <dir-or-file> | Replay a recorded capture (`kumo source sync-batch --record <dir>`) instead of a live crawl — provider-free, no credentials. A dir picks the capture matching the source's provider; or pass a specific <file>.json. Ignores --regions. |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo source delete
Soft-delete (archive) a source — hides it + retires its exclusive resources; restore with `kumo source restore`
kumo source delete [options]
| Option | Description |
|---|---|
--source <id-or-name> | Source id, name, or @latest (falls back to `kumo use source`) |
--workspace <id-or-name> | Owning workspace id/name/@latest (needed to resolve a source by name) |
--yes | Confirm the (recoverable) delete (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo source restore
Restore a soft-deleted (archived) source
kumo source restore [options]
| Option | Description |
|---|---|
--source <id> | Source id of an archived source (falls back to `kumo use source`) |
--workspace <id-or-name> | Owning workspace id/name/@latest |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo source sync-batch
Sync multiple live sources with per-account concurrency limits
kumo source sync-batch [options]
| Option | Description |
|---|---|
--targets <file> | JSON array file: [{ sourceId, accountId, workspaceId, throttleKey?, parameters? }] |
--concurrency <n> | Max sources crawling at once (fleet-wide) (default: "10") |
--per-account <n> | Max concurrent crawls per account (throttle domain) (default: "1") |
--wgr-mode <mode> | WGR compose strategy: once-at-end | per-source (default: "once-at-end") |
--candidate-batch <n> | Per-source in-memory candidate batch size |
--source-timeout <ms> | Abandon a source after this many ms (0 disables) (default: "300000") |
--limit <n> | Only crawl the first N targets (smoke a subset) |
--regen-eks | For EKS Kubernetes sources, regenerate a fresh kubeconfig from the linked aws.assume_role credential (stale-token recovery) |
--record <dir> | Tee each adapter's full crawl output to <dir> for provider-free replay (kumo dev corpus replay). Verbatim, pre-redaction — local-only, never commit |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo source diagnostics summarize
Roll sync diagnostics up by (provider, service, code, severity) with distinct-source counts (bulk-crawl triage)
kumo source diagnostics summarize [options]
| Option | Description |
|---|---|
--min-severity <sev> | Severity floor: info | warning | error | fatal |
--since-seq <n> | Only diagnostics with seq greater than this (a crawl window) |
--limit <n> | Max buckets, most-impactful first (default: 50) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo credential
Register provider credentials and check their health
kumo credential create— Register a provider credential reference (stores the lookup key, not the raw secret)kumo credential health latest— Show the most-recent report for a source / scope / credentialkumo credential health list— List the report history for a credential / scope (paged)kumo credential health show— Fetch one report by id (exit 4 if not found)kumo credential health invalidate— Invalidate a report so the next access forces a fresh checkkumo credential health check— Run a live health check against a source or credential reference
kumo credential create
Register a provider credential reference (stores the lookup key, not the raw secret)
kumo credential create [options]
| Option | Description |
|---|---|
--display-name <name> | Human-friendly label |
--credential-kind <kind> | Credential shape (e.g. aws.static_credentials, aws.assume_role, api_token) |
--secret-ref <ref> | Secret-store lookup ref: env:KUMO_AWS_CRED_JSON | op://vault/item/field |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--no-select | Do not set the new credential as the current selection |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Examples:
# AWS static keys from an env var holding the credential JSON
$ kumo credential create --display-name "AWS prod" \
--credential-kind aws.static_credentials --secret-ref env:KUMO_AWS_CRED_JSON
# An assume-role credential whose secret lives in 1Password
$ kumo credential create --display-name "AWS org role" \
--credential-kind aws.assume_role --secret-ref op://Kumo/aws-role/credential
# The credential is auto-selected; `kumo source create` then reuses it
kumo credential health latest
Show the most-recent report for a source / scope / credential
kumo credential health latest [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--source <id> | Source id |
--scope <id> | Provider scope id |
--credential <id> | Source-credential reference id |
--fingerprint <fp> | Credential fingerprint |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo credential health list
List the report history for a credential / scope (paged)
kumo credential health list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--source <id> | Source id |
--scope <id> | Provider scope id |
--credential <id> | Source-credential reference id |
--provider <key> | Provider key (e.g. aws) |
--limit <n> | Max reports to return |
--cursor <cursor> | Pagination cursor from a prior page |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo credential health show
Fetch one report by id (exit 4 if not found)
kumo credential health show [options] <reportId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo credential health invalidate
Invalidate a report so the next access forces a fresh check
kumo credential health invalidate [options] <reportId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--reason <reason> | Audit-recorded reason (required) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo credential health check
Run a live health check against a source or credential reference
kumo credential health check [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--source <id> | Source id to check |
--credential <id> | Source-credential reference id to check |
--mode <mode> | Probe depth: quick | standard | exhaustive (default: "standard") |
--force | Bypass the freshness cache and always run a new probe (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo provider-scope
Register a provider scope (per-provider tenant/account/subscription)
kumo provider-scope create— Register a provider scope under an account (account from --account or context)kumo provider-scope discover— Enumerate the scopes a credential can see and record them as proposals
kumo provider-scope create
Register a provider scope under an account (account from --account or context)
kumo provider-scope create [options]
| Option | Description |
|---|---|
--provider-key <k> | Provider key: aws | azure | gcp | kubernetes | … |
--scope-key <key> | Canonical external scope id (e.g. aws::123456789012::us-east-1) |
--display-name <name> | Human-friendly label |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo provider-scope discover
Enumerate the scopes a credential can see and record them as proposals
kumo provider-scope discover [options]
| Option | Description |
|---|---|
--provider-key <k> | Provider key: aws | azure | gcp | kubernetes | … |
--credential <id> | SourceCredentialReference id (cred_…); falls back to the current selection (`kumo use credential`, or the credential you just created) |
--discovery-mode <mode> | Provider discovery mode: account | explicit_accounts | organization (default: "account") |
--organizational-units <ids> | Comma-separated OU ids to filter organization discovery |
--org-member-role <name> | AWS: IAM role name to assume into each Organization member account during --discovery-mode organization, presenting the credential's external ID (omit: members reuse the source credential) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo provider-definition-override
Per-account / per-workspace overrides of the built-in provider definitions
kumo provider-definition-override set— Upsert a provider-definition override layer (account- or workspace-scope) from a JSON filekumo provider-definition-override list— List the override layers for a provider (account-scope, plus a workspace layer if selected)kumo provider-definition-override remove— Remove a provider-definition override layer (account- or workspace-scope)
kumo provider-definition-override set
Upsert a provider-definition override layer (account- or workspace-scope) from a JSON file
kumo provider-definition-override set [options]
| Option | Description |
|---|---|
--provider-key <k> | Provider key the override targets (must match the document) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--file <path> | Path to the ProviderDefinitionOverride JSON document |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo provider-definition-override list
List the override layers for a provider (account-scope, plus a workspace layer if selected)
kumo provider-definition-override list [options]
| Option | Description |
|---|---|
--provider-key <k> | Provider key to list overrides for |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo provider-definition-override remove
Remove a provider-definition override layer (account- or workspace-scope)
kumo provider-definition-override remove [options]
| Option | Description |
|---|---|
--provider-key <k> | Provider key whose override to remove |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo encryption
Envelope encryption and key maintenance
kumo encryption rewrap— Re-encrypt envelope rows onto the current active KEK
kumo encryption rewrap
Re-encrypt envelope rows onto the current active KEK
kumo encryption rewrap [options]
| Option | Description |
|---|---|
--dry-run | List stale refs without rewriting them (default: false) |
--yes | Confirm the rewrite (or set KUMO_ALLOW_DESTRUCTIVE=1); not needed for --dry-run (default: false) |
--force-remote | Allow the rewrite against a non-local DSN (default: false) |
--kek-provider <kind> | KEK source: env | aws-kms (default: "env") |
--kms-key-arn <arn> | CMK ARN (--kek-provider=aws-kms) |
--kms-wrapped-active <b64> | Base64 wrapped active KEK ciphertext (aws-kms) |
--kms-wrapped-prior <pairs> | Comma-separated kek_id=<b64> pairs (aws-kms) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Examples:
# 1. Inventory: which envelope rows are on a stale KEK? (no writes)
$ kumo encryption rewrap --dry-run --account acct-prod
# 2. Rotate onto the active env KEK (KUMO_PG_SECRETS_KEK), gated like other
# destructive ops: --yes + a local DSN (or --force-remote)
$ kumo encryption rewrap --account acct-prod --yes
# 3. KMS-wrapped KEKs: unwrap via KMS.Decrypt at run time
$ kumo encryption rewrap --account acct-prod --yes --kek-provider aws-kms \
--kms-key-arn arn:aws:kms:… --kms-wrapped-active kek-2=AQICAH…
Workspace graph
Synchronize, materialize, and inspect graph revisions, environments, resources, and views.
kumo workspace
Workspace lifecycle and coordinated sync
kumo workspace list— List workspaces visible to the current userkumo workspace create— Create a workspace inside an account (account from --account or `kumo use account`)kumo workspace sync— Sync every active source in a workspace, then compose one graph revisionkumo workspace attach-scope— Attach a provider scope to a workspace (workspace + account from --flags or context)kumo workspace export— Export a workspace graph to a portable archive filekumo workspace import plan— Dry-run: validate the archive + show the import plankumo workspace import apply— Execute the import (persists a graph revision)
kumo workspace list Remote
List workspaces visible to the current user
kumo workspace list [options]
| Option | Description |
|---|---|
--scope-account <id> | Restrict to one account id (default: all accounts) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--limit <n> | Cap output at N rows (0 = all) (default: 100) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo workspace create Remote
Create a workspace inside an account (account from --account or `kumo use account`)
kumo workspace create [options]
| Option | Description |
|---|---|
--name <name> | Workspace name |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--no-select | Do not set the new workspace as the current selection |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo workspace sync
Sync every active source in a workspace, then compose one graph revision
kumo workspace sync [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--corpus-dir <path> | Directory of <provider>-<uuid>.yaml corpus files (for per-Source adapter construction) |
--policy <kind> | Finalization: strict (abort on any rejection) | accept_partial (compose partial WGR) (default: "accept_partial") |
--lease-ttl-ms <ms> | Run-lease validity in ms (default 1h; 0 disables lease-based recovery) (default: 3600000) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo workspace attach-scope
Attach a provider scope to a workspace (workspace + account from --flags or context)
kumo workspace attach-scope [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--provider-scope <id> | ProviderScope id (from `kumo scope create`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo workspace export
Export a workspace graph to a portable archive file
kumo workspace export [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--out <path> | Output archive file path |
--format <fmt> | Archive format: ndjson | zip (default: "ndjson") |
--kinds <csv> | Object kinds to include: resource,connection (default: "resource,connection") |
kumo workspace import plan
Dry-run: validate the archive + show the import plan
kumo workspace import plan [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Target workspace id, name, or @latest |
--file <path> | Path to the export archive (NDJSON or ZIP) |
--conflict-mode <mode> | How to treat existing objects: create_only | skip_existing | upsert_safe | merge | replace | restore (default: "create_only") |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo workspace import apply
Execute the import (persists a graph revision)
kumo workspace import apply [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Target workspace id, name, or @latest |
--file <path> | Path to the export archive (NDJSON or ZIP) |
--conflict-mode <mode> | How to treat existing objects: create_only | skip_existing | upsert_safe | merge | replace | restore (default: "create_only") |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--idempotency-key <key> | Stable retry key (default: generated per invocation) |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo environment
Environments identified from a graph revision
kumo environment list— List environments in a workspace, including system-discovered oneskumo environment resources— List resources bound to an environment (current membership)
kumo environment list Remote
List environments in a workspace, including system-discovered ones
kumo environment list [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--origin <kind> | Filter by origin: user | system_discovered |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo environment resources
List resources bound to an environment (current membership)
kumo environment resources [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--environment <id-or-key> | Environment id, policyKey (e.g. aws-vpc), or @latest (falls back to `kumo use environment`) |
--revision <id> | Specific EnvironmentRevision id (default: latest for the environment) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--attributes | In text mode, print each resource's attribute map inline (default: false) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo resource
Resource inspection at a graph revision or point in time
kumo resource list— List resources at a graph revision (latest if --revision omitted)kumo resource show— Look up a resource at a graph revision (--revision) or wall-clock time (--time)kumo resource inspect— Deep-inspect a resource: attributes, in/out connections, and revision historykumo resource connections— List a resource's connections at a graph revisionkumo resource lineage— Trace a resource back to its raw observations, revisions, and sourcekumo resource provisioning— Break a workspace down into cloud-provided vs provisioned resources
kumo resource list Remote
List resources at a graph revision (latest if --revision omitted)
kumo resource list [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--revision <wgrId> | Graph revision to read against (default: latest for the workspace) |
--semantic-type <type> | Filter to a single semantic type (exact match) |
--limit <n> | Cap output at N rows (0 = all; sort is canonicalIdentityKey ascending) (default: 50) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo resource show Remote
Look up a resource at a graph revision (--revision) or wall-clock time (--time)
kumo resource show [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--id <resourceId> | Resource id (mutually exclusive with --canonical-key) |
--canonical-key <key> | Canonical identity key, workspace-scoped (e.g. aws::123456789012::us-east-1::ec2:vpc:vpc-abc) |
--revision <wgrId> | Graph revision to read against (default: latest for the workspace) |
--time <iso> | ISO-8601 wall-clock timestamp to read at (e.g. 2026-06-10T14:00:00Z) |
--list-intervals | With --time: also print every interval for this resource (full history) (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Examples:
# By resource id, at the latest revision
$ kumo resource show --workspace prod --id res_01H...
# By canonical identity key (workspace-scoped)
$ kumo resource show --workspace prod \
--canonical-key aws::123456789012::us-east-1::ec2:vpc:vpc-abc
# State as of a wall-clock time (resolved via revision intervals)
$ kumo resource show --workspace prod --id res_01H... --time 2026-06-10T14:00:00Z
# State at a specific graph revision
$ kumo resource show --workspace prod --id res_01H... --revision wgr_01H...
kumo resource inspect
Deep-inspect a resource: attributes, in/out connections, and revision history
kumo resource inspect [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--id <resourceId> | Resource id (from `env resources`, `resource list`, …) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo resource connections Remote
List a resource's connections at a graph revision
kumo resource connections [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--id <resourceId> | Resource id (mutually exclusive with --canonical-key) |
--canonical-key <key> | Canonical identity key, workspace-scoped |
--revision <wgrId> | Graph revision to read against (default: latest for the workspace) |
--direction <dir> | Traversal direction: in | out | both (default: "both") |
--connection-type <type> | Filter to a single connection_type (exact match) |
--limit <n> | Cap output at N rows (0 = all) (default: 100) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo resource lineage
Trace a resource back to its raw observations, revisions, and source
kumo resource lineage [options]
| Option | Description |
|---|---|
--id <id> | Resource id (res_…) |
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo resource provisioning
Break a workspace down into cloud-provided vs provisioned resources
kumo resource provisioning [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo connection
Connection inspection at a graph revision or point in time
kumo connection show— Look up a connection at a graph revision (--revision) or wall-clock time (--time)kumo connection lineage— Trace a connection back to its raw observations, revisions, and source
kumo connection show
Look up a connection at a graph revision (--revision) or wall-clock time (--time)
kumo connection show [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--id <connectionId> | Connection id |
--revision <wgrId> | Graph revision to read against (default: latest for the workspace) |
--time <iso> | ISO-8601 wall-clock timestamp to read at (e.g. 2026-06-10T14:00:00Z) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--list-intervals | With --time: also print every interval for this connection (full history) (default: false) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo connection lineage
Trace a connection back to its raw observations, revisions, and source
kumo connection lineage [options]
| Option | Description |
|---|---|
--id <id> | Connection id (cxn_…) |
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo revision
Workspace graph revisions
kumo revision list— List every graph revision for a workspacekumo revision diff— Diff two graph revisions in the same workspacekumo revision materialize— Re-run environment identification + default-view materialization for a graph revision
kumo revision list Remote
List every graph revision for a workspace
kumo revision list [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--limit <n> | Cap output at N rows (0 = all; pair with --desc for most-recent-only) (default: 50) |
--desc | Sort by sequence descending (newest first; default is ascending) (default: false) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo revision diff
Diff two graph revisions in the same workspace
kumo revision diff [options] <fromWgrId> <toWgrId>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--out <path> | Write the full DiffArtifact JSON to this file (regardless of --format) |
--limit <n> | Text mode only: cap per-section table at N rows (0 = all) (default: 30) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo revision materialize
Re-run environment identification + default-view materialization for a graph revision
kumo revision materialize [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest |
--all | Regenerate every workspace (latest WGR each) (default: false) |
--force | Regenerate even when a view is unchanged (skip the inputHash dedupe) (default: false) |
--stale-engine | Regenerate only views rendered by an older diagrammar engine (render-stack fingerprint mismatch); unchanged same-engine views still skip. Superseded by --force. (default: false) |
--revision <wgrId> | Graph revision to read against (default: latest for the workspace) |
--shard <K/N> | With --all: process only every Nth workspace (1-based K of N; deterministic id-sorted round-robin) — run N processes in parallel for a multi-core regenerate |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
kumo view
View materialization and rendered artifacts
kumo view export— Export rendered view artifacts to disk: `--format svg --all --out <dir>`kumo view list— List views: account-wide by default (matches /diagrams), or scoped with --workspace / --environment
kumo view export
Export rendered view artifacts to disk: `--format svg --all --out <dir>`
kumo view export [options]
| Option | Description |
|---|---|
--out <dir> | Output directory (created if missing) |
--format <fmt> | Artifact format: svg (PNG/PDF/JSON planned) (default: "svg") |
--all | Export every View in scope (the default) (default: true) |
--view <id> | Export a single View by id (reserved — not yet supported) |
--workspace <id-or-name> | Scope to one workspace by id, name, or @latest (mutually exclusive with --environment) |
--environment <id> | Scope to one environment (mutually exclusive with --workspace) |
--report <fmt> | Summary/report format: json | text (default: "text") |
--use-ids | Name folders/files by entity id instead of name (safer for ambiguous names) (default: false) |
--quiet | Suppress the per-file write log on stderr (default: false) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
kumo view list Remote
List views: account-wide by default (matches /diagrams), or scoped with --workspace / --environment
kumo view list [options]
| Option | Description |
|---|---|
--environment <id> | Scope to one environment (falls back to `kumo use environment`) |
--workspace <id-or-name> | Scope to one workspace, id/name/@latest (omit for the account-wide gallery) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--limit <n> | Cap the number of items returned (per environment) |
--include-archived | Include archived state (hidden by default): views of archived environments (e.g. archived by a failed/empty crawl) and views archived because their template is no longer bound to the environment (default: false) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Templates & materialization
kumo template
System view templates (publish is idempotent by templateKey: unchanged bodies skip, changed bodies get a new version)
kumo template publish— Publish system view templates so post-sync materialization can render views
kumo template publish
Publish system view templates so post-sync materialization can render views
kumo template publish [options]
| Option | Description |
|---|---|
--path <path> | Apply one specific template.yaml (overrides the built-in set) |
--only <list> | Comma-separated subset of built-in templates (available: network-topology, network-fabric, application-dependency, data-flow, public-exposure, identity-trust, kubernetes-service-map, infrastructure, security, hostname-surface) |
--replace | Accepted for compatibility — publishing is always idempotent by templateKey (skip identical hashes; bump version if changed) (default: false) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
kumo enrichment
Enrichment lane: derivation definitions + re-materialization
kumo enrichment backfill— Ensure the standard derivation definitions exist, then re-materialize enrichment from the latest WGR
kumo enrichment backfill
Ensure the standard derivation definitions exist, then re-materialize enrichment from the latest WGR
kumo enrichment backfill [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace to backfill (id | name | @latest) |
--all | Backfill every workspace in the account (default: false) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Change, cost & alerts
Interpret changes, analyze cost, and manage alerts + notifications.
kumo changes
Interpret, compare, and explain graph changes
kumo changes generate— Analyze + persist the changes for a window (durable on a Postgres backend)kumo changes list— List persisted change items for a workspace, filtered + pagedkumo changes explain— Explain a single persisted change item by idkumo changes timeline— Show the change history (timeline) of a single resourcekumo changes digest— Build a summarized, windowed change digest for a workspacekumo changes correlate— Find changes correlated with a time window + filterskumo changes comparison show— Fetch the persisted summary for a diff artifactkumo changes comparison explain— Explain one classified change from a diff artifactkumo changes comparison list— Page through the classified changes in a diff artifactkumo changes comparison export— Export a diff artifact as JSON or CSVkumo changes compare— Compare two graph revisions and save the classified comparison (prints its id + summary). Omit --from/--to to diff the two most recent revisions.
kumo changes generate
Analyze + persist the changes for a window (durable on a Postgres backend)
kumo changes generate [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--from <wgr> | From workspace-graph-revision id (default: predecessor of the latest) |
--to <wgr> | To workspace-graph-revision id (default: the latest revision) |
--lenses <csv> | Analysis lenses (e.g. security,exposure); default all |
--max <n> | Cap the number of changes returned |
--force | Re-analyze + overwrite even if the window is already materialized |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo changes list
List persisted change items for a workspace, filtered + paged
kumo changes list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--severities <csv> | Filter by severity levels (e.g. high,critical) |
--categories <csv> | Filter by categories (e.g. exposure,security) |
--subject-kinds <csv> | Filter by subject kinds (e.g. resource,connection) |
--order <order> | Page order: newest first (default) or most severe first (choices: "recent", "severity") |
--limit <n> | Max items per page |
--cursor <c> | Page cursor from a previous call (same --order) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo changes explain
Explain a single persisted change item by id
kumo changes explain [options] <change-id>
| Argument | Description |
|---|---|
change-id | Change item id |
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--raw | Include raw graph-diff back-references for drill-down |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo changes timeline
Show the change history (timeline) of a single resource
kumo changes timeline [options] <resource-id>
| Argument | Description |
|---|---|
resource-id | Resource id |
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--since <iso> | Only changes observed at or after this ISO timestamp |
--until <iso> | Only changes observed at or before this ISO timestamp |
--limit <n> | Max items |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo changes digest
Build a summarized, windowed change digest for a workspace
kumo changes digest [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--mode <mode> | Digest mode: daily_workspace | weekly_account | security | cost | deployment | incident | source_sync |
--since <iso> | Window lower bound (ISO); defaults per mode |
--until <iso> | Window upper bound (ISO) |
--max-highlights <n> | Cap on highlighted changes |
--format <fmt> | Output format: text (markdown) | json (default: "text") |
kumo changes correlate
Find changes correlated with a time window + filters
kumo changes correlate [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--anchor <iso> | Anchor timestamp (paired with --radius-minutes for anchor ± radius) |
--radius-minutes <n> | Half-width of the anchor window, in minutes |
--since <iso> | Explicit window lower bound (used without an anchor) |
--until <iso> | Explicit window upper bound |
--severities <csv> | Filter by severity levels |
--categories <csv> | Filter by categories |
--subject-kinds <csv> | Filter by subject kinds |
--resource-ids <csv> | Correlate only these resource ids |
--tags <csv> | Correlate only changes carrying one of these tags |
--limit <n> | Max items |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo changes comparison show Remote
Fetch the persisted summary for a diff artifact
kumo changes comparison show [options]
| Option | Description |
|---|---|
--artifact <id> | Graph diff artifact id (default: the latest comparison for the current workspace) |
--account <id> | Account (tenant) id (auth; falls back to `kumo use account`) |
--workspace <id-or-name> | Workspace id (remote mode; falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo changes comparison explain Remote
Explain one classified change from a diff artifact
kumo changes comparison explain [options]
| Option | Description |
|---|---|
--artifact <id> | Graph diff artifact id (default: the latest comparison for the current workspace) |
--change <id> | |
--account <id> | Account (tenant) id (auth; falls back to `kumo use account`) |
--workspace <id-or-name> | Workspace id (remote mode; falls back to `kumo use workspace`) |
--depth <depth> | summary | evidence | full (default: "summary") |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo changes comparison list Remote
Page through the classified changes in a diff artifact
kumo changes comparison list [options]
| Option | Description |
|---|---|
--artifact <id> | Graph diff artifact id (default: the latest comparison for the current workspace) |
--account <id> | Account (tenant) id (auth; falls back to `kumo use account`) |
--limit <n> | Page size (max 500) |
--cursor <cursor> | Continuation cursor from a prior call |
--categories <csv> | Filter: comma-separated categories |
--severities <csv> | Filter: comma-separated severities |
--kinds <csv> | Filter: comma-separated change kinds |
--text <substr> | Filter: substring match against title / description |
--workspace <id-or-name> | Workspace id (remote mode; falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo changes comparison export
Export a diff artifact as JSON or CSV
kumo changes comparison export [options]
| Option | Description |
|---|---|
--artifact <id> | Graph diff artifact id (default: the latest comparison for the current workspace) |
--account <id> | Account (tenant) id (auth; falls back to `kumo use account`) |
--export-format <fmt> | json | csv (default: "json") |
--format <fmt> | Output framing: text (raw body) | json (default: "text") |
kumo changes compare
Compare two graph revisions and save the classified comparison (prints its id + summary). Omit --from/--to to diff the two most recent revisions.
kumo changes compare [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--from <revision> | From graph revision id (default: the revision before --to) |
--to <revision> | To graph revision id (default: the latest revision) |
--force | Force a recompute even if a cached artifact exists (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost
Analyze cloud spend: cost, allocation, waste, recommendations, and forecasts.
kumo cost summary— Headline cost for a workspace + windowkumo cost coverage— What cannot be priced, and why — grouped by resource type + regionkumo cost breakdown— Grouped cost aggregationkumo cost explain— Explain one resource's costkumo cost waste— List persisted waste findingskumo cost recommendations— List persisted optimization recommendationskumo cost forecast— Deterministic month-ahead cost forecastkumo cost report— Build a structured cost reportkumo cost allocation rules— List allocation ruleskumo cost allocation run— Run allocation rules over a window (persists a run record)kumo cost billing-export list— Every connection: configured report + the sweep’s last observationkumo cost billing-export show— One connection: what it reads, and what the provider last saidkumo cost billing-export check— Ask the provider now and store the answer; adopts when nothing is left to decidekumo cost billing-export set— Point the connection at a billing exportkumo cost billing-export remove— Stop reading a billing export; spend returns to inventory estimateskumo cost billing-export ingest— Queue the read of every configured billing export now — the UI’s "Ingest Now"
kumo cost summary Remote
Headline cost for a workspace + window
kumo cost summary [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--last <spec> | Window ending now: <N>d or "month" |
--month <YYYY-MM> | A calendar month, e.g. 2026-06 |
--from <iso> | Explicit window start (with --to) |
--to <iso> | Explicit window end (with --from) |
--currency <code> | Report/convert into this currency |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost coverage
What cannot be priced, and why — grouped by resource type + region
kumo cost coverage [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--last <spec> | Window ending now: <N>d or "month" |
--month <YYYY-MM> | A calendar month, e.g. 2026-06 |
--from <iso> | Explicit window start (with --to) |
--to <iso> | Explicit window end (with --from) |
--currency <code> | Report/convert into this currency |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost breakdown
Grouped cost aggregation
kumo cost breakdown [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--last <spec> | Window ending now: <N>d or "month" |
--month <YYYY-MM> | A calendar month, e.g. 2026-06 |
--from <iso> | Explicit window start (with --to) |
--to <iso> | Explicit window end (with --from) |
--currency <code> | Report/convert into this currency |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--by <dims> | Comma-separated dimensions (default: "provider,service,owner") |
--tag-key <key> | Tag key when --by includes "tag" |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost explain
Explain one resource's cost
kumo cost explain [options] <resource-id>
| Argument | Description |
|---|---|
resource-id | Resource id |
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--last <spec> | Window ending now: <N>d or "month" |
--month <YYYY-MM> | A calendar month, e.g. 2026-06 |
--from <iso> | Explicit window start (with --to) |
--to <iso> | Explicit window end (with --from) |
--currency <code> | Report/convert into this currency |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost waste Remote
List persisted waste findings
kumo cost waste [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--kinds <csv> | Filter: comma-separated finding kinds |
--severities <csv> | Filter: comma-separated severities |
--statuses <csv> | Filter: comma-separated statuses |
--limit <n> | Page size |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost recommendations Remote
List persisted optimization recommendations
kumo cost recommendations [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--kinds <csv> | Filter: comma-separated recommendation kinds |
--statuses <csv> | Filter: comma-separated statuses |
--limit <n> | Page size |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost forecast Remote
Deterministic month-ahead cost forecast
kumo cost forecast [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--next <spec> | Forecast horizon: <N>d (default 30d) (default: "30d") |
--method <method> | Forecast method (default: "last_30d_run_rate") |
--currency <code> | Convert into this currency |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost report
Build a structured cost report
kumo cost report [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--last <spec> | Window ending now: <N>d or "month" |
--month <YYYY-MM> | A calendar month, e.g. 2026-06 |
--from <iso> | Explicit window start (with --to) |
--to <iso> | Explicit window end (with --from) |
--currency <code> | Report/convert into this currency |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--kind <kind> | Report kind (e.g. workspace-cost-summary, owner-chargeback) (default: "workspace-cost-summary") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost allocation rules
List allocation rules
kumo cost allocation rules [options] [action]
| Argument | Description |
|---|---|
action | list (default: "list") |
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost allocation run
Run allocation rules over a window (persists a run record)
kumo cost allocation run [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--last <spec> | Window ending now: <N>d or "month" |
--month <YYYY-MM> | A calendar month, e.g. 2026-06 |
--from <iso> | Explicit window start (with --to) |
--to <iso> | Explicit window end (with --from) |
--currency <code> | Report/convert into this currency |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost billing-export list
Every connection: configured report + the sweep’s last observation
kumo cost billing-export list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost billing-export show
One connection: what it reads, and what the provider last said
kumo cost billing-export show [options] <sourceId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost billing-export check
Ask the provider now and store the answer; adopts when nothing is left to decide
kumo cost billing-export check [options] <sourceId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost billing-export set
Point the connection at a billing export
kumo cost billing-export set [options] <sourceId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--bucket <name> | S3 bucket the report is delivered to |
--report-name <name> | The report name exactly as AWS has it |
--prefix <path> | Report path prefix; omit for the bucket root |
--region <region> | Region of the BUCKET (not the crawl scope); default us-east-1 |
--discovered <name> | Use an export the last `check` found, by name — no other fields needed |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost billing-export remove
Stop reading a billing export; spend returns to inventory estimates
kumo cost billing-export remove [options] <sourceId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo cost billing-export ingest
Queue the read of every configured billing export now — the UI’s "Ingest Now"
kumo cost billing-export ingest [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert
Alert rules, delivery targets, and fired alerts
kumo alert history— List fired alerts for a scopekumo alert ack— Acknowledge (or re-open with --reopen) a fired alert by dedup keykumo alert rule list— List alert rules (management view, includes disabled)kumo alert rule create— Create an alert rule (all condition dimensions optional, AND-combined)kumo alert rule update— Update an alert rule (rename / enable / disable)kumo alert rule delete— Delete an alert rule (idempotent)kumo alert target list— List alert targets (management view, includes disabled)kumo alert target create— Create an alert delivery targetkumo alert target delete— Delete an alert target (idempotent)
kumo alert history
List fired alerts for a scope
kumo alert history [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id (defaults to all workspaces) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert ack
Acknowledge (or re-open with --reopen) a fired alert by dedup key
kumo alert ack [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--dedup-key <key> | The fired alert dedup key (see `kumo alert list`) |
--reopen | Set the alert back to active instead |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert rule list
List alert rules (management view, includes disabled)
kumo alert rule list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert rule create
Create an alert rule (all condition dimensions optional, AND-combined)
kumo alert rule create [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--name <name> | Human-readable rule name |
--workspace <id-or-name> | Workspace id (omit for account-wide) |
--min-severity <sev> | info | low | medium | high | critical |
--sources <csv> | graph_diff,cost_anomaly,credential_health |
--categories <csv> | Signal categories (comma-separated) |
--kinds <csv> | Exact signal kinds (comma-separated) |
--kind-prefixes <csv> | Signal kind prefixes (comma-separated) |
--semantic-types <csv> | Subject semantic types or families, e.g. storage.bucket,compute |
--services <csv> | Subject provider services, e.g. ec2,s3 |
--severity <sev> | Escalate fired alerts to this severity |
--enabled <true|false> | Rule state (true | false) (default: true) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert rule update
Update an alert rule (rename / enable / disable)
kumo alert rule update [options]
| Option | Description |
|---|---|
--rule <id> | Rule id |
--name <name> | New name |
--enabled <true|false> | New rule state (true | false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert rule delete
Delete an alert rule (idempotent)
kumo alert rule delete [options]
| Option | Description |
|---|---|
--rule <id> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert target list
List alert targets (management view, includes disabled)
kumo alert target list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert target create
Create an alert delivery target
kumo alert target create [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--name <name> | |
--channel <channel> | email | slack | webhook |
--destination <dest> | Address / channel id / webhook URL |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--min-severity <sev> | Only deliver alerts at least this severe |
--enabled <true|false> | Target state (true | false) (default: true) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo alert target delete
Delete an alert target (idempotent)
kumo alert target delete [options]
| Option | Description |
|---|---|
--target <id> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification
Notification center + delivery/diagnostics
kumo notification list— List notification-center items for the current userkumo notification unread-count— The current user’s unread notification countkumo notification mark-read— Mark one inbox item read (idempotent)kumo notification dismiss— Dismiss one inbox item (idempotent)kumo notification mark-all-read— Mark every unread inbox item readkumo notification preferences show— Show the current user’s preferenceskumo notification preferences set— Upsert a preference (scope: account)kumo notification subscriptions list— List the current user’s subscriptionskumo notification subscriptions create— Create a subscriptionkumo notification test— Render + (if configured) send a synthetic test notificationkumo notification delivery list— Search deliveries (control-plane, cross-account)kumo notification delivery show— One delivery + its attempt historykumo notification delivery retry— Retry one failed_retryable deliverykumo notification diagnose— Explain why a user did or did not receive a notification
kumo notification list
List notification-center items for the current user
kumo notification list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | User id (defaults to cli) |
--workspace <id-or-name> | Workspace id (defaults to all) |
--unread | Only unread items |
--include-dismissed | Include dismissed items |
--limit <n> | Max items |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification unread-count
The current user’s unread notification count
kumo notification unread-count [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification mark-read
Mark one inbox item read (idempotent)
kumo notification mark-read [options] <recipientNotificationId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification dismiss
Dismiss one inbox item (idempotent)
kumo notification dismiss [options] <recipientNotificationId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification mark-all-read
Mark every unread inbox item read
kumo notification mark-all-read [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification preferences show
Show the current user’s preferences
kumo notification preferences show [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification preferences set
Upsert a preference (scope: account)
kumo notification preferences set [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--kind <kind> | Notification kind, or `all` |
--channel <channel> | in_app | email | slack | webhook |
--mode <mode> | immediate | digest | in_app_only | muted |
--user <id> | |
--min-severity <sev> | Only deliver at least this severe |
--disabled | Disable this preference |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification subscriptions list
List the current user’s subscriptions
kumo notification subscriptions list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification subscriptions create
Create a subscription
kumo notification subscriptions create [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--kind <kind> | Notification kind to subscribe to |
--channel <channel> | Delivery channel |
--user <id> | |
--workspace <id-or-name> | Workspace scope (omit for account-wide) |
--min-severity <sev> | Minimum severity (default: "info") |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification test
Render + (if configured) send a synthetic test notification
kumo notification test [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--channel <channel> | Channel to test |
--user <id> | |
--to <address> | Channel destination to test |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification delivery list
Search deliveries (control-plane, cross-account)
kumo notification delivery list [options]
| Option | Description |
|---|---|
--failed | Only failed_retryable deliveries |
--status <status> | Exact delivery status |
--channel <channel> | Filter by channel |
--notification <id> | Filter by notification id |
--limit <n> | Max rows |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification delivery show
One delivery + its attempt history
kumo notification delivery show [options] <deliveryId>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification delivery retry
Retry one failed_retryable delivery
kumo notification delivery retry [options] <deliveryId>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo notification diagnose
Explain why a user did or did not receive a notification
kumo notification diagnose [options] <notificationId>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo runs
Background work across the account: sync runs, cost ingests, analyses, billing-export checks
kumo runs list— List runs, newest first
kumo runs list
List runs, newest first
kumo runs list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Only this workspace |
--source <id-or-name> | Only this source (a name resolves within --workspace; an id needs no workspace) |
--type <type> | workspace_sync_run | cost_report_ingest | cost_analysis | billing_export_check |
--status <status> | pending | succeeded | partial | failed | cancelled |
--limit <n> | How many, newest first (default: 50) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Access & entitlements
Effective feature-access decisions.
kumo access
Effective feature-access decisions (after plans, overrides, account state, scope)
kumo access list— List effective feature-access decisions for an account or workspacekumo access check— Check whether a feature is enabled for an account or workspace (exit 2 if denied)kumo access explain— Show the ordered decision trace for one featurekumo access override list— List active overrides for a scopekumo access override set— Add or replace a scope-level override for one featurekumo access override delete— Remove a scope-level override for one feature (exit 3 if none existed)kumo access snapshot— Capture a feature-access snapshot for an account or workspacekumo access diff— Compare two feature-access snapshots (exit 4 on a breaking change); omit snapshot IDs to preview current access
kumo access list
List effective feature-access decisions for an account or workspace
kumo access list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id (workspace-scope resolve) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo access check
Check whether a feature is enabled for an account or workspace (exit 2 if denied)
kumo access check [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--feature <key> | Feature key (e.g. graph.diff.enabled) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo access explain
Show the ordered decision trace for one feature
kumo access explain [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--feature <key> | |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo access override list
List active overrides for a scope
kumo access override list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo access override set
Add or replace a scope-level override for one feature
kumo access override set [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--feature <key> | |
--kind <kind> | flag | limit | allowlist | configuration | credit | deny |
--value <value> | Value (bool "true"/"false", number or "unlimited" for limit, JSON otherwise) |
--reason <reason> | Audit-recorded reason (required) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--soft-limit <n> | |
--hard-limit <n> | |
--reference <ref> | Ticket / support-case reference |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo access override delete
Remove a scope-level override for one feature (exit 3 if none existed)
kumo access override delete [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--feature <key> | |
--reason <reason> | |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo access snapshot
Capture a feature-access snapshot for an account or workspace
kumo access snapshot [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--label <label> | |
--notes <notes> | |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo access diff
Compare two feature-access snapshots (exit 4 on a breaking change); omit snapshot IDs to preview current access
kumo access diff [options]
| Option | Description |
|---|---|
--from <snapshotId> | From-snapshot id |
--to <snapshotId> | To-snapshot id |
--account <id> | Subject account (preview mode) |
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Admin
Tenant lifecycle, identity, and audit.
kumo account
Account (tenant) lifecycle
kumo account list— List every accountkumo account show— Show one account with its workspace countkumo account create— Create an account (tenant)kumo account suspend— Suspend an account, blocking new sync and automatic generationkumo account reactivate— Reactivate a suspended account
kumo account list
List every account
kumo account list [options]
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo account show
Show one account with its workspace count
kumo account show [options] <id>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo account create
Create an account (tenant)
kumo account create [options]
| Option | Description |
|---|---|
--id <id> | Account id (default: minted acct-<uuid>) |
--display-name <name> | Human-readable name |
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
--no-select | Do not set the new account as the current selection |
kumo account suspend
Suspend an account, blocking new sync and automatic generation
kumo account suspend [options] <slug>
| Option | Description |
|---|---|
--reason <text> | Human-readable reason (recorded on AccountSuspended) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
--yes | Confirm this destructive action (or set KUMO_ALLOW_DESTRUCTIVE=1) (default: false) |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo account reactivate
Reactivate a suspended account
kumo account reactivate [options] <slug>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo auth
Signup, sign-in status and authorization audit
kumo auth signup— Sign up a new user + account (the web sign-up flow, from the CLI)kumo auth denials— Read authorization-denial records from the backend audit logkumo auth status— Show the API, account, token scope and expiry the CLI is using (never the token)
kumo auth signup Remote
Sign up a new user + account (the web sign-up flow, from the CLI)
kumo auth signup [options]
| Option | Description |
|---|---|
--email <email> | User email (the login identity) |
--password <password> | User password. AVOID on argv — it leaks into shell history and `ps`. Prefer --password-stdin, the KUMO_SIGNUP_PASSWORD env var, or an interactive (hidden) prompt. |
--password-stdin | Read the password from the first line of stdin (default: false) |
--display-name <name> | User display name |
--account-name <name> | New account name (default: derived from display name) |
--account-id <id> | Own an EXISTING account by id (e.g. one populated by `kumo init`) instead of minting a fresh one — the user becomes its owner. Dev convenience; mutually exclusive with --invite-token. When omitted, falls back to KUMO_ACCOUNT / the current CLI selection so signup owns the account the rest of your dev flow uses; mints a fresh account only when nothing resolves. |
--invite-token <token> | Join an existing account via an invite instead of creating one. Like --password, avoid on argv — prefer --invite-token-stdin or the KUMO_SIGNUP_INVITE_TOKEN env var. |
--invite-token-stdin | Read the invite token from the first line of stdin (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--no-select | Do not set the new account/session as the current selection |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo auth denials
Read authorization-denial records from the backend audit log
kumo auth denials [options]
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--limit <n> | Max records to render (0 = all) (default: 100) |
--actor <userId> | Filter to a specific actor userId |
--action <action> | Filter to a specific action: source.sync | environment.evaluate | view.render | workspace.read | graph.read | policy.write | retention.apply | alert.read | alert.manage | annotation.read | annotation.manage | audit.read | billing.read | billing.manage | change.read | cost.read | integration.read | integration.manage | member.read | member.manage | notification.read | notification.manage | report.read | report.manage | scim.manage | search.read | sso.read | sso.manage | usage.read |
--since <isoOrRelative> | Only records at or after this time (ISO, or 1h/24h/7d) |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo auth status Remote
Show the API, account, token scope and expiry the CLI is using (never the token)
kumo auth status [options]
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo token
API tokens for programmatic access (create / list / revoke)
kumo token create— Create an API token — the secret is shown ONCE and never storedkumo token list— List the API tokens for the current userkumo token revoke— Revoke an API token by id (idempotent)
kumo token create
Create an API token — the secret is shown ONCE and never stored
kumo token create [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--display-name <name> | Human-readable label for the token |
--scope <scope> | What the token may do: read (read-only actions) or read_write (choices: "read", "read_write") |
--expires-at <iso> | UTC ISO-8601 expiry (default: 90 days; at most 365 days out) |
--user <id> | Owning user id (defaults to cli) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo token list
List the API tokens for the current user
kumo token list [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | Owning user id (defaults to cli) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo token revoke
Revoke an API token by id (idempotent)
kumo token revoke [options] <apiKeyId>
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--user <id> | Owning user id (defaults to cli) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Billing
Commercial policy — plans, catalog, quotas, subscriptions, reconciliation.
kumo billing
Commercial policy — plans, entitlements, quotas, subscriptions
kumo billing plan list— List plans, optionally filtered by statuskumo billing plan show— Show one plankumo billing plan versions— List the versions of a plan (drafts, published, retired)kumo billing entitlement resolve— Resolve the effective entitlements for an account
kumo billing plan list
List plans, optionally filtered by status
kumo billing plan list [options]
| Option | Description |
|---|---|
--status <status> | Status filter: draft | active | archived |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo billing plan show
Show one plan
kumo billing plan show [options] <planId>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo billing plan versions
List the versions of a plan (drafts, published, retired)
kumo billing plan versions [options] <planId>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo billing entitlement resolve
Resolve the effective entitlements for an account
kumo billing entitlement resolve [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id — falls back to KUMO_ACCOUNT / the current selection (`kumo use account`) |
--workspace <id-or-name> | Workspace context (entitlements stay account-scoped) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Search & system
kumo search
Tenant search index
kumo search reindex— Rebuild the tenant search index from canonical state (postgres only)
kumo search reindex
Rebuild the tenant search index from canonical state (postgres only)
kumo search reindex [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Rebuild one workspace (default: every workspace in the account) |
--limit <n> | Cap resource heads read per workspace (default 10000) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo system
System reference data (seed) + status + read-model projections, distinct from tenant `kumo init`
kumo system seed— Seed system reference data (environment-identification policies) into the backend. Re-run after a data reset (kumo db migrate → kumo system seed).kumo system status— Read-only diagnostic: what's in the backend, migrations state, and next-step hintskumo system projections rebuild— Rebuild read-model projections for a workspace from canonical state (postgres only)
kumo system seed
Seed system reference data (environment-identification policies) into the backend. Re-run after a data reset (kumo db migrate → kumo system seed).
kumo system seed [options]
kumo system status Remote
Read-only diagnostic: what's in the backend, migrations state, and next-step hints
kumo system status [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Scope some counts (graph revisions, environments, views) to one workspace |
--account <id> | Account to --verify (falls back to KUMO_ACCOUNT / the current selection) |
--verify | Assert the account is fully provisioned + synced (account → workspace → templates → source → graph revision → environment → views); exit 3 if not |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo system projections rebuild
Rebuild read-model projections for a workspace from canonical state (postgres only)
kumo system projections rebuild [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--revision <wgrId> | Graph revision to rebuild against (default: latest for the workspace) |
--limit <n> | Cap resource heads read for providerKey/updatedAt (default 10000) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo mcp
Model Context Protocol server over the Kumo.io graph
kumo mcp serve— Serve read-only Kumo.io graph tools to an MCP client over stdio
kumo mcp serve Remote
Serve read-only Kumo.io graph tools to an MCP client over stdio
kumo mcp serve [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
Multi-cloud add-ons
kumo aws
AWS multi-cloud add-ons
kumo aws pricing ingest— Import an AWS Price List offer file into the enrichment catalogkumo aws pricing define— Create the AWS EC2 pricing EnrichmentDefinition for a workspacekumo aws cur ingest— Import an AWS Cost & Usage Report CSV as actual cost factskumo aws coverage— List the AWS services and resource types the provider can crawl
kumo aws pricing ingest
Import an AWS Price List offer file into the enrichment catalog
kumo aws pricing ingest [options]
| Option | Description |
|---|---|
--file <path> | Path to an AWS Price List bulk offer index.json (streamed — the multi-GB all-region file works) |
--service <svc> | Offer parser: AmazonEC2 (default) | AmazonRDS | AmazonRDSStorage | AmazonRDSIops | AmazonEBS | AmazonS3 | AmazonElastiCache | AWSELB | AWSLambda (Phase C1) (default: "AmazonEC2") |
--provider <key> | Catalog provider key (must match the definition) (default: "aws") |
--catalog-version <v> | Catalog version (default: offer file version/publicationDate) |
--currency <code> | Price currency to read from the offer file (default: "USD") |
--account <id> | Owning account id (default: cross-tenant reference data) |
--operating-system <os> | AmazonEC2: keep only this operatingSystem (default: every OS) |
--tenancy <t> | AmazonEC2: keep only this tenancy, Shared or Dedicated (default: both) |
--format <fmt> | Output format: json | yaml | text (default: "json") |
--reset | DESTRUCTIVE: drop and recreate the postgres schema first (postgres backend only) (default: false) |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo aws pricing define
Create the AWS EC2 pricing EnrichmentDefinition for a workspace
kumo aws pricing define [options]
| Option | Description |
|---|---|
--account <id> | Account (tenant) id or slug (falls back to KUMO_ACCOUNT / `kumo use account`) |
--workspace <id-or-name> | Target workspace id, name, or @latest |
--name <name> | Definition name (default: "aws-ec2-pricing") |
--namespace <ns> | Enrichment namespace (default: "aws.pricing") |
--provider <key> | Catalog provider key (must match the catalog) (default: "aws") |
--value-key <key> | Attribute key written onto each resource (default: "on_demand_hourly_usd") |
--currency <code> | Currency stamped into the value (default: "USD") |
--unit <unit> | Unit stamped into the value (default: "Hrs") |
--sensitivity <class> | Sensitivity class (default: "public") |
--format <fmt> | Output format: json | yaml | text (default: "json") |
--reset | DESTRUCTIVE: drop and recreate the postgres schema first (postgres backend only) (default: false) |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo aws cur ingest
Import an AWS Cost & Usage Report CSV as actual cost facts
kumo aws cur ingest [options]
| Option | Description |
|---|---|
--file <path> | Path to a CUR CSV (Legacy column names) |
--workspace <id-or-name> | Workspace whose resources the report reconciles against |
--basis <b> | Cost basis to ingest: unblended | blended (default: "unblended") |
--format <fmt> | Output format: json | yaml | text (default: "json") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo aws coverage
List the AWS services and resource types the provider can crawl
kumo aws coverage [options]
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo azure
Azure multi-cloud add-ons
kumo azure pricing ingest— Import saved Azure Retail Prices pages into the enrichment catalog
kumo azure pricing ingest
Import saved Azure Retail Prices pages into the enrichment catalog
kumo azure pricing ingest [options]
| Option | Description |
|---|---|
--file <path> | Path to a saved Retail Prices response (page or array of pages) |
--provider <key> | Catalog provider key (must match the definition) (default: "azure") |
--catalog-version <v> | Catalog version label (e.g. the fetch date) |
--currency <code> | Currency filter (default: "USD") |
--account <id> | Owning account id (default: cross-tenant reference data) |
--format <fmt> | Output format: json | yaml | text (default: "json") |
--reset | DESTRUCTIVE: drop and recreate the postgres schema first (postgres backend only) (default: false) |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo gcp
GCP multi-cloud add-ons
kumo gcp pricing ingest— Import saved Cloud Billing Catalog SKU pages into the enrichment catalog
kumo gcp pricing ingest
Import saved Cloud Billing Catalog SKU pages into the enrichment catalog
kumo gcp pricing ingest [options]
| Option | Description |
|---|---|
--file <path> | Path to a saved skus.list response (page or array of pages) |
--provider <key> | Catalog provider key (must match the definition) (default: "gcp") |
--catalog-version <v> | Catalog version label (e.g. the fetch date) |
--currency <code> | Currency filter (default: "USD") |
--account <id> | Owning account id (default: cross-tenant reference data) |
--format <fmt> | Output format: json | yaml | text (default: "json") |
--reset | DESTRUCTIVE: drop and recreate the postgres schema first (postgres backend only) (default: false) |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Ops
Backend lifecycle + long-running roles — destructive commands require --yes.
kumo db
Backend lifecycle: migrate, reset, clear-data, backup, restore, compact
kumo db migrate— Apply pending schema migrations (no-op on filesystem + memory backends)kumo db reset— Drop all data and re-establish a clean schema/tree (destructive)kumo db clear-data— Wipe data but keep the schema/directory tree (destructive)kumo db backup— Snapshot the current backend to <dest>kumo db restore— Restore the backend from a snapshot at <src> (destructive)kumo db compact— Move old revisions to the compacted store (dry-run by default; --apply to commit)
kumo db migrate
Apply pending schema migrations (no-op on filesystem + memory backends)
kumo db migrate [options]
| Option | Description |
|---|---|
--actor <userId> | Requesting user id (audit trail; non-postgres path) (default: "usr-cli") |
--validate | report pending/drifted migrations without applying (exit 1 on pending/drift) (default: false) |
--re-adopt <csv> | DELIBERATELY re-adopt applied migration(s) whose file was re-baselined: clear each recorded checksum so the current file content becomes its baseline, then migrate (postgres only; requires --yes) |
--yes | Confirm destructive operation (default: false) |
--force-remote | Permit running against a non-local Postgres DSN (default: false) |
kumo db reset
Drop all data and re-establish a clean schema/tree (destructive)
kumo db reset [options]
| Option | Description |
|---|---|
--yes | Confirm destructive operation (default: false) |
--force-remote | Permit running against a non-local Postgres DSN (default: false) |
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
kumo db clear-data
Wipe data but keep the schema/directory tree (destructive)
kumo db clear-data [options]
| Option | Description |
|---|---|
--yes | Confirm destructive operation (default: false) |
--force-remote | Permit running against a non-local Postgres DSN (default: false) |
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
kumo db backup
Snapshot the current backend to <dest>
kumo db backup [options] <dest>
| Option | Description |
|---|---|
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
kumo db restore
Restore the backend from a snapshot at <src> (destructive)
kumo db restore [options] <src>
| Option | Description |
|---|---|
--yes | Confirm destructive operation (default: false) |
--force-remote | Permit running against a non-local Postgres DSN (default: false) |
--actor <userId> | Requesting user id (audit trail) (default: "usr-cli") |
kumo db compact
Move old revisions to the compacted store (dry-run by default; --apply to commit)
kumo db compact [options]
| Option | Description |
|---|---|
--workspace <id-or-name> | Workspace id, name, or @latest (falls back to `kumo use workspace`) |
--cutoff <iso> | ISO-8601 timestamp; revisions ending before this are eligible |
--minimum-kept <n> | Minimum live revisions retained per resource/connection (default: 1) |
--dry-run | Report candidates without moving anything (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--yes | Confirm this destructive action (or set KUMO_ALLOW_DESTRUCTIVE=1) (default: false) |
--auth-config <path> | JSON role/assignment file (default: no enforcement — every action is allowed) |
--actor <userId> | User id to authorize as (default: the system actor) |
--account <id> | Account id for --actor (default: the system account, "system") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo support
Support + diagnostics bundles
kumo support bundle— Build a redacted support bundle (versions + config posture + diagnostics) for this deployment
kumo support bundle
Build a redacted support bundle (versions + config posture + diagnostics) for this deployment
kumo support bundle [options]
| Option | Description |
|---|---|
--out <path> | Write the bundle JSON to a file instead of stdout |
kumo serve
Start one long-running role (see subcommands; some are profile-gated)
kumo serve appliance— All-in-one appliance: tenant API + admin API + static UI in one processkumo serve tenant-api— Start the tenant HTTP API onlykumo serve worker— Start the durable job worker (drains the postgres job queue)kumo serve scheduler— Start the recurring-work scheduler (enqueues due schedules)kumo serve admin-api— Start the admin/control-plane HTTP API onlykumo serve ui— Serve the prebuilt hosted-web SPA as static files
kumo serve appliance
All-in-one appliance: tenant API + admin API + static UI in one process
kumo serve appliance [options]
| Option | Description |
|---|---|
--api-port <port> | TCP port for the tenant API (default: "9501") |
--admin-port <port> | TCP port for the admin API (default: "9503") |
--ui-port <port> | TCP port for the static UI (default: "9500") |
--ui-root <dir> | directory containing the built SPA. Env: KUMO_UI_ROOT. Omit to skip UI serving. |
--local-port <port> | loopback TCP port for the local control server (setup/claim/purchase surfaces, spec §8) (default: "9505") |
--disable-admin | do not start the admin API (default: false) |
--disable-ui | do not start the static UI (default: false) |
--disable-local-control | do not start the local control server (installation surfaces) (default: false) |
-h, --host <host> | host/interface to bind (default: "0.0.0.0") |
-v, --verbose | verbose output: internal debug logs, full boot banners, and Fastify request logging (equivalent to KUMO_LOG_LEVEL=debug). Default is a quiet, summary-only boot. (default: false) |
-b, --backend <kind> | storage backend ("in-memory" | "postgres" | "filesystem"). Env: KUMO_BACKEND. If unset, "postgres" when KUMO_PG_DSN is set, otherwise "filesystem". |
--dsn <dsn> | postgres DSN (required when backend=postgres). Env: KUMO_PG_DSN. |
--home <dir> | filesystem base directory (default: $KUMO_HOME or ~/.kumo). Only used when backend=filesystem. |
--static-token <bindings> | comma-separated dev-mode token bindings ("token:userId:accountId,...") |
--cors-origins <origins> | comma-separated CORS origin allowlist. Use "*" to reflect any origin (dev only). |
kumo serve tenant-api
Start the tenant HTTP API only
kumo serve tenant-api [options]
| Option | Description |
|---|---|
-p, --port <port> | TCP port to bind (default: "9501") |
-h, --host <host> | host/interface to bind (default: "0.0.0.0") |
-v, --verbose | verbose output: internal debug logs, full boot banners, and Fastify request logging (equivalent to KUMO_LOG_LEVEL=debug). Default is a quiet, summary-only boot. (default: false) |
-b, --backend <kind> | storage backend ("in-memory" | "postgres" | "filesystem"). Env: KUMO_BACKEND. If unset, "postgres" when KUMO_PG_DSN is set, otherwise "filesystem". |
--dsn <dsn> | postgres DSN (required when backend=postgres). Env: KUMO_PG_DSN. |
--home <dir> | filesystem base directory (default: $KUMO_HOME or ~/.kumo). Only used when backend=filesystem. |
--static-token <bindings> | comma-separated dev-mode token bindings ("token:userId:accountId,...") |
--cors-origins <origins> | comma-separated CORS origin allowlist. Use "*" to reflect any origin (dev only). |
--no-auto-migrate | skip migrate-on-boot; run `kumo db migrate` as a separate release step instead (default: migrate on boot) |
kumo serve worker
Start the durable job worker (drains the postgres job queue)
kumo serve worker [options]
| Option | Description |
|---|---|
--worker-id <id> | stable worker id recorded on job leases |
--concurrency <n> | max jobs in flight (default 4) |
--queues <names> | comma-separated queue names to claim from (default: every engine-handler queue) |
-h, --host <host> | host/interface to bind (default: "0.0.0.0") |
-v, --verbose | verbose output: internal debug logs, full boot banners, and Fastify request logging (equivalent to KUMO_LOG_LEVEL=debug). Default is a quiet, summary-only boot. (default: false) |
-b, --backend <kind> | storage backend ("in-memory" | "postgres" | "filesystem"). Env: KUMO_BACKEND. If unset, "postgres" when KUMO_PG_DSN is set, otherwise "filesystem". |
--dsn <dsn> | postgres DSN (required when backend=postgres). Env: KUMO_PG_DSN. |
--home <dir> | filesystem base directory (default: $KUMO_HOME or ~/.kumo). Only used when backend=filesystem. |
--static-token <bindings> | comma-separated dev-mode token bindings ("token:userId:accountId,...") |
--cors-origins <origins> | comma-separated CORS origin allowlist. Use "*" to reflect any origin (dev only). |
--no-auto-migrate | skip migrate-on-boot; run `kumo db migrate` as a separate release step instead (default: migrate on boot) |
kumo serve scheduler
Start the recurring-work scheduler (enqueues due schedules)
kumo serve scheduler [options]
| Option | Description |
|---|---|
--scheduler-id <id> | stable single-active lease-holder id |
--tick-interval <ms> | tick cadence in milliseconds (default 60000) |
-h, --host <host> | host/interface to bind (default: "0.0.0.0") |
-v, --verbose | verbose output: internal debug logs, full boot banners, and Fastify request logging (equivalent to KUMO_LOG_LEVEL=debug). Default is a quiet, summary-only boot. (default: false) |
-b, --backend <kind> | storage backend ("in-memory" | "postgres" | "filesystem"). Env: KUMO_BACKEND. If unset, "postgres" when KUMO_PG_DSN is set, otherwise "filesystem". |
--dsn <dsn> | postgres DSN (required when backend=postgres). Env: KUMO_PG_DSN. |
--home <dir> | filesystem base directory (default: $KUMO_HOME or ~/.kumo). Only used when backend=filesystem. |
--static-token <bindings> | comma-separated dev-mode token bindings ("token:userId:accountId,...") |
--cors-origins <origins> | comma-separated CORS origin allowlist. Use "*" to reflect any origin (dev only). |
--no-auto-migrate | skip migrate-on-boot; run `kumo db migrate` as a separate release step instead (default: migrate on boot) |
kumo serve admin-api
Start the admin/control-plane HTTP API only
kumo serve admin-api [options]
| Option | Description |
|---|---|
-p, --port <port> | TCP port to bind (default: "9503") |
-h, --host <host> | host/interface to bind (default: "0.0.0.0") |
-v, --verbose | verbose output: internal debug logs, full boot banners, and Fastify request logging (equivalent to KUMO_LOG_LEVEL=debug). Default is a quiet, summary-only boot. (default: false) |
-b, --backend <kind> | storage backend ("in-memory" | "postgres" | "filesystem"). Env: KUMO_BACKEND. If unset, "postgres" when KUMO_PG_DSN is set, otherwise "filesystem". |
--dsn <dsn> | postgres DSN (required when backend=postgres). Env: KUMO_PG_DSN. |
--home <dir> | filesystem base directory (default: $KUMO_HOME or ~/.kumo). Only used when backend=filesystem. |
--static-token <bindings> | comma-separated dev-mode token bindings ("token:userId:accountId,...") |
--cors-origins <origins> | comma-separated CORS origin allowlist. Use "*" to reflect any origin (dev only). |
kumo serve ui
Serve the prebuilt hosted-web SPA as static files
kumo serve ui [options]
| Option | Description |
|---|---|
-p, --port <port> | TCP port to bind (default: "9500") |
--ui-root <dir> | directory containing the built SPA (index.html + assets). Env: KUMO_UI_ROOT. |
-h, --host <host> | host/interface to bind (default: "0.0.0.0") |
-v, --verbose | verbose output: internal debug logs, full boot banners, and Fastify request logging (equivalent to KUMO_LOG_LEVEL=debug). Default is a quiet, summary-only boot. (default: false) |
kumo deployment
Plan, apply, inspect, and upgrade a complete Kumo.io installation
kumo deployment init— Create a deployment specification from a profilekumo deployment plan— Compare desired state with observed state (read-only)kumo deployment apply— Converge the target to the desired statekumo deployment destroy— Converge the managed deployment to absent (destructive; requires --allow-destroy --yes)kumo deployment render— Render deterministic deployment artifacts without applyingkumo deployment operation show— Show one operation and its stepskumo deployment operation watch— Poll an operation until it reaches a terminal status (Ctrl-C stops watching; it does not cancel)kumo deployment operation list— List a deployment’s operations, newest firstkumo deployment validate— Validate the specification without contacting the targetkumo deployment config show— Show the fully-resolved, redacted configuration + provenancekumo deployment status— Show concise health + convergence statuskumo deployment doctor— Diagnose target, release, topology, and runtime problemskumo deployment lock show— Show the active deployment lock
kumo deployment init
Create a deployment specification from a profile
kumo deployment init [options]
| Option | Description |
|---|---|
--name <name> | deployment name (lowercase slug) |
--profile <profile> | profile: local-dev | appliance | aws-fargate (default: "local-dev") |
--driver <driver> | override the profile driver (local-process|compose|render-only|aws-cloudformation; no Kubernetes driver yet) |
--out <path> | write the spec to this file (default: <name>.deployment.yaml) |
--force | overwrite an existing file (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment plan
Compare desired state with observed state (read-only)
kumo deployment plan [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--detailed-exit-code | exit 3 when the plan has changes (default: false) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment apply
Converge the target to the desired state
kumo deployment apply [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--yes | confirm a production apply (required for policy: production) (default: false) |
--plan-digest <digest> | reject if the observed plan digest differs (reviewed-plan apply) |
--idempotency-key <key> | return the original operation if already applied with this key |
--lease-seconds <n> | reconciliation-lock lease length |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment destroy
Converge the managed deployment to absent (destructive; requires --allow-destroy --yes)
kumo deployment destroy [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--allow-destroy | permit destroying the deployment; durable data (backups, buckets, images, keys) survives (default: false) |
--allow-data-loss | ALSO purge the durable data — final DB snapshot, buckets, images, KMS keys (IRREVERSIBLE) (default: false) |
--yes | confirm the destroy (always required — destroy never prompts) (default: false) |
--lease-seconds <n> | reconciliation-lock lease length |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment render
Render deterministic deployment artifacts without applying
kumo deployment render [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--out <dir> | write rendered artifacts to this directory |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment operation show
Show one operation and its steps
kumo deployment operation show [options] <operationId>
| Option | Description |
|---|---|
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment operation watch
Poll an operation until it reaches a terminal status (Ctrl-C stops watching; it does not cancel)
kumo deployment operation watch [options] <operationId>
| Option | Description |
|---|---|
--interval <seconds> | Poll interval in seconds (default: 5) |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment operation list
List a deployment’s operations, newest first
kumo deployment operation list [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment validate
Validate the specification without contacting the target
kumo deployment validate [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment config show
Show the fully-resolved, redacted configuration + provenance
kumo deployment config show [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment status
Show concise health + convergence status
kumo deployment status [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment doctor
Diagnose target, release, topology, and runtime problems
kumo deployment doctor [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
kumo deployment lock show
Show the active deployment lock
kumo deployment lock show [options]
| Option | Description |
|---|---|
--file <file> | deployment spec file |
--format <fmt> | Output format: json | yaml | text (default: "text") |
--fields <csv> | With --format json or yaml, print only these fields (comma-separated; per item for a list; a.b selects a nested field) |
Other commands
kumo recover
Print a one-time owner sign-in code for this instance (paste it at /signin)
kumo recover [options]