Skip to main content
The Omni CLI (omni) is generated from the same OpenAPI specification as the TypeScript SDK, so every public REST operation is a subcommand — no per-endpoint hand-writing, and no drift between the two. Use it to explore the API, script an operation, or run from CI without writing code.

Install

Requires Node 18+. From this repository:
The in-repo yarn omni evaluate|sync|monitor helper remains for local developer-platform scripts. The published CLI is the full OpenAPI command tree.

Authenticate

Store a key (same omni_sk_... the SDK uses):
Credentials are written to ~/.omni/config.json with mode 0600. Or export the same variable the SDK reads:
Precedence: --api-key > OMNI_API_KEY > ~/.omni/config.json. Confirm it works:

Explore

The command tree mirrors the API, so --help is the reference:
Two flags are agent- and script-friendly:
--dry-run prints the method, path, and request object without sending anything.

Call an operation

Request bodies come from --json, a JSON object, or stdin:
Path and query parameters are flags (--product-id, --q). Nested JSON bodies stay on --json.

Output formats

--format accepts json (default when piped) and table (default on a TTY).

Environment variables

Full reference

Every generated command is listed in CLI reference.