Docs

CLI reference

Every sov command with its arguments and options.

Updated Oct 13, 2026

Every sov command, generated from the CLI itself (version 0.2.9). Install with pip install sovaria-cli, then run sov login. Add --json to any command for machine-readable output (or set SOV_JSON=1).

Most commands act on your default organization and project (set by sov login or sov scope). Override per command with --org, --project and --env, or use a named --profile for several accounts.

sov login

Authenticate with Sovaria. By default opens a browser (PKCE flow). Pass --email to use password login (prompt or SOVARIA_PASSWORD).

sov login [OPTIONS]
Argument / optionTypeDescription
--email -e<str>Email (skips PKCE, uses password)
--profile<str>Config profile to use
--org<str>Organization ID scope
--project<str>Project ID scope
--env<str>Environment ID scope
--pick-scope / --no-pick-scopeAfter login, list orgs/projects and pick default scope (default: on in a TTY)
--insecure-callbackAllow SOVARIA_CLI_CALLBACK_HOST to bind a non-loopback interface
--file-storageStore tokens in ~/.sovaria/credentials.toml instead of the OS keyring

sov logout

Revoke the session for one profile, then clear that profile's local credentials.

sov logout [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use
--forceClear local tokens even if server revoke fails

sov whoami

Print the authenticated user, active scope, and accessible orgs/projects.

sov whoami [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov orgs

List organisations visible to the authenticated user.

sov orgs [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov projects

List projects under an organisation.

sov projects [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Organisation ID (auto-picked when only one org)
--profile<str>Config profile to use (several accounts).

sov context

Context and identity commands

sov context whoami

Print the authenticated user, active scope, and accessible orgs/projects.

sov context whoami [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov context list

List organisations and projects you can use with the CLI.

sov context list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov context orgs

List organisations visible to the authenticated user.

sov context orgs [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov context projects

List projects under an organisation.

sov context projects [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Organisation ID (auto-picked when only one org)
--profile<str>Config profile to use (several accounts).

sov context pick

Interactively pick default org/project scope by index.

sov context pick [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov context context

Show access roles the current user has on a specific resource.

sov context context [OPTIONS] {resource_id}
Argument / optionTypeDescription
resource_id<str>Node ID of the resource (ORG / PROJECT / ENV) (required)
--profile<str>Config profile to use (several accounts).

sov dashboard

Project overview dashboard

sov dashboard [OPTIONS] COMMAND [ARGS]...
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov connect

Show everything you need to connect an app (like console Connect panel).

sov connect [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov deploy

Deploy a cloud function to the Forge engine. Example: sov deploy ./my-function --name greet --project proj-abc123

sov deploy [OPTIONS] [directory]
Argument / optionTypeDescription
directory<directory>Path to the function directory to deploy [default: .]
--name -n<str>Function name
--project -p<str>Target project node ID
--note<str>Version change note for deployment history
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth

Authentication commands

sov auth login

Authenticate with Sovaria. By default opens a browser (PKCE flow). Pass --email to use password login (prompt or SOVARIA_PASSWORD).

sov auth login [OPTIONS]
Argument / optionTypeDescription
--email -e<str>Email (skips PKCE, uses password)
--profile<str>Config profile to use
--org<str>Organization ID scope
--project<str>Project ID scope
--env<str>Environment ID scope
--pick-scope / --no-pick-scopeAfter login, list orgs/projects and pick default scope (default: on in a TTY)
--insecure-callbackAllow SOVARIA_CLI_CALLBACK_HOST to bind a non-loopback interface
--file-storageStore tokens in ~/.sovaria/credentials.toml instead of the OS keyring

sov auth logout

Revoke the session for one profile, then clear that profile's local credentials.

sov auth logout [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use
--forceClear local tokens even if server revoke fails

sov auth mfa-verify

Complete MFA after login when the gateway returned mfa_required=true.

sov auth mfa-verify [OPTIONS]
Argument / optionTypeDescription
--code -c<str>6-digit TOTP or backup code (required)
--method<str>Verification method: totp or phone [default: totp]
--profile<str>Config profile to use

sov auth sessions

List active login sessions for the current user.

sov auth sessions [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use

sov auth sessions-revoke

Revoke one active session.

sov auth sessions-revoke [OPTIONS] {session_id}
Argument / optionTypeDescription
session_id<str>Session id (refresh token JTI) (required)
--profile<str>Config profile to use (several accounts).

sov auth sessions-revoke-others

Revoke all sessions except the current one.

sov auth sessions-revoke-others [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth mfa-status

Show MFA enrollment status for the current user.

sov auth mfa-status [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth mfa-enroll

Start TOTP MFA enrollment (shows secret, URI, and backup codes once).

sov auth mfa-enroll [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth mfa-disable

Disable MFA (requires current TOTP code).

sov auth mfa-disable [OPTIONS]
Argument / optionTypeDescription
--code -c<str>Current TOTP code to confirm disable (required)
--profile<str>Config profile to use (several accounts).

sov auth project-login

Authenticate against the strict project login lane.

sov auth project-login [OPTIONS]
Argument / optionTypeDescription
--email -e<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--file-storageStore tokens in ~/.sovaria/credentials.toml instead of the OS keyring

Send a magic-link sign-in email.

sov auth magic-link send [OPTIONS]
Argument / optionTypeDescription
--email<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.

Exchange a magic-link token for a session. Read the token from stdin or SOVARIA_MAGIC_TOKEN (never a CLI flag).

sov auth magic-link verify [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth verify-email send

Send a verification email to the authenticated user.

sov auth verify-email send [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth verify-email confirm

Confirm an email address using a verification token. Read the token from stdin or SOVARIA_VERIFY_EMAIL_TOKEN (never a CLI flag).

sov auth verify-email confirm [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth sessions-config get

Fetch the authenticated user's session policy.

sov auth sessions-config get [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth sessions-config set

Update the authenticated user's session policy.

sov auth sessions-config set [OPTIONS] {config_json}
Argument / optionTypeDescription
config_json<str>JSON session policy patch (required)
--profile<str>Config profile to use (several accounts).

sov auth providers-config get

Fetch auth provider runtime configuration.

sov auth providers-config get [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth providers-config set

Update auth provider toggles and external database link configuration.

sov auth providers-config set [OPTIONS] {config_json}
Argument / optionTypeDescription
config_json<str>JSON provider config patch (required)
--profile<str>Config profile to use (several accounts).

sov auth event-hooks list

List auth event hooks for the active project.

sov auth event-hooks list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth event-hooks create

Create an auth event hook subscription.

sov auth event-hooks create [OPTIONS]
Argument / optionTypeDescription
--name<str>— (required)
--url<str>— (required)
--event<str>Repeat for each event type (required)
--secret<str>—
--enabled / --disabled[default: enabled]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth event-hooks delete

Delete an auth event hook.

sov auth event-hooks delete [OPTIONS] {hook_id}
Argument / optionTypeDescription
hook_id<str>Auth event hook ID (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth github-state get

Fetch GitHub OAuth connection state.

sov auth github-state get [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--project<str>Project ID; defaults to your current scope.

sov auth github-state disconnect

Disconnect GitHub OAuth broker state.

sov auth github-state disconnect [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--project<str>Project ID; defaults to your current scope.

sov auth passkeys list

List passkeys registered for the current user.

sov auth passkeys list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov auth passkeys revoke

Revoke a registered passkey.

sov auth passkeys revoke [OPTIONS] {passkey_id}
Argument / optionTypeDescription
passkey_id<str>Passkey UUID (required)
--profile<str>Config profile to use (several accounts).
--yes -ySkip confirmation prompt

sov auth passkeys register-hint

Explain how to register a passkey (browser WebAuthn required).

sov auth passkeys register-hint [OPTIONS]

sov auth oidc list

List OIDC providers configured for the linked project.

sov auth oidc list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth oidc create

Register an OIDC provider for the linked project.

sov auth oidc create [OPTIONS] {config}
Argument / optionTypeDescription
config<str>JSON provider config or path starting with @file.json (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth oidc example

Print a starter OIDC provider config (Google-style example).

sov auth oidc example [OPTIONS]
Argument / optionTypeDescription
--save<path>Write example JSON to this path

sov auth oidc delete

Remove an OIDC provider.

sov auth oidc delete [OPTIONS] {provider_id}
Argument / optionTypeDescription
provider_id<str>Provider UUID (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--yes -ySkip confirmation prompt

sov auth oidc login-url

Get the OIDC authorization URL to start SSO in a browser.

sov auth oidc login-url [OPTIONS] {provider_id}
Argument / optionTypeDescription
provider_id<str>Provider UUID (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth-product

Your app's users (product auth).

sov auth-product users

List product users for the resolved org/project scope.

sov auth-product users [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth-product ban

Toggle a product user's active state in scope.

sov auth-product ban [OPTIONS] {user_id}
Argument / optionTypeDescription
user_id<str>Product user id to ban/unban (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth-product delete

Delete a product user credential in scope.

sov auth-product delete [OPTIONS] {user_id}
Argument / optionTypeDescription
user_id<str>Product user id to delete (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth-product roles

Show a product user's app roles in scope.

sov auth-product roles [OPTIONS] {user_id}
Argument / optionTypeDescription
user_id<str>Product user id (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth-product roles-set

Replace a product user's app roles in scope.

sov auth-product roles-set [OPTIONS] {user_id} {roles}...
Argument / optionTypeDescription
user_id<str>Product user id (required)
roles<str>Roles to assign (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov auth-product create

Create a product user in the current project scope.

sov auth-product create [OPTIONS]
Argument / optionTypeDescription
--email<str>— (required)
--name<str>Display name (defaults to email local-part)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov scope

Manage default org/project/env scope

sov scope show

Show currently configured default scope.

sov scope show [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov scope set

Persist default scope for future CLI calls.

sov scope set [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organization UUID (required)
project_id<str>Project UUID (required)
--env<str>Environment UUID
--profile<str>Config profile to use (several accounts).

sov scope clear

Clear default scope for the active profile.

sov scope clear [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov scope list

List organisations and projects available to your account.

sov scope list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov scope pick

Pick default org/project interactively by index.

sov scope pick [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov project

Project scaffold commands

sov project init-config

Create a template sovaria.config.json file.

sov project init-config [OPTIONS] [name]
Argument / optionTypeDescription
name<str>Project name used in the generated config [default: sovaria-app]
--output -o<str>Path to write the template config JSON [default: sovaria.config.json]
--forceOverwrite existing config file if present

sov project create

Create a project from sovaria.config.json.

sov project create [OPTIONS]
Argument / optionTypeDescription
--config -c<str>Path to sovaria project config JSON [default: sovaria.config.json]
--dir<str>Parent directory where the project folder will be created [default: .]
--forceAllow scaffold to overwrite existing files when possible

sov project status

Show local sovaria.config.json linkage and resolved scope.

sov project status [OPTIONS]

Write org/project scope into sovaria.config.json and the active profile.

sov project link [OPTIONS]
Argument / optionTypeDescription
--org<str>Organisation node ID (required)
--project<str>Project node ID (required)
--env<str>Environment ID
--profile<str>Config profile to use (several accounts).
--config -c<path>Path to sovaria.config.json (auto-discovered when omitted)

sov project use

Set default scope for CLI commands (profile only, no config file write).

sov project use [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation node ID (required)
project_id<str>Project node ID (required)
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov project export

Export the full project data plane (Postgres dump + migration metadata). Bundle includes postgres.sql.gz (all schemas), manifest.json, storage-metadata.json, and RESTORE.md. Vault object bytes are not included — use sov storage download.

sov project export [OPTIONS]
Argument / optionTypeDescription
--output -o<path>Local path for the export bundle (.tar.gz) [default: sovaria-export.tar.gz]
--org<str>Organisation ID
--project<str>Project ID
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).
--listList recent exports instead of creating one

sov org

Organisation management

sov org create

Create a new organisation (or PROJECT/ENV) node in the identity graph. Example: sov org create "Acme Corp" sov org create "Payments" --type PROJECT --metadata '{"env": "prod"}'

sov org create [OPTIONS] {name}
Argument / optionTypeDescription
name<str>Human-readable organisation name (required)
--type -t<str>Node type: ORG | PROJECT | ENV [default: ORG]
--metadata -m<str>Extra metadata as a JSON string, e.g. '{"industry": "fintech"}'
--profile<str>Config profile to use (dev/staging/prod)

sov org member-add

Add a user as a member of an organisation (creates a MEMBER_OF edge). Example: sov org member-add <org_id> <user_id> sov org member-add <org_id> <user_id> --role ADMIN

sov org member-add [OPTIONS] {org_id} {user_id}
Argument / optionTypeDescription
org_id<str>UUID of the ORG/PROJECT node (required)
user_id<str>UUID of the USER node to add (required)
--role -r<str>Role to assign: ADMIN | MEMBER | VIEWER (default: MEMBER) [default: MEMBER]
--profile<str>Config profile to use (dev/staging/prod)

sov db

Database: run SQL, manage tables and apply migrations.

sov db tables

List live relational tables in the linked project database.

sov db tables [OPTIONS]
Argument / optionTypeDescription
--org<str>Organization ID
--project<str>Project ID
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).
--migrationsShow migration log only (legacy behaviour)

sov db sql

Execute SQL against Atlas-Rel. Use --interactive for a mini psql-style loop.

sov db sql [OPTIONS] [query]
Argument / optionTypeDescription
query<str>SQL query to execute
--interactive -iInteractive SQL REPL
--org<str>Organization ID
--project<str>Project ID
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov db create-table

Create a new relational table.

sov db create-table [OPTIONS] {name} {columns_json}
Argument / optionTypeDescription
name<str>Table name (required)
columns_json<str>Columns as JSON array, e.g. '[{"name":"id","type":"SERIAL","primary_key":true}]' (required)
--foreign-keys<str>JSON array of FK defs
--org<str>Organization ID
--project<str>Project ID
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov db pull

Introspect remote SQL schema and write a migration SQL snapshot (Supabase db pull).

sov db pull [OPTIONS]
Argument / optionTypeDescription
--output -o<path>Write schema SQL file (default: sovaria/migrations/<timestamp>_remote_schema.sql)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db diff

Compare remote schema against the last local snapshot from sov db pull.

sov db diff [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db reset

Drop all user tables and optionally re-apply local migrations (destructive).

sov db reset [OPTIONS]
Argument / optionTypeDescription
--yes -ySkip confirmation prompt
--migrations / --no-migrationsRe-apply local migration files after reset [default: migrations]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db seed

Run seed SQL against the linked database (Supabase db seed).

sov db seed [OPTIONS]
Argument / optionTypeDescription
--file -f<path>Seed SQL file
--dir<path>Directory of seed SQL files (default: sovaria/seeds)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db tx begin

Begin a relational transaction and return txid.

sov db tx begin [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db tx commit

Commit an open transaction.

sov db tx commit [OPTIONS]
Argument / optionTypeDescription
--txid<int>Transaction id from sov db tx begin (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db tx rollback

Rollback an open transaction.

sov db tx rollback [OPTIONS]
Argument / optionTypeDescription
--txid<int>Transaction id from sov db tx begin (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db column add

Add a column to an existing table.

sov db column add [OPTIONS] {table} {name}
Argument / optionTypeDescription
table<str>Table name (required)
name<str>Column name (required)
--type<str>SQL data type, e.g. TEXT or INTEGER (required)
--nullable / --not-null[default: nullable]
--unique—
--default<str>—
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db column drop

Drop a column from a table.

sov db column drop [OPTIONS] {table} {name}
Argument / optionTypeDescription
table<str>— (required)
name<str>Column name (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db fk add

Add a foreign key between tables.

sov db fk add [OPTIONS] {table} {column}
Argument / optionTypeDescription
table<str>— (required)
column<str>— (required)
--ref-table<str>— (required)
--ref-column<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db fk drop

Drop a foreign key.

sov db fk drop [OPTIONS] {table} {column}
Argument / optionTypeDescription
table<str>— (required)
column<str>— (required)
--ref-table<str>— (required)
--ref-column<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db migrations new

Create a new timestamped SQL migration file (Supabase-style).

sov db migrations new [OPTIONS] {name}
Argument / optionTypeDescription
name<str>Migration slug, e.g. add_users_table (required)
--dir<str>Migration directory

sov db migrations list

List remote migration log entries or local migration files.

sov db migrations list [OPTIONS]
Argument / optionTypeDescription
--table<str>—
--limit<int>[default: 100]
--offset<int>[default: 0]
--localList local .sql files only
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db migrations push

Apply pending .sql migrations through the project's migration history. Each file is applied atomically and recorded on the server, so every teammate and CI run sees the same history. Put rollback SQL under a -- migrate:down line (or in <name>.down.sql) to make a migration reversible with sov db migrations rollback.

sov db migrations push [OPTIONS]
Argument / optionTypeDescription
--dir<str>Migration directory (default: sovaria/migrations under linked project)
--dry-runRun each pending migration in a transaction and roll it back (nothing is kept)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db migrations rollback

Undo the most recent migration using its down SQL.

sov db migrations rollback [OPTIONS]
Argument / optionTypeDescription
--version<str>Roll back this version (needs --force if it isn't the latest)
--forceAllow rolling back a migration that isn't the most recent
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov db migrations pull

Fetch remote migration log (schema change history) as JSON.

sov db migrations pull [OPTIONS]
Argument / optionTypeDescription
--output -o<str>Write remote migration log JSON to this path
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov data

Atlas-Doc and Atlas-Rel data plane

sov data doc-put

Write a plain JSON document.

sov data doc-put [OPTIONS] {collection} {document_id} {data}
Argument / optionTypeDescription
collection<str>Collection path (required)
document_id<str>Document key (required)
data<str>JSON object document body (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov data doc-get

Read a plain JSON document.

sov data doc-get [OPTIONS] {collection} {document_id}
Argument / optionTypeDescription
collection<str>— (required)
document_id<str>— (required)
--txid<int>Optional historical txid [default: 0]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov data doc-delete

Delete a document.

sov data doc-delete [OPTIONS] {collection} {document_id}
Argument / optionTypeDescription
collection<str>— (required)
document_id<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov data doc-scan

Scan Atlas-Doc by prefix/range.

sov data doc-scan [OPTIONS]
Argument / optionTypeDescription
--prefix<str>—
--start-key<str>—
--end-key<str>—
--limit<int>[default: 100]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov data sql

Run SQL query through Atlas-Rel.

sov data sql [OPTIONS] {sql}
Argument / optionTypeDescription
sql<str>SQL statement (required)
--txid<int>[default: 0]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov data table-create

Create a relational table.

sov data table-create [OPTIONS] {table_name} {columns}
Argument / optionTypeDescription
table_name<str>— (required)
columns<str>JSON array of column definitions (required)
--foreign-keys<str>JSON array
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov data table-drop

Drop a relational table.

sov data table-drop [OPTIONS] {table_name}
Argument / optionTypeDescription
table_name<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov data table-migrations

List migration log entries.

sov data table-migrations [OPTIONS]
Argument / optionTypeDescription
--table<str>—
--limit<int>[default: 100]
--offset<int>[default: 0]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov storage

Buckets and files.

sov storage buckets

List all storage buckets.

sov storage buckets [OPTIONS]
Argument / optionTypeDescription
--project<str>Project ID
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov storage create-bucket

Create a new storage bucket.

sov storage create-bucket [OPTIONS] {name}
Argument / optionTypeDescription
name<str>Bucket name (required)
--project<str>Project ID
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--publicMake bucket public
--profile<str>Config profile to use (several accounts).

sov storage ls

List objects in a bucket.

sov storage ls [OPTIONS] {bucket}
Argument / optionTypeDescription
bucket<str>Bucket name (required)
--project<str>Project ID
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--prefix<str>Filter by prefix
--profile<str>Config profile to use (several accounts).

sov storage upload

Upload a file to a bucket.

sov storage upload [OPTIONS] {bucket} {file_path}
Argument / optionTypeDescription
bucket<str>Bucket name (required)
file_path<str>Local file path (required)
--project<str>Project ID
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--name<str>Remote object path (defaults to filename)
--profile<str>Config profile to use (several accounts).

sov storage download

Download an object to a local file.

sov storage download [OPTIONS] {bucket} {object_path}
Argument / optionTypeDescription
bucket<str>Bucket name (required)
object_path<str>Remote object path (required)
--output -o<path>Local output file path (required)
--project<str>Project ID; defaults to your current scope.
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov storage sign-download

Mint a time-limited signed download URL.

sov storage sign-download [OPTIONS] {bucket} {object_path}
Argument / optionTypeDescription
bucket<str>— (required)
object_path<str>— (required)
--expires-in<int>TTL seconds [default: 3600]
--project<str>Project ID; defaults to your current scope.
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov storage sign-upload

Mint a time-limited signed upload URL.

sov storage sign-upload [OPTIONS] {bucket} {object_path}
Argument / optionTypeDescription
bucket<str>— (required)
object_path<str>— (required)
--expires-in<int>TTL seconds [default: 3600]
--project<str>Project ID; defaults to your current scope.
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov storage rm

Delete an object from a bucket.

sov storage rm [OPTIONS] {bucket} {object_path}
Argument / optionTypeDescription
bucket<str>Bucket name (required)
object_path<str>Object path to delete (required)
--project<str>Project ID
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov storage bucket-get

Fetch bucket metadata.

sov storage bucket-get [OPTIONS] {name}
Argument / optionTypeDescription
name<str>Bucket name (required)
--project<str>Project ID; defaults to your current scope.
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov storage bucket-update

Update bucket settings.

sov storage bucket-update [OPTIONS] {name}
Argument / optionTypeDescription
name<str>Bucket name (required)
--public / --private—
--file-size-limit<int>—
--allowed-mime-types<str>Comma-separated MIME patterns
--project<str>Project ID; defaults to your current scope.
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov storage bucket-delete

Delete a storage bucket and all objects.

sov storage bucket-delete [OPTIONS] {name}
Argument / optionTypeDescription
name<str>Bucket name (required)
--yes -ySkip confirmation
--project<str>Project ID; defaults to your current scope.
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov storage move

Move or rename an object within storage.

sov storage move [OPTIONS]
Argument / optionTypeDescription
--from<str>Source path bucket/object (required)
--to<str>Destination path bucket/object (required)
--project<str>Project ID; defaults to your current scope.
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov fn

Deploy, invoke, version and inspect functions.

sov fn deploy

Deploy a cloud function to the Forge engine. Example: sov deploy ./my-function --name greet --project proj-abc123

sov fn deploy [OPTIONS] [directory]
Argument / optionTypeDescription
directory<directory>Path to the function directory to deploy [default: .]
--name -n<str>Function name
--project -p<str>Target project node ID
--note<str>Version change note for deployment history
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn status

Check status of a Forge deployment.

sov fn status [OPTIONS] {deploy_id}
Argument / optionTypeDescription
deploy_id<str>Deployment id returned by sov fn deploy (required)
--project -p<str>Optional project scope (recommended for strict sandbox isolation)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn invoke

Invoke a deployed function via Forge sandbox runtime.

sov fn invoke [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name/path (e.g. my-fn) (required)
--project -p<str>Project scope for invocation sandbox
--deploy-id<str>Invoke a specific deployment id instead of latest
--execution-profile<str>Execution profile: standard or heavy [default: standard]
--asyncQueue async invocation (recommended for heavy functions)
--wait / --no-waitWhen --async is used, poll until completion [default: wait]
--simulateRun simulation mode and store simulation history
--data<str>Inline JSON payload passed to the function
--data-file<file>Path to JSON payload file
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn versions

List deployment versions for one function.

sov fn versions [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name/path (e.g. my-fn) (required)
--project -p<str>Project scope for version history
--limit<int range>[1<=x<=500] [default: 50]
--offset<int range>[x>=0] [default: 0]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn history

List invocation history for one function.

sov fn history [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name/path (e.g. my-fn) (required)
--project -p<str>Project scope for invocation history
--mode<str>Optional mode filter: invoke or simulate
--limit<int range>[1<=x<=500] [default: 50]
--offset<int range>[x>=0] [default: 0]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn functions

List Forge functions with active versions and queue summary.

sov fn functions [OPTIONS]
Argument / optionTypeDescription
--org<str>Organization ID; defaults to your current scope.
--project -p<str>Project scope for function listing
--env<str>Environment ID; defaults to your current scope.
--limit<int range>[1<=x<=500] [default: 100]
--offset<int range>[x>=0] [default: 0]
--profile<str>Config profile to use (several accounts).

sov fn jobs

List durable async jobs for a function.

sov fn jobs [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name/path (e.g. my-fn) (required)
--org<str>Organization ID; defaults to your current scope.
--project -p<str>Project scope for durable async jobs
--env<str>Environment ID; defaults to your current scope.
--status<str>Optional status filter
--limit<int range>[1<=x<=500] [default: 100]
--offset<int range>[x>=0] [default: 0]
--profile<str>Config profile to use (several accounts).

sov fn sim-diff

{right_invocation_id} Show unified diff between two simulation invocations.

sov fn sim-diff [OPTIONS] {function_name} {left_invocation_id}
Argument / optionTypeDescription
function_name<str>Function name/path (e.g. my-fn) (required)
left_invocation_id<str>Left simulation invocation id (required)
right_invocation_id<str>Right simulation invocation id (required)
--project -p<str>Project scope for simulation diff
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn promote

Promote a deployment/version to become active.

sov fn promote [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name/path (e.g. my-fn) (required)
--project -p<str>Project scope for version promotion
--version<int range>[x>=1] Target version to promote
--deploy-id<str>Target deploy id to promote
--reason<str>Promotion reason
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn rollback

Rollback active function deployment to a previous version.

sov fn rollback [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name/path (e.g. my-fn) (required)
--project -p<str>Project scope for rollback
--version<int range>[x>=1] Optional explicit target version (defaults to previous active)
--reason<str>Rollback reason
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn logs

Fetch recent invocation logs for a function.

sov fn logs [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name (required)
--limit<int range>[1<=x<=200] [default: 50]
--offset<int range>[x>=0] [default: 0]
--status<str>Filter: SUCCEEDED, FAILED, TIMEOUT
--follow -fStream new log entries
--interval<float range>[x>=0.5] Poll interval when --follow [default: 2.0]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn serve

Run a function locally with a hot HTTP server (Supabase functions serve).

sov fn serve [OPTIONS] [directory]
Argument / optionTypeDescription
directory<directory>Function source directory (must contain main.py) [default: .]
--name -n<str>Display name
--host<str>[default: 127.0.0.1]
--port<int range>[1<=x<=65535] [default: 8787]
--entrypoint<str>[default: main.py]
--handler<str>[default: handler]

sov fn get

Get function metadata.

sov fn get [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn delete

Delete a deployed function.

sov fn delete [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name (required)
--yes -ySkip confirmation prompt
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn source

Fetch function source code.

sov fn source [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn update

Patch function metadata and/or source.

sov fn update [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name (required)
--source<str>Inline source code
--source-file<path>—
--runtime<str>—
--entrypoint<str>—
--region<str>—
--description<str>—
--verify-jwt / --no-verify-jwt—
--env-vars<str>JSON object
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn policy-get

Fetch function invoke policy.

sov fn policy-get [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn policy-set

Replace function invoke policy.

sov fn policy-set [OPTIONS] {function_name} {policy_json}
Argument / optionTypeDescription
function_name<str>Function name (required)
policy_json<str>JSON policy object (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn bindings-get

Fetch function secret bindings.

sov fn bindings-get [OPTIONS] {function_name}
Argument / optionTypeDescription
function_name<str>Function name (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn bindings-set

Replace function secret bindings.

sov fn bindings-set [OPTIONS] {function_name} {bindings_json}
Argument / optionTypeDescription
function_name<str>Function name (required)
bindings_json<str>JSON array, e.g. [{"name":"API_KEY","value":"..."}] (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn github-repos

List GitHub repositories available for import. Optional PAT: set SOVARIA_GITHUB_TOKEN or authenticate with gh auth login.

sov fn github-repos [OPTIONS]
Argument / optionTypeDescription
--limit<int range>[1<=x<=100] [default: 30]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn github-import

Import a function from a GitHub repository path. Optional PAT: set SOVARIA_GITHUB_TOKEN or authenticate with gh auth login.

sov fn github-import [OPTIONS]
Argument / optionTypeDescription
--name<str>Function name to create/update (required)
--repo<str>owner/repo (required)
--path<str>Path within the repository (required)
--ref<str>[default: main]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov fn github-commit

Commit local function source back to GitHub. Optional PAT: set SOVARIA_GITHUB_TOKEN or authenticate with gh auth login.

sov fn github-commit [OPTIONS]
Argument / optionTypeDescription
--name<str>Local function name (required)
--repo<str>owner/repo (required)
--path<str>Target path in the repository (required)
--message<str>Commit message (required)
--ref<str>[default: main]
--committer-name<str>—
--committer-email<str>—
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov collections

NoSQL document collections

sov collections list

List document collections in the linked project.

sov collections list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov logs

API, auth, function and database logs.

sov logs api

Show recent API audit events (console Logs → API page).

sov logs api [OPTIONS]
Argument / optionTypeDescription
--limit<int range>[1<=x<=500] [default: 50]
--offset<int range>[x>=0] [default: 0]
--method<str>Filter HTTP method (GET, POST, …)
--path<str>Filter resource/path substring
--actor-id<str>—
--follow -fStream new API log events
--interval<float range>[x>=0.5] [default: 2.0]
--profile<str>Config profile to use (several accounts).

sov schema

Database schema introspection

sov schema describe

Describe relational tables and columns (information_schema).

sov schema describe [OPTIONS] [table]
Argument / optionTypeDescription
table<str>Table name (omit for all tables)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov secrets

Function secrets (values are write-only).

sov secrets list

List secret bindings for a function (masked values).

sov secrets list [OPTIONS] {function}
Argument / optionTypeDescription
function<str>Function name (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov secrets set

Set one secret binding on a function.

sov secrets set [OPTIONS] {function}
Argument / optionTypeDescription
function<str>Function name (required)
--name<str>Secret name (required)
--value<str>Secret value (required)
--merge / --replaceMerge with existing bindings [default: merge]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov secrets unset

Remove a secret binding from a function.

sov secrets unset [OPTIONS] {function}
Argument / optionTypeDescription
function<str>Function name (required)
--name<str>Secret name to remove (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov secrets import

Import secrets from a .env file or JSON bindings array.

sov secrets import [OPTIONS] {function} {file}
Argument / optionTypeDescription
function<str>Function name (required)
file<path>.env or JSON bindings file (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov gen

Generate types and client artifacts

sov gen types

Generate typed models from the live SQL schema (Supabase-style).

sov gen types [OPTIONS] {lang}
Argument / optionTypeDescription
lang<str>typescript | python | ts | py (required)
--output -o<path>Write to file instead of stdout
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov chrono

Timeline and snapshot operations

sov chrono commit

Create a new chronon commit.

sov chrono commit [OPTIONS]
Argument / optionTypeDescription
--timeline<str>[default: main]
--message<str>— (required)
--author<str>— (required)
--event-type<str>[default: update]
--profile<str>Config profile to use (several accounts).

sov chrono timeline-list

List timelines.

sov chrono timeline-list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov chrono timeline-spawn

Spawn a new timeline from a source head.

sov chrono timeline-spawn [OPTIONS] {name}
Argument / optionTypeDescription
name<str>— (required)
--source-hex-id<str>—
--profile<str>Config profile to use (several accounts).

sov chrono timeline-delete

Delete a timeline.

sov chrono timeline-delete [OPTIONS] {name}
Argument / optionTypeDescription
name<str>— (required)
--profile<str>Config profile to use (several accounts).

sov chrono timeline-jump

Force-jump a timeline to a specific head.

sov chrono timeline-jump [OPTIONS] {name}
Argument / optionTypeDescription
name<str>— (required)
--target-hex<str>— (required)
--profile<str>Config profile to use (several accounts).

sov chrono timeline-history

Show timeline history.

sov chrono timeline-history [OPTIONS] {name}
Argument / optionTypeDescription
name<str>— (required)
--limit<int>[default: 50]
--offset<int>[default: 0]
--profile<str>Config profile to use (several accounts).

sov chrono topology

Show timeline topology graph.

sov chrono topology [OPTIONS]
Argument / optionTypeDescription
--timeline<str>[default: main]
--limit<int>[default: 50]
--profile<str>Config profile to use (several accounts).

sov chrono converge

Converge source timeline into target.

sov chrono converge [OPTIONS]
Argument / optionTypeDescription
--target<str>— (required)
--source<str>— (required)
--author<str>— (required)
--message<str>— (required)
--profile<str>Config profile to use (several accounts).

sov chrono variance

Calculate variance between chronons.

sov chrono variance [OPTIONS]
Argument / optionTypeDescription
--old<str>— (required)
--new<str>— (required)
--domain-filter<str>—
--profile<str>Config profile to use (several accounts).

sov chrono snapshot-create

Create a Chrono snapshot.

sov chrono snapshot-create [OPTIONS]
Argument / optionTypeDescription
--message<str>— (required)
--profile<str>Config profile to use (several accounts).

sov chrono snapshot-list

List Chrono snapshots.

sov chrono snapshot-list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov chrono snapshot-restore

Restore a snapshot by id.

sov chrono snapshot-restore [OPTIONS] {snapshot_id}
Argument / optionTypeDescription
snapshot_id<int>— (required)
--profile<str>Config profile to use (several accounts).

sov audit

Echo audit trail and simulations

sov audit append

Append an immutable audit entry.

sov audit append [OPTIONS]
Argument / optionTypeDescription
--event-type<str>— (required)
--actor-id<str>— (required)
--source<str>— (required)
--action<str>— (required)
--resource-id<str>—
--metadata<str>JSON object
--ip-address<str>—
--profile<str>Config profile to use (several accounts).

sov audit list

Query audit log entries.

sov audit list [OPTIONS]
Argument / optionTypeDescription
--actor-id<str>—
--event-type<str>—
--source<str>—
--resource-id<str>—
--limit<int>[default: 50]
--offset<int>[default: 0]
--profile<str>Config profile to use (several accounts).

sov audit verify

Verify audit hash-chain integrity.

sov audit verify [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov audit count

Return audit log entry count.

sov audit count [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov audit sim-run

Run an Echo phantom simulation.

sov audit sim-run [OPTIONS] {simulation_name} {operations}
Argument / optionTypeDescription
simulation_name<str>— (required)
operations<str>JSON array operations (required)
--context<str>JSON object
--include-execution-tree—
--profile<str>Config profile to use (several accounts).

sov audit sim-plan

Preview an Echo simulation plan.

sov audit sim-plan [OPTIONS] {simulation_name} {operations}
Argument / optionTypeDescription
simulation_name<str>— (required)
operations<str>JSON array operations (required)
--context<str>JSON object
--profile<str>Config profile to use (several accounts).

sov policy

Project access policies.

sov policy templates

List built-in SPL policy templates.

sov policy templates [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov policy list

List active policies in scope.

sov policy list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov policy get

Fetch a policy by ID.

sov policy get [OPTIONS] {policy_id}
Argument / optionTypeDescription
policy_id<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov policy upsert

Create or update a policy (tries create then update).

sov policy upsert [OPTIONS] {policy_id}
Argument / optionTypeDescription
policy_id<str>— (required)
--name<str>— (required)
--spl<str>— (required)
--org<str>Owning org UUID (required)
--profile<str>Config profile to use (several accounts).
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov policy delete

Delete (deactivate) a policy.

sov policy delete [OPTIONS] {policy_id}
Argument / optionTypeDescription
policy_id<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov policy history

List policy version history.

sov policy history [OPTIONS] {policy_id}
Argument / optionTypeDescription
policy_id<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov policy rollback

Rollback policy to a historical version.

sov policy rollback [OPTIONS] {policy_id}
Argument / optionTypeDescription
policy_id<str>— (required)
--version<int>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov policy evaluate

Evaluate policy against an explicit context.

sov policy evaluate [OPTIONS] {policy_id}
Argument / optionTypeDescription
policy_id<str>— (required)
--context<str>JSON object (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov policy check

Preflight an action/resource against active Guard policies.

sov policy check [OPTIONS]
Argument / optionTypeDescription
--action<str>Action, e.g. sql:select or nosql:write (required)
--resource<str>Resource name, table, or collection (required)
--context<str>Optional JSON context object
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov policy simulate

Simulate SPL policy evaluation without persisting a policy.

sov policy simulate [OPTIONS]
Argument / optionTypeDescription
--spl<str>SPL policy source to dry-run (required)
--context<str>JSON evaluation context [default: {}]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime

Publish, inspect channels and presence.

sov realtime subscribe

Subscribe a client to a channel.

sov realtime subscribe [OPTIONS] {channel} {client_id}
Argument / optionTypeDescription
channel<str>— (required)
client_id<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime unsubscribe

Unsubscribe a client from a channel.

sov realtime unsubscribe [OPTIONS] {channel} {client_id}
Argument / optionTypeDescription
channel<str>— (required)
client_id<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime presence

Show online clients for a channel.

sov realtime presence [OPTIONS] {channel}
Argument / optionTypeDescription
channel<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime channels

List active channels in current scope.

sov realtime channels [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime replay

Replay channel events from a sequence index.

sov realtime replay [OPTIONS] {channel}
Argument / optionTypeDescription
channel<str>— (required)
--after<int>[default: 0]
--limit<int>[default: 200]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime publish

Publish a payload on a channel.

sov realtime publish [OPTIONS] {channel} {payload}
Argument / optionTypeDescription
channel<str>— (required)
payload<str>JSON object payload (required)
--clock<str>JSON object clock
--clock-delta<str>JSON object clock delta
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime e2ee-bootstrap

Create or fetch active E2EE key material.

sov realtime e2ee-bootstrap [OPTIONS] {channel}
Argument / optionTypeDescription
channel<str>— (required)
--ttl<int>[default: 86400]
--force-new—
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime e2ee-rotate

Rotate E2EE key material.

sov realtime e2ee-rotate [OPTIONS] {channel}
Argument / optionTypeDescription
channel<str>— (required)
--ttl<int>[default: 86400]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime e2ee-revoke

Revoke an E2EE key.

sov realtime e2ee-revoke [OPTIONS] {channel}
Argument / optionTypeDescription
channel<str>— (required)
--key-id<str>—
--reason<str>—
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime e2ee-list

List E2EE keys for a channel.

sov realtime e2ee-list [OPTIONS] [channel]
Argument / optionTypeDescription
channel<str>Channel name (defaults to 'default')
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov realtime ws-url

Generate websocket URL for Pulse via gateway.

sov realtime ws-url [OPTIONS] [channel]
Argument / optionTypeDescription
channel<str>Channel name (defaults to 'default')
--profile<str>Config profile to use (several accounts).
--ticket<str>Use an already issued WS ticket
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov billing

Billing plans, subscriptions, and usage

sov billing plans

List public billing plans.

sov billing plans [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov billing plan

Fetch one billing plan by name.

sov billing plan [OPTIONS] {name}
Argument / optionTypeDescription
name<str>Plan name (required)
--profile<str>Config profile to use (several accounts).

sov billing subscription

Fetch the active subscription for an organisation.

sov billing subscription [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Organisation ID (defaults to scoped org)
--profile<str>Config profile to use (several accounts).
--org<str>Organisation ID override

sov billing set-subscription

Create or update an organisation subscription.

sov billing set-subscription [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
--plan<str>Plan name (required)
--cycle<str>monthly or annual [default: monthly]
--profile<str>Config profile to use (several accounts).

sov billing cancel-subscription

Cancel an organisation subscription.

sov billing cancel-subscription [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
--immediateCancel immediately
--profile<str>Config profile to use (several accounts).

sov billing usage

Fetch usage counters for an organisation.

sov billing usage [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Organisation ID (defaults to scoped org)
--period<str>Usage period
--profile<str>Config profile to use (several accounts).
--org<str>Organisation ID override

sov billing usage-history

Fetch historical usage for an organisation.

sov billing usage-history [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Organisation ID (defaults to scoped org)
--months<int range>[1<=x<=24] [default: 6]
--profile<str>Config profile to use (several accounts).
--org<str>Organisation ID override

sov billing subscriptions

List all subscriptions (platform admin).

sov billing subscriptions [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov billing invoices

List invoices for an organisation.

sov billing invoices [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Organisation ID (defaults to scoped org)
--profile<str>Config profile to use (several accounts).
--org<str>Organisation ID override

sov billing compute

Fetch compute usage breakdown for an organisation.

sov billing compute [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
--period<str>Billing period YYYY-MM
--profile<str>Config profile to use (several accounts).

sov billing build-invoice

Build an invoice for an organisation billing period.

sov billing build-invoice [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
--period<str>Billing period YYYY-MM
--profile<str>Config profile to use (several accounts).

sov billing checkout

Create a hosted billing checkout session.

sov billing checkout [OPTIONS]
Argument / optionTypeDescription
--plan<str>Plan name (pro|ultra) (required)
--cycle<str>monthly or annual [default: monthly]
--email<str>—
--provider<str>stripe or razorpay
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.

sov billing provider

Show the active billing payment provider.

sov billing provider [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov billing fx

Fetch billing FX rates.

sov billing fx [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov billing overage

Fetch overage billing details for an organisation.

sov billing overage [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Organisation ID (defaults to scoped org)
--profile<str>Config profile to use (several accounts).
--org<str>Organisation ID override

sov billing open-invoice

Fetch the caller's open invoice for the scoped organisation.

sov billing open-invoice [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.

sov billing pay-invoice

Pay an invoice for an organisation billing period.

sov billing pay-invoice [OPTIONS] {org_id} {period}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
period<str>Invoice period YYYY-MM (required)
--profile<str>Config profile to use (several accounts).

sov billing razorpay create-order

Create a Razorpay order for self-serve checkout.

sov billing razorpay create-order [OPTIONS]
Argument / optionTypeDescription
--plan<str>Plan name (pro|ultra) (required)
--cycle<str>monthly or annual [default: monthly]
--email<str>—
--account<str>—
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.

sov billing razorpay verify

Verify a Razorpay payment signature and activate the plan.

sov billing razorpay verify [OPTIONS]
Argument / optionTypeDescription
--order-id<str>— (required)
--payment-id<str>— (required)
--signature<str>— (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.

sov billing account get

Fetch a billing account.

sov billing account get [OPTIONS] {account_id}
Argument / optionTypeDescription
account_id<str>Billing account ID (required)
--profile<str>Config profile to use (several accounts).

sov billing account cancel

Cancel a billing account subscription.

sov billing account cancel [OPTIONS] {account_id}
Argument / optionTypeDescription
account_id<str>Billing account ID (required)
--profile<str>Config profile to use (several accounts).

sov billing account resume

Resume a cancelled billing account.

sov billing account resume [OPTIONS] {account_id}
Argument / optionTypeDescription
account_id<str>Billing account ID (required)
--profile<str>Config profile to use (several accounts).

sov governance

Platform governance and tenant databases

sov governance regions

List configured governance regions.

sov governance regions [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov governance regions-available

List regions with available capacity for provisioning.

sov governance regions-available [OPTIONS]
Argument / optionTypeDescription
--size<str>Compute size filter [default: micro]
--plan<str>Optional plan filter
--profile<str>Config profile to use (several accounts).

sov governance region-patch

Patch governance region metadata.

sov governance region-patch [OPTIONS] {region_id}
Argument / optionTypeDescription
region_id<str>Region ID (required)
--label<str>—
--status<str>—
--default / --no-default—
--profile<str>Config profile to use (several accounts).

sov governance tenants

List registered tenants.

sov governance tenants [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov governance tenant-get

Fetch one tenant record.

sov governance tenant-get [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
--profile<str>Config profile to use (several accounts).

sov governance tenant-status

Update tenant lifecycle status.

sov governance tenant-status [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
--status<str>active | suspended | deleted (required)
--profile<str>Config profile to use (several accounts).

sov governance tenant-databases

List databases provisioned for a tenant.

sov governance tenant-databases [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
--profile<str>Config profile to use (several accounts).

sov governance db-provision

Provision a dedicated database for a tenant project.

sov governance db-provision [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
--project<str>Project ID to provision (required)
--tier<str>[default: dedicated]
--compute-size<str>—
--region<str>—
--profile<str>Config profile to use (several accounts).

sov governance db-connection

Fetch database connection metadata (password redacted).

sov governance db-connection [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--profile<str>Config profile to use (several accounts).

sov governance db-connection-reveal

Reveal database password using an active JIT grant.

sov governance db-connection-reveal [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--grant-id<str>Active JIT grant ID (required)
--profile<str>Config profile to use (several accounts).

sov governance db-pause

Pause a tenant database.

sov governance db-pause [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--profile<str>Config profile to use (several accounts).

sov governance db-resume

Resume a paused tenant database.

sov governance db-resume [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--profile<str>Config profile to use (several accounts).

sov governance db-resize

Resize a tenant database compute profile.

sov governance db-resize [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--compute-size<str>Target compute size (required)
--profile<str>Config profile to use (several accounts).

sov governance db-reconcile

Backfill tenant Postgres mirrors (policies, functions, platform schemas).

sov governance db-reconcile [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--profile<str>Config profile to use (several accounts).

sov governance db-backups

List database backups for a tenant project.

sov governance db-backups [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--limit<int range>[1<=x<=100] [default: 5]
--profile<str>Config profile to use (several accounts).

sov governance db-backup-trigger

Trigger a manual database backup.

sov governance db-backup-trigger [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--profile<str>Config profile to use (several accounts).

sov governance db-delete

Delete a tenant database (optionally after snapshot).

sov governance db-delete [OPTIONS] {org_id} {project_id}
Argument / optionTypeDescription
org_id<str>Organisation / tenant ID (required)
project_id<str>Project ID (required)
--snapshot / --no-snapshot[default: snapshot]
--yes -ySkip confirmation
--profile<str>Config profile to use (several accounts).

sov governance admin-databases

List all tenant databases (platform admin).

sov governance admin-databases [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov governance hosts

List governance hosts.

sov governance hosts [OPTIONS]
Argument / optionTypeDescription
--region-id<str>—
--profile<str>Config profile to use (several accounts).

sov governance host-patch

Patch governance host metadata.

sov governance host-patch [OPTIONS] {host_id}
Argument / optionTypeDescription
host_id<str>Host ID (required)
--status<str>—
--address<str>—
--total-vcpu<float>—
--total-memory-mb<int>—
--total-storage-gb<int>—
--profile<str>Config profile to use (several accounts).

sov governance metrics-overview

Fetch platform metrics overview.

sov governance metrics-overview [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov governance project-metrics

Fetch governance metrics for one project.

sov governance project-metrics [OPTIONS] [project_id]
Argument / optionTypeDescription
project_id<str>Project ID (defaults to scoped project)
--since<str>Hours or ISO timestamp [default: 24]
--limit<int range>[1<=x<=5000] [default: 500]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID override
--env<str>Environment ID; defaults to your current scope.

sov admin

Platform admin: error traces and usage

sov admin usage-overview

Fetch cross-tenant usage overview (platform admin).

sov admin usage-overview [OPTIONS]
Argument / optionTypeDescription
--period<str>Billing period YYYY-MM
--limit<int range>[1<=x<=500] [default: 100]
--profile<str>Config profile to use (several accounts).

sov admin error-traces list

List recent platform error traces.

sov admin error-traces list [OPTIONS]
Argument / optionTypeDescription
--service<str>—
--project<str>Project ID; defaults to your current scope.
--error-class<str>—
--severity<str>—
--resolved / --unresolved—
--since<str>ISO-8601 lower bound
--limit<int range>[1<=x<=200] [default: 50]
--profile<str>Config profile to use (several accounts).

sov admin error-traces get

Fetch one error trace with ordered hops.

sov admin error-traces get [OPTIONS] {trace_id}
Argument / optionTypeDescription
trace_id<str>Error trace ID (required)
--profile<str>Config profile to use (several accounts).

sov admin error-traces resolve

Mark an error trace resolved or unresolved.

sov admin error-traces resolve [OPTIONS] {trace_id}
Argument / optionTypeDescription
trace_id<str>Error trace ID (required)
--resolved / --unresolved[default: resolved]
--profile<str>Config profile to use (several accounts).

sov admin transparency list

List tenant-visible staff access transparency events.

sov admin transparency list [OPTIONS]
Argument / optionTypeDescription
--org<str>Organisation ID (defaults to scoped org)
--project<str>Project ID; defaults to your current scope.
--event-type<str>—
--since<str>ISO-8601 lower bound
--limit<int range>[1<=x<=200] [default: 50]
--offset<int range>[x>=0] [default: 0]
--profile<str>Config profile to use (several accounts).

sov vector

Vector embeddings and semantic search

sov vector embed

Generate embeddings for text inputs.

sov vector embed [OPTIONS] {text}...
Argument / optionTypeDescription
text<str>One or more texts to embed (required)
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov vector upsert

Embed and upsert documents into a vector collection.

sov vector upsert [OPTIONS] {collection}
Argument / optionTypeDescription
collection<str>Collection name (required)
--docs<str>JSON array: [{"text":"...", "id":"..."}] (required)
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

Semantic search within a vector collection.

sov vector search [OPTIONS] {collection} {query}
Argument / optionTypeDescription
collection<str>Collection name (required)
query<str>Search query text (required)
--top-k<int range>[1<=x<=100] [default: 5]
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov vector collections

List vector collections in the current project scope.

sov vector collections [OPTIONS]
Argument / optionTypeDescription
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov vector records

List records in a vector collection.

sov vector records [OPTIONS] {collection}
Argument / optionTypeDescription
collection<str>Collection name (required)
--limit<int>—
--offset<int>—
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov vector delete-record

Delete one record from a vector collection.

sov vector delete-record [OPTIONS] {collection} {record_id}
Argument / optionTypeDescription
collection<str>Collection name (required)
record_id<str>Record ID (required)
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov vector delete-collection

Delete an entire vector collection.

sov vector delete-collection [OPTIONS] {collection}
Argument / optionTypeDescription
collection<str>Collection name (required)
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.
--profile<str>Config profile to use (several accounts).

sov sim

Scenario discovery, runs, and comparisons

sov sim discover

Discover runnable simulation scenarios for the linked project.

sov sim discover [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov sim runs

List simulation runs for the current project.

sov sim runs [OPTIONS]
Argument / optionTypeDescription
--limit<int>[default: 20]
--offset<int>[default: 0]
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov sim get

Fetch one simulation run by ID.

sov sim get [OPTIONS] {run_id}
Argument / optionTypeDescription
run_id<str>Simulation run ID (required)
--expandShow nested run details
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov sim compare

Compare two simulation runs.

sov sim compare [OPTIONS] {target_run_id} {baseline_run_id}
Argument / optionTypeDescription
target_run_id<str>Run to inspect (required)
baseline_run_id<str>Baseline run (required)
--expandShow full comparison tree
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov sim run

Execute a discovered simulation scenario.

sov sim run [OPTIONS] {scenario_id}
Argument / optionTypeDescription
scenario_id<str>Scenario ID from sov sim discover (required)
--payload<str>JSON object payload
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov sim plan

Dry-run a scenario and return the execution plan.

sov sim plan [OPTIONS] {scenario_id}
Argument / optionTypeDescription
scenario_id<str>Scenario ID (required)
--payload<str>JSON object payload
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov keys

Project API keys.

sov keys list

List API keys for the current project.

sov keys list [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov keys create

Create a new project API key. The secret is shown once.

sov keys create [OPTIONS]
Argument / optionTypeDescription
--name<str>Human-readable key name (required)
--role<str>Key role label [default: service_role]
--metadata<str>JSON object
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov keys ensure-defaults

Bootstrap default anon + service_role keys if missing.

sov keys ensure-defaults [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov keys revoke

Revoke an API key.

sov keys revoke [OPTIONS] {key_id}
Argument / optionTypeDescription
key_id<str>API key ID (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov iam

Organisations, members, and project settings

sov iam orgs

List organisations visible to the authenticated user.

sov iam orgs [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov iam org

Fetch one organisation by ID.

sov iam org [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation node ID (required)
--profile<str>Config profile to use (several accounts).

sov iam projects

List child projects under an organisation.

sov iam projects [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Parent organisation ID (defaults to scoped org)
--relation<str>Edge relation filter [default: OWNS]
--profile<str>Config profile to use (several accounts).
--org<str>Organisation ID override

sov iam members

List organisation members.

sov iam members [OPTIONS] [org_id]
Argument / optionTypeDescription
org_id<str>Organisation ID (defaults to scoped org)
--profile<str>Config profile to use (several accounts).
--org<str>Organisation ID override

sov iam member-add

Add a member to an organisation.

sov iam member-add [OPTIONS] {org_id} {user_id}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
user_id<str>User node ID (required)
--role<str>[default: MEMBER]
--profile<str>Config profile to use (several accounts).

sov iam settings-get

Fetch project settings for the linked scope.

sov iam settings-get [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov iam settings-set

Update project settings.

sov iam settings-set [OPTIONS] {settings_json}
Argument / optionTypeDescription
settings_json<str>JSON object of project settings (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov iam org-update

Update organisation name and/or admin settings.

sov iam org-update [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation node ID (required)
--name<str>—
--settings<str>JSON settings object
--profile<str>Config profile to use (several accounts).

sov iam org-delete

Delete an organisation (async teardown).

sov iam org-delete [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation node ID (required)
--yes -ySkip confirmation
--profile<str>Config profile to use (several accounts).

sov iam org-set-plan

Set an organisation billing plan.

sov iam org-set-plan [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation node ID (required)
--plan<str>free | pro | ultra | team | enterprise (required)
--profile<str>Config profile to use (several accounts).

sov iam member-remove

Remove a member from an organisation.

sov iam member-remove [OPTIONS] {org_id} {user_id}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
user_id<str>User node ID (required)
--profile<str>Config profile to use (several accounts).

sov iam member-update

Update a member's organisation role.

sov iam member-update [OPTIONS] {org_id} {user_id}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
user_id<str>User node ID (required)
--role<str>— (required)
--profile<str>Config profile to use (several accounts).

sov iam invite-create

Create or refresh an organisation invite.

sov iam invite-create [OPTIONS] {org_id}
Argument / optionTypeDescription
org_id<str>Organisation ID (required)
--email<str>— (required)
--role<str>— (required)
--profile<str>Config profile to use (several accounts).

sov iam invite-accept

Accept an organisation invite.

sov iam invite-accept [OPTIONS] {token}
Argument / optionTypeDescription
token<str>Invite token (required)
--profile<str>Config profile to use (several accounts).

sov iam edge-create

Create a directed edge in the identity graph.

sov iam edge-create [OPTIONS]
Argument / optionTypeDescription
--source<str>— (required)
--target<str>— (required)
--relation<str>OWNS | MEMBER_OF | HAS_ENV (required)
--role<str>—
--profile<str>Config profile to use (several accounts).

sov iam roles-catalog

Fetch the project roles catalog.

sov iam roles-catalog [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov iam project-ref

Fetch the public project ref slug.

sov iam project-ref [OPTIONS] {project_id}
Argument / optionTypeDescription
project_id<str>Project node ID (required)
--profile<str>Config profile to use (several accounts).

sov iam roles-matrix get

Fetch the project role permission matrix.

sov iam roles-matrix get [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov iam roles-matrix set

Replace the project role permission matrix.

sov iam roles-matrix set [OPTIONS] {matrix_json}
Argument / optionTypeDescription
matrix_json<str>JSON role matrix object (required)
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov api

Raw gateway API calls

sov api call

Call any gateway endpoint directly.

sov api call [OPTIONS] {method} {path}
Argument / optionTypeDescription
method<str>HTTP method, e.g. GET/POST (required)
path<str>Gateway path, e.g. /api/v1/system/engines/health (required)
--body<str>JSON request body
--query<str>JSON object query params
--profile<str>Config profile to use (several accounts).
--no-authDo not send Authorization header
--require-scope—
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov mcp

MCP server for AI assistants (Claude, Cursor)

sov mcp serve

Run the MCP server over stdio using your current login and scope.

sov mcp serve [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).

sov mcp config

Print an MCP client config entry that launches sov mcp serve.

sov mcp config [OPTIONS]

sov inspect

Inspect databases and project resources

sov inspect db

Show table row estimates and database footprint.

sov inspect db [OPTIONS]
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov init

Interactive project bootstrap

sov init [OPTIONS] COMMAND [ARGS]...
Argument / optionTypeDescription
--name -n<str>Project name for config [default: sovaria-app]
--dir<path>Directory to write config into [default: .]
--link / --no-linkPersist scope to profile + config [default: link]
--ensure-keysBootstrap default anon/service_role API keys after linking
--profile<str>Config profile to use (several accounts).
--forceOverwrite existing sovaria.config.json

Link local directory to a Sovaria project

sov link [OPTIONS] COMMAND [ARGS]...
Argument / optionTypeDescription
--org<str>Organisation UUID
--project<str>Project UUID
--env<str>Environment UUID
--profile<str>Config profile to use (several accounts).
--config -c<path>sovaria.config.json path
--interactive / --no-interactivePick org/project if omitted [default: interactive]

sov test

Run integration tests and smoke checks

sov test [OPTIONS] COMMAND [ARGS]...
Argument / optionTypeDescription
--path<path>Pytest directory (default: tests/)
--smokeRun built-in linked-project smoke checks
--profile<str>Config profile to use (several accounts).
--org<str>Organization ID; defaults to your current scope.
--project<str>Project ID; defaults to your current scope.
--env<str>Environment ID; defaults to your current scope.

sov shell

Interactive Sovaria REPL

sov shell [OPTIONS] COMMAND [ARGS]...
Argument / optionTypeDescription
--profile<str>Config profile to use (several accounts).
Something unclear or missing on this page?Tell us