Skip to main content

Upscaler CLI

PyPI Python License test

Command-line tool for searching, retrieving, and managing Upscaler documents, records, and workflows.

Built for humans at a terminal and for AI agents alike: every command takes --json for machine-readable output, and write commands take --dry-run. The companion agent skills drive this CLI from Claude Code, Cursor, Gemini CLI, and Codex.

Install

pip install upscaler-cli

Setup

upscaler login

That is the whole setup. The CLI talks to https://ai.upscaler.app by default. Point it elsewhere only if you need to:

upscaler config set server_url https://your-upscaler-api.example.com

For a self-hosted or staging server with self-signed certificates:

upscaler config set verify_ssl false

Quick Start

# Check connection
upscaler health

# Search documents
upscaler search "safety procedures"

# Get an asset
upscaler get rg_abc123
upscaler get rg_abc123 --format schema
upscaler get rg_abc123 --format markdown

# List data
upscaler list definitions
upscaler list entries --definition-id rg_abc123
upscaler list todos

# View hierarchy
upscaler hierarchy d_abc123

# Manage todos
upscaler todo create --title "Review document"
upscaler todo close to_abc123

# Manage entries
upscaler entry create --definition-id rg_abc123 --data '{"title": "New item"}'
upscaler entry create --definition-id rg_abc123 --data @payload.json

# Get members and groups
upscaler get <firebase_uid> --type member
upscaler get g_abc123

# Discover members and groups (OWNER/ADMIN) for assignment / @mentions
upscaler list members --search kong
upscaler list groups

# Comments on todos and releases
upscaler comment list --asset-id to_abc123 --asset-type todo
upscaler comment add --asset-id to_abc123 --asset-type todo \
  --content "Reviewed and approved" --mention member::<uid>

# Download an evidence file (AV-gated); or just get the signed URL
upscaler files download --key <key> --name report.pdf --output ./report.pdf
upscaler files sign-get --key <key> --name report.pdf

# Recover a soft-deleted asset (and find recovery targets)
upscaler list deleted --search policy
upscaler recover d_abc123 --dry-run
upscaler recover d_abc123

Global Flags

Global flags go before the command:

upscaler --json list todos          # JSON output
upscaler --verbose search "audit"   # show HTTP details
upscaler --server https://... health  # override server URL
upscaler --version                  # print version

Write Safety

Preview changes before committing:

upscaler entry create --definition-id rg_123 --data @payload.json --dry-run
upscaler asset delete --asset-id rg_123 --dry-run

Data Input

Write commands accept --data in three forms:

--data '{"key": "value"}'          # inline JSON
--data @payload.json               # from file (recommended)
--data -                           # from stdin

Configuration

upscaler config set server_url https://api.example.com
upscaler config set verify_ssl false
upscaler config get server_url

Settings are stored per profile at ~/.upscaler/profiles/<profile>/config.json. Resolution order is flag > environment variable > config file > profile default, so --server beats $UPSCALER_SERVER, which beats the stored config. The relevant environment variables are UPSCALER_SERVER, UPSCALER_VERIFY_SSL, UPSCALER_PROFILE, and UPSCALER_OUTPUT.

Profiles

Each profile carries its own credentials and config, so you can hold a session against more than one environment at a time. prod is the default.

upscaler --profile dev login     # dev defaults to Upscaler's staging server
upscaler --profile dev list todos
upscaler profile list
upscaler profile set-default dev

Auth Commands

upscaler login       # browser-based OAuth2 login
upscaler status      # check auth state + token expiry
upscaler refresh     # refresh expired token
upscaler logout      # revoke and clear tokens

All Commands

Run upscaler --help for the full command list, or upscaler <command> --help for details on any command.

Using this CLI from an AI agent

upscaler-skills packages Upscaler workflows as portable agent skills that shell out to this CLI. They cover compliance Q&A, authoring asset definitions, writing register entries, and completing records, and install into Claude Code, Cursor, Gemini CLI, and Codex.

Publishing and approval are deliberately not exposed to agents. Those stay human-gated in the web app.

Contributing

See CONTRIBUTING.md for local setup, conventions, and the release process. Bug reports and feature requests go through the issue templates.

Security

Report vulnerabilities privately to support@upscaler.io, not via a public issue. See SECURITY.md for what the CLI stores locally.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upscaler_cli-0.4.0.tar.gz (77.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

upscaler_cli-0.4.0-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

Details for the file upscaler_cli-0.4.0.tar.gz.

File metadata

  • Download URL: upscaler_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 77.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for upscaler_cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 31a57d14653cd20081ad6fa75fcb9ec12e2aa0e4a906699468b35ea2f4939618
MD5 6c2376a156fecbab92705cc09f293bb6
BLAKE2b-256 942b93bc3e9ea8fb6db24abe8eb0325f502db949d4d84924a86271542dc7e96f

See more details on using hashes here.

Provenance

The following attestation bundles were made for upscaler_cli-0.4.0.tar.gz:

Publisher: release.yml on upscaler-io/upscaler-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file upscaler_cli-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: upscaler_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 80.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for upscaler_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d71fa8fb17619066374a6f907cf58fa4a645e382c5f7cd36fe0f049fb287b37d
MD5 6c50c7a90efb3abee3082d73bab1e591
BLAKE2b-256 d52066b2c1ca64dd37ee3016d86e2add0b6ab71e5ee215781df5a04e63935009

See more details on using hashes here.

Provenance

The following attestation bundles were made for upscaler_cli-0.4.0-py3-none-any.whl:

Publisher: release.yml on upscaler-io/upscaler-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page