Docs

CLI: Logs, metrics, alerts, crashes, vectors and AI tools

Read logs, request metrics and per-route latency, manage SLO alerts and crash reports, work with vectors, knowledge bases (RAG) and embeddings, talk to your agents, and connect AI assistants over MCP with sov.

Updated Nov 25, 2026

sov ai credits shows your Sovariq credits (left today and this month, grants, and the limits set for you); owners and admins set who can use Sovariq and caps per member and project with sov ai limits (Sovariq credits and limits).

sov ai credits
sov ai limits set-member <user id> --day 500
sov ai limits access admins

sov metrics routes ranks your API's routes by traffic with p50/p95/p99 latency and errors, per environment; sov alerts emails the team or posts a signed webhook when latency, 5xx rate, function failures or database connections cross a threshold (Alerts: latency, errors, function failures and connections).

sov metrics routes --hours 168
sov alerts create --metric latency_p95_ms --threshold 800 --target "GET /rest/v1/orders" --window 15
sov alerts list

AI assistants connect to the hosted MCP server at https://api.sovaria.in/mcp with an OAuth sign-in (Connect AI assistants (MCP): Claude, ChatGPT, Cursor and VS Code): sov mcp config --remote prints the entry for your app, sov mcp connections lists what you connected and sov mcp disconnect ends one. sov mcp serve runs the same tools locally over stdio with your CLI login.

sov mcp config --remote --client cursor           # or vscode, claude-code, claude, chatgpt
sov mcp config --remote --code                      # MCP code mode: search_api + execute
sov mcp connections
sov mcp disconnect <connection id>
sov openapi --version 3.2 -o openapi.json           # the public API description (no sign-in)

Knowledge bases (Knowledge bases (RAG)): sov knowledge (alias sov kb) creates one, adds files, text or web pages, and searches with citations; sov agents run <name> "question" asks one of your agents by name or id and streams the answer (--thread continues a conversation, the question can come from stdin, -q prints only the answer); sov agents list shows them. sov vector embedding-key switches the project to your own embedding key.

sov kb create support_docs --access app_users
sov kb add support_docs --file handbook.pdf
sov kb search support_docs "refund window"
sov agents run support-bot "Can I return a gift card?"
echo "Summarise today's tickets" | sov agents run digest -q

#sov logs

API and audit logs

sov logs api

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

sov logs api [OPTIONS]

Arguments and options

--limitint rangeoptionaldefault 50
--offsetint rangeoptionaldefault 0
--methodtextoptional
Filter HTTP method (GET, POST, …)
--pathtextoptional
Filter resource/path substring
--actor-idtextoptional
--follow / -fflagoptional
Stream new API log events
--intervalfloat rangeoptionaldefault 2.0
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov logs requests

The project's recent API requests (what the console's Observability › Request logs shows).

sov logs requests [OPTIONS]

Follow mode asks only for requests newer than the last one shown, so it stays cheap.

Arguments and options

--statustextoptional
errors, 5xx, 4xx or 2xx
--servicetextoptional
Only entries from this service (the service field of a log entry)
--search / -stextoptional
Text in the path or method
--sourcetextoptionaldefault app
app (API keys, app users), console or all
--limitint rangeoptionaldefault 50
--follow / -fflagoptional
Keep printing new requests
--intervalfloat rangeoptionaldefault 3.0
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov logs why

Why a request was refused or failed: the check or service that decided it, the reason, every hop.

sov logs why [OPTIONS] TRACE_ID

Arguments and options

TRACE_IDtextrequired
Trace id from the error (traceId / X-Request-ID)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov logs refused

The project's latest refused or failed requests, each with why.

sov logs refused [OPTIONS]

Arguments and options

--kindtextoptionaldefault denied
denied (4xx), failed (5xx) or all
--limitint rangeoptionaldefault 20
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov metrics

Request metrics and per-route p50/p95/p99 latency

sov metrics

Request metrics and per-route p50/p95/p99 latency

sov metrics [OPTIONS]

Arguments and options

--hoursint rangeoptionaldefault 24
How far back (capped by your plan)
--servicetextoptional
One service, as named in the service column of sov metrics
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov metrics routes

p50/p95/p99 latency and errors per route (method + path with ids collapsed), busiest first.

sov metrics routes [OPTIONS]

Arguments and options

--hoursint rangeoptionaldefault 24
How far back (route data is kept up to 7 days)
--envstextoptional
Environment ids, comma-separated; 'main' = requests that named none (default: all)
--routetextoptional
One route, e.g. 'GET /rest/v1/orders': adds its series
--limitint rangeoptionaldefault 25
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.
sov metrics routes --hours 24 --envs main
sov metrics routes --route "GET /rest/v1/orders" --json

#sov alerts

SLO alerts: latency, errors, function failures, connections → email/webhook

sov alerts list

Alert rules with their state (ok, firing, no_data, paused) and the plan limit.

sov alerts list [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov alerts create

Create an alert rule.

sov alerts create [OPTIONS]

A webhook's signing secret is printed once: store it to verify X-Sovaria-Signature.

Arguments and options

--metrictextrequired
latency_p95_ms, latency_p99_ms, error_rate, function_failures, db_connections, crash_events, crash_new_issues, crash_regressions
--thresholdnumberrequired
ms for latency, percent for error_rate, a count otherwise
--windowintegeroptionaldefault 15
Minutes: 5, 10, 15, 30 or 60 (route alerts: 15+)
--targettextoptional
Route ('GET /rest/v1/orders') or function name; default: whole project
--envstextoptional
Route alerts: environment ids, comma-separated (default: all)
--nametextoptional
--email / --no-emailflagoptional
Email the project team
--webhooktextoptional
HTTPS URL that receives a signed POST
--min-requestsint rangeoptionaldefault 20
Request alerts: ignore windows with fewer requests
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.
sov alerts create --metric error_rate --threshold 2 --window 10
sov alerts create --metric function_failures --threshold 5 --target send-email --webhook https://hooks.example.com/sovaria --no-email

sov alerts pause

Stop checking and notifying for a rule.

sov alerts pause [OPTIONS] RULE_ID

Arguments and options

RULE_IDtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov alerts resume

Check and notify again.

sov alerts resume [OPTIONS] RULE_ID

Arguments and options

RULE_IDtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov alerts test

Measure the rule now and send a test to its webhook (no email).

sov alerts test [OPTIONS] RULE_ID

Arguments and options

RULE_IDtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov alerts delete

Delete an alert rule.

sov alerts delete [OPTIONS] RULE_ID

Arguments and options

RULE_IDtextrequired
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov alerts events

Fired and resolved alerts, newest first.

sov alerts events [OPTIONS]

Arguments and options

--limitint rangeoptionaldefault 50
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov crashes

App crash reports, release health, source maps / mappings / dSYMs

sov crashes list

Crash issues, most recent first.

sov crashes list [OPTIONS]

Arguments and options

--statustextoptional
open | resolved | ignored
--releasetextoptional
--environmenttextoptional
The app's environment (production, staging…)
--platformtextoptional
web, ios, android, react-native…
--searchtextoptional
Text in the title or top frame
--sorttextoptionaldefault last_seen
last_seen | first_seen | events | users
--limitint rangeoptionaldefault 50
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes show

One issue: stack (symbolicated), breadcrumbs, device and release of the latest report, releases and daily counts.

sov crashes show [OPTIONS] FINGERPRINT

Arguments and options

FINGERPRINTtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes resolve

Mark resolved (it reopens if the crash happens again).

sov crashes resolve [OPTIONS] FINGERPRINT

Arguments and options

FINGERPRINTtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes ignore

Hide an issue you won't fix.

sov crashes ignore [OPTIONS] FINGERPRINT

Arguments and options

FINGERPRINTtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes releases

Release health: sessions, crash-free sessions and users, and adoption per release.

sov crashes releases [OPTIONS]

Arguments and options

--daysint rangeoptionaldefault 14
--environmenttextoptional
--platformtextoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes upload-symbols

Find and upload every symbol file a release needs, for all platforms, in one go: Apple dSYMs, Android NDK library symbols (by build id), R8/ProGuard mappings, and JavaScript / React Native (Hermes) source maps.

sov crashes upload-symbols [OPTIONS] PATHS

Only symbol tables leave your machine for dSYMs and .so files, never the full debug info. Symbols already uploaded unchanged are skipped; a file the server refuses doesn't stop the others (the exit code is 1 if any failed).

Arguments and options

PATHSpathrequired
Build outputs: .dSYM bundles / Xcode archive, the unstripped .so folder (app/build/intermediates/merged_native_libs, in Flutter build/app/intermediates/merged_native_libs), mapping.txt, JS / React Native bundle .map files, or folders holding any of them
--releasetextoptional
Your app's release string (needed for mapping files and source maps; dSYMs and .so files are matched by UUID / build id)
--url-prefixtextoptionaldefault ~/
Where web bundles are served: ~/ = the site root
--dry-runflagoptional
List what would be uploaded
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes debug-files

Uploaded source maps, mappings and symbols, with the storage used.

sov crashes debug-files [OPTIONS]

Arguments and options

--kindtextoptional
sourcemap | proguard | dsym | elf
--releasetextoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes debug-files-delete

Delete one debug file.

sov crashes debug-files-delete [OPTIONS] FILE_ID

Arguments and options

FILE_IDtextrequired
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes sourcemaps upload

Upload a release's source maps.

sov crashes sourcemaps upload [OPTIONS] PATH

Each is named after its minified file (dist/assets/app.js.map → ~/assets/app.js), which is how crash frames find it.

Arguments and options

PATHpathrequired
Build output folder (every *.map below it) or one .map file
--releasetextrequired
Must equal the release your app passes to sov.crashes.install
--url-prefixtextoptionaldefault ~/
Where the folder is served: ~/ = the site root
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes mapping upload

Upload an R8/ProGuard mapping file for one Android release.

sov crashes mapping upload [OPTIONS] PATH

Arguments and options

PATHfilerequired
app/build/outputs/mapping/release/mapping.txt
--releasetextrequired
Must equal the app's release, e.g. "1.4.2 (42)"
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov crashes dsym upload

Upload the function symbols of dSYMs (matched to crashes by image UUID, so no --release).

sov crashes dsym upload [OPTIONS] PATH

Only the symbol table leaves your machine; frames get function + offset (Swift names stay mangled).

Arguments and options

PATHpathrequired
A .dSYM bundle, its DWARF file, or a folder of dSYMs (Xcode archive)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov perf

Client performance: web vitals, network vs server, app start, screens

sov perf summary

p50 / p75 / p95 per metric, with web-vitals ratings (good / needs improvement / poor at p75).

sov perf summary [OPTIONS]

Arguments and options

--kindtextoptional
vital | network | app_start | screen | trace
--bytextoptionaldefault name
name, or route (vitals per page / screen)
--daysint rangeoptionaldefault 7
--releasetextoptional
--platformtextoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov perf network

Each route's time measured in the app next to the gateway's server time for the same route.

sov perf network [OPTIONS]

Arguments and options

--daysint rangeoptionaldefault 1
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov perf slow

The slowest client requests, each with its trace id (open one with sov perf trace).

sov perf slow [OPTIONS]

Arguments and options

--nametextoptional
A route, e.g. "GET /rest/v1/orders"
--daysint rangeoptionaldefault 1
--limitint rangeoptionaldefault 20
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov perf trace

One request end to end: the app's spans and the server's hops (kept for failed and refused requests).

sov perf trace [OPTIONS] TRACE_ID

Arguments and options

TRACE_IDtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov vector

Vector embeddings and semantic search

sov vector embed

Generate embeddings for text inputs.

sov vector embed [OPTIONS] TEXT

Arguments and options

TEXTtextrequired
One or more texts to embed
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector upsert

Embed and upsert documents into a vector collection.

sov vector upsert [OPTIONS] COLLECTION

Arguments and options

COLLECTIONtextrequired
Collection name
--docstextrequired
JSON array: [{"text":"...", "id":"..."}]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector reembed

Embed every stored text again with the project's current model.

sov vector reembed [OPTIONS] COLLECTION

Arguments and options

COLLECTIONtextrequired
Collection name
--forceflagoptional
Not needed: an explicit re-embed always covers the whole collection (uses quota)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector sql-status

pgvector on the project database: vector columns, their indexes (method, metric, building/ready) and row estimates.

sov vector sql-status [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector sql-enable

Turn pgvector on for the project database.

sov vector sql-enable [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector sql-table

Create a documents table (id, content, metadata, embedding vector(n)) with an HNSW index.

sov vector sql-table [OPTIONS] TABLE

Arguments and options

TABLEtextrequired
New table name
--dimensionsint rangerequired
Embedding size, e.g. 1536
--owner-rowsflagoptional
Each user only sees their own rows
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector sql-index

Create an HNSW or IVFFlat index (built concurrently: writes keep working; sql-status shows building/ready).

sov vector sql-index [OPTIONS] TABLE

Arguments and options

TABLEtextrequired
Table name
--columntextoptionaldefault embedding
--metrictextoptionaldefault cosine
cosine, l2 or inner_product
--methodtextoptionaldefault hnsw
hnsw (best recall) or ivfflat (smaller; build after loading data)
--mint rangeoptional
HNSW links per node
--ef-constructionint rangeoptional
HNSW build candidates
--listsint rangeoptional
IVFFlat clusters (default rows/1000)
--blockingflagoptional
Build in the request (blocks writes) instead of CONCURRENTLY in the background
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector auto-status

Tables with automatic embeddings: rows embedded and waiting, last error, the project's model.

sov vector auto-status [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector auto-on

Keep a vector column embedded from text columns; new and edited rows are embedded in the background.

sov vector auto-on [OPTIONS] TABLE

Arguments and options

TABLEtextrequired
Table name
--sourcetextrequired
Text column to embed (repeat, in order: --source title --source body)
--columntextoptionaldefault embedding
Vector column (created with the model's size when missing)
--rebuildflagoptional
Clear every vector and embed the table again (uses quota)
--languagetextoptionaldefault simple
Keyword index language, e.g. english (stems words)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector auto-off

Stop keeping a table's vectors up to date (the column and its vectors stay).

sov vector auto-off [OPTIONS] TABLE

Arguments and options

TABLEtextrequired
Table name
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector auto-sync

Embed waiting rows now instead of on the next background pass.

sov vector auto-sync [OPTIONS]

Arguments and options

--tabletextoptional
Only this table
--limitint rangeoptionaldefault 128
Rows per table
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector collections

List vector collections in the current project scope.

sov vector collections [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector records

List records in a vector collection.

sov vector records [OPTIONS] COLLECTION

Arguments and options

COLLECTIONtextrequired
Collection name
--limitintegeroptional
--offsetintegeroptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector delete-record

Delete one record from a vector collection.

sov vector delete-record [OPTIONS] COLLECTION RECORD_ID

Arguments and options

COLLECTIONtextrequired
Collection name
RECORD_IDtextrequired
Record ID
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector delete-collection

Delete an entire vector collection.

sov vector delete-collection [OPTIONS] COLLECTION

Arguments and options

COLLECTIONtextrequired
Collection name
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector embedding-model

The model this project embeds with, who pays for it (Sovaria or your key), dimensions and list price.

sov vector embedding-model [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector embedding-key

Embed with your own provider key (owners and admins).

sov vector embedding-key [OPTIONS]

The key is tested, encrypted and never shown again.

Arguments and options

--providertextrequired
openai, gemini or openai_compatible
--modeltextrequired
e.g. text-embedding-3-small
--dimensionsint rangeoptional
e.g. 512 (empty: the model's default)
--base-urltextoptional
For openai_compatible, e.g. https://api.voyageai.com/v1
--api-keytextoptional
The provider key (or set SOVARIA_EMBEDDING_API_KEY); leave out to keep the stored one
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector embedding-managed

Go back to Sovaria's managed embedding model (your stored key is deleted).

sov vector embedding-managed [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov vector embedding-usage

Texts embedded, tokens and estimated cost per month, model and who paid.

sov vector embedding-usage [OPTIONS]

Arguments and options

--monthsint rangeoptionaldefault 3
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov knowledge

Knowledge bases (RAG): documents in, cited passages out

sov knowledge list

Knowledge bases with documents, sections, tokens, sections still embedding and estimated cost.

sov knowledge list [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov knowledge create

Create a knowledge base (chunks table, row policies and automatic embeddings).

sov knowledge create [OPTIONS] NAME

Arguments and options

NAMEtextrequired
Lowercase name, e.g. support_docs (table kb_<name>)
--descriptiontextoptional
--accesstextoptionaldefault team
team, or app_users (signed-in users read shared documents and their own)
--user-uploadsflagoptional
App users may add their own private documents
--chunk-tokensint rangeoptionaldefault 450
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov knowledge add

Add or replace a document from a file, a web page or text.

sov knowledge add [OPTIONS] NAME

Only new or changed sections are embedded.

Arguments and options

NAMEtextrequired
Knowledge base name
--file / -ffileoptional
PDF, DOCX, HTML, Markdown, TXT, CSV or JSON (up to 7 MB)
--urltextoptional
A public web page
--texttextoptional
Text (Markdown headings become sections); '-' reads stdin
--titletextoptional
--idtextoptional
Re-using an id replaces that document
--metadatatextoptional
JSON object, e.g. {"lang":"en"}
--refresh-hoursint rangeoptional
With --url: fetch the page again every N hours (paid plans)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov knowledge docs

Documents you may read: title, source, sections, tokens and whether they are still embedding.

sov knowledge docs [OPTIONS] NAME

Arguments and options

NAMEtextrequired
--limitint rangeoptionaldefault 50
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov knowledge rm-doc

Remove one document (all its sections).

sov knowledge rm-doc [OPTIONS] NAME DOCUMENT_ID

Arguments and options

NAMEtextrequired
DOCUMENT_IDtextrequired
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov knowledge sources

URL documents fetched again on a schedule: next fetch and last error.

sov knowledge sources [OPTIONS] NAME

Arguments and options

NAMEtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov knowledge set

Change who can read it, whether app users may add documents, or its description.

sov knowledge set [OPTIONS] NAME

Arguments and options

NAMEtextrequired
--accesstextoptional
team or app_users
--user-uploads / --no-user-uploadsflagoptional
--descriptiontextoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov knowledge delete

Delete a knowledge base and every document in it.

sov knowledge delete [OPTIONS] NAME

Arguments and options

NAMEtextrequired
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov kb

Knowledge bases (alias of sov knowledge)

sov kb list

Knowledge bases with documents, sections, tokens, sections still embedding and estimated cost.

sov kb list [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov kb create

Create a knowledge base (chunks table, row policies and automatic embeddings).

sov kb create [OPTIONS] NAME

Arguments and options

NAMEtextrequired
Lowercase name, e.g. support_docs (table kb_<name>)
--descriptiontextoptional
--accesstextoptionaldefault team
team, or app_users (signed-in users read shared documents and their own)
--user-uploadsflagoptional
App users may add their own private documents
--chunk-tokensint rangeoptionaldefault 450
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov kb add

Add or replace a document from a file, a web page or text.

sov kb add [OPTIONS] NAME

Only new or changed sections are embedded.

Arguments and options

NAMEtextrequired
Knowledge base name
--file / -ffileoptional
PDF, DOCX, HTML, Markdown, TXT, CSV or JSON (up to 7 MB)
--urltextoptional
A public web page
--texttextoptional
Text (Markdown headings become sections); '-' reads stdin
--titletextoptional
--idtextoptional
Re-using an id replaces that document
--metadatatextoptional
JSON object, e.g. {"lang":"en"}
--refresh-hoursint rangeoptional
With --url: fetch the page again every N hours (paid plans)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov kb docs

Documents you may read: title, source, sections, tokens and whether they are still embedding.

sov kb docs [OPTIONS] NAME

Arguments and options

NAMEtextrequired
--limitint rangeoptionaldefault 50
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov kb rm-doc

Remove one document (all its sections).

sov kb rm-doc [OPTIONS] NAME DOCUMENT_ID

Arguments and options

NAMEtextrequired
DOCUMENT_IDtextrequired
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov kb sources

URL documents fetched again on a schedule: next fetch and last error.

sov kb sources [OPTIONS] NAME

Arguments and options

NAMEtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov kb set

Change who can read it, whether app users may add documents, or its description.

sov kb set [OPTIONS] NAME

Arguments and options

NAMEtextrequired
--accesstextoptional
team or app_users
--user-uploads / --no-user-uploadsflagoptional
--descriptiontextoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov kb delete

Delete a knowledge base and every document in it.

sov kb delete [OPTIONS] NAME

Arguments and options

NAMEtextrequired
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov agents

Talk to your project's agents

sov agents list

The project's agents (name, id, who can use it) and the plan's agent allowance.

sov agents list [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov agents run

Ask a project agent something; its answer streams.

sov agents run [OPTIONS] AGENT [MESSAGE]

It acts with your permissions.

Examples: sov agents run support-bot "Where is order 1042?" · echo "Summarise this" | sov agents run digest

Arguments and options

AGENTtextrequired
The agent's name (e.g. support-bot) or id (console › Agents)
MESSAGEtextoptional
What to ask; leave out (or '-') to read it from stdin
--threadtextoptional
Continue this thread (printed after each answer)
--jsonflagoptional
Print every event as JSON
--quiet / -qflagoptional
Print only the answer (no tool calls or thread line)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov agents threads

Your threads with this agent, newest first.

sov agents threads [OPTIONS] AGENT_ID

Arguments and options

AGENT_IDtextrequired
The agent's name or id
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov agents versions

An agent's published version and its kept versions.

sov agents versions [OPTIONS] AGENT_ID

Arguments and options

AGENT_IDtextrequired
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov agents publish

Publish the agent's current definition; app users run it from now on.

sov agents publish [OPTIONS] AGENT_ID

Arguments and options

AGENT_IDtextrequired
--note / -mtextoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov agents rollback

Make an older version current again (it is published as a new version).

sov agents rollback [OPTIONS] AGENT_ID VERSION

Arguments and options

AGENT_IDtextrequired
VERSIONintegerrequired
--note / -mtextoptional
--yes / -yflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov agents compare

What changed between two versions (or a version and the draft).

sov agents compare [OPTIONS] AGENT_ID A [B]

Arguments and options

AGENT_IDtextrequired
Atextrequired
Version number
Btextoptional
Version number or 'draft'
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#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]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov mcp config

Print an MCP client config: the hosted server (--remote) or one that launches sov mcp serve.

sov mcp config [OPTIONS]

Arguments and options

--remoteflagoptional
The hosted server (OAuth sign-in in the browser, no install)
--clienttextoptionaldefault cursor
With --remote: cursor, vscode, claude-code, claude, chatgpt
--read-onlyflagoptional
With --remote: only read tools
--featurestextoptional
With --remote: tool categories, e.g. database,storage
--codeflagoptional
With --remote: MCP code mode — search_api + execute over the whole API (far fewer tokens than the full tool list)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov mcp connections

AI assistants you connected to the hosted MCP server.

sov mcp connections [OPTIONS]

Arguments and options

--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov mcp disconnect

End a connection now: the assistant's tokens stop working at once.

sov mcp disconnect [OPTIONS] CONNECTION_ID

Arguments and options

CONNECTION_IDtextrequired
From sov mcp connections
--yes / -yflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov mcp org

Whether the organization's members may connect AI assistants, and (owners/admins) their connections.

sov mcp org [OPTIONS]

Arguments and options

--allowflagoptional
Let members connect AI assistants (owners/admins)
--denyflagoptional
Turn it off; ends every member's connection (owners/admins)
--yes / -yflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov openapi

Download the public API description: OpenAPI 3.1 / 3.2 or Arazzo

sov openapi

Download the public API description: OpenAPI 3.1 / 3.2 or Arazzo

sov openapi [OPTIONS]

Arguments and options

--versiontextoptionaldefault 3.1
OpenAPI 3.1 (default), 3.2 (HTTP QUERY as query) or arazzo
--output / -otextoptional
Write to this file instead of printing
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov gateway

Model gateway: routes, fallbacks, cache, usage per model

sov gateway routes

Routes, the models they may use and the plan's limits.

sov gateway routes [OPTIONS]
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov gateway set

Create or change a route.

sov gateway set [OPTIONS] NAME

Arguments and options

NAMEtextrequired
--modelstextrequired
provider/model, first one answers, the rest are fallbacks
--cache-ttlintegeroptionaldefault 0
Cache identical requests this many seconds (0 = off)
--retry-ontextoptional
Comma list: rate_limit, server_error, timeout, auth
--app-usersflagoptional
Let the app's signed-in users call this route
--daily-per-userintegeroptionaldefault 200
Requests one app user may make a day
--max-output-tokensintegeroptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov gateway delete

sov gateway delete.

sov gateway delete [OPTIONS] NAME

Arguments and options

NAMEtextrequired
--yes / -yflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov gateway complete

One completion on a route (shows which model answered and whether it came from the cache).

sov gateway complete [OPTIONS] ROUTE PROMPT

Arguments and options

ROUTEtextrequired
PROMPTtextrequired
The user message
--systemtextoptional
--max-tokensintegeroptionaldefault 1024
--no-cacheflagoptional
--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov gateway usage

Requests, errors, fallbacks, cache hits, tokens and latency per model.

sov gateway usage [OPTIONS]

Arguments and options

--daysint rangeoptionaldefault 7
--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov gateway cache-clear

sov gateway cache-clear.

sov gateway cache-clear [OPTIONS]

Arguments and options

--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov sovariq

Sovariq: usage (tokens, cache hits, credits per day), credits and packs

sov sovariq usage

Sovariq requests, tokens, cache-hit rate and credits per day (calls on your own model key use no credits).

sov sovariq usage [OPTIONS]

Arguments and options

--daysint rangeoptionaldefault 30
--whole-orgflagoptional
The whole organization, by project
--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov sovariq credits

Your Sovariq credits now, and the limits that apply to you.

sov sovariq credits [OPTIONS]

Arguments and options

--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov sovariq packs

Sovariq credit packs for sale (12-month credits, paid plans), your packs and the Sovariq wallet cap.

sov sovariq packs [OPTIONS]

Arguments and options

--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov sovariq buy-pack

Buy a credit pack: from the wallet here, or by card / UPI in the console (the CLI never takes a card).

sov sovariq buy-pack [OPTIONS] PACK_ID

Arguments and options

PACK_IDtextrequired
starter, builder, studio (see sov ai packs)
--from-walletflagoptional
Pay from the wallet (otherwise prints the console link)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

#sov ai

Sovariq credits and limits: sov ai credits, sov ai limits

sov ai credits

Your Sovariq credits now, and the limits that apply to you.

sov ai credits [OPTIONS]

Arguments and options

--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai packs

Sovariq credit packs for sale (12-month credits, paid plans), your packs and the Sovariq wallet cap.

sov ai packs [OPTIONS]

Arguments and options

--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai buy-pack

Buy a credit pack: from the wallet here, or by card / UPI in the console (the CLI never takes a card).

sov ai buy-pack [OPTIONS] PACK_ID

Arguments and options

PACK_IDtextrequired
starter, builder, studio (see sov ai packs)
--from-walletflagoptional
Pay from the wallet (otherwise prints the console link)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai limits

The organization's Sovariq limits: who can use it, caps per member and project

sov ai limits [OPTIONS]

Arguments and options

--jsonflagoptional
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai limits set-member

Cap one member's Sovariq credits (owners and admins).

sov ai limits set-member [OPTIONS] USER_ID

Arguments and options

USER_IDtextrequired
The member's user id
--dayint rangeoptional
Credits a day (omit for no daily cap)
--monthint rangeoptional
Credits a month (omit for no monthly cap)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai limits remove-member

Remove a member's own cap (the default for members applies again).

sov ai limits remove-member [OPTIONS] USER_ID

Arguments and options

USER_IDtextrequired
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai limits set-project

Cap everything Sovariq does in one project, whoever asks.

sov ai limits set-project [OPTIONS] PROJECT

Arguments and options

PROJECTtextrequired
The project id
--dayint rangeoptional
Credits a day (omit for no daily cap)
--monthint rangeoptional
Credits a month (omit for no monthly cap)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai limits remove-project

Remove a project's Sovariq cap.

sov ai limits remove-project [OPTIONS] PROJECT

Arguments and options

PROJECTtextrequired
--yes / -yflagoptional
Don't ask
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai limits set-default

The cap for every member without their own (new members too).

sov ai limits set-default [OPTIONS]

No --day/--month removes it.

Arguments and options

--dayint rangeoptional
Credits a day (omit for no daily cap)
--monthint rangeoptional
Credits a month (omit for no monthly cap)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.

sov ai limits access

Who can use Sovariq: everyone, owners and admins only, or chosen members.

sov ai limits access [OPTIONS] MODE

Arguments and options

MODEtextrequired
everyone | admins | selected
--usertextoptional
With selected: a member who may use Sovariq (repeat)
  • Also takes --profile, --org, --project and --env to act on another account, organization, project or environment.