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 json,markdown
# Read the unpublished working copy, which is what an edit must be based on
upscaler get rg_abc123 --lane designer

# 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

Metadata

Release files for upscaler-cli 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for upscaler-cli 0.5.1
File Size Uploaded Provenance Actions
upscaler_cli-0.5.1.tar.gz 78.8 kB With provenance Details for upscaler_cli-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for upscaler-cli 0.5.1
File Interpreter ABI Platform Actions
upscaler_cli-0.5.1-py3-none-any.whl Python 3 none any Details for upscaler_cli-0.5.1-py3-none-any.whl

Total release size: 161.0 kB

Release files / upscaler_cli-0.5.1.tar.gz

Download URL upscaler_cli-0.5.1.tar.gz
Size 78.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b5e4fe40626b5607096213607f8a0f5636049c213b7901562f325b7f2e4579d0
BLAKE2b-256 checksum
How to use checksums
36cc618ae2094176d6963940b04fbe5b6b17ca852a2dfb396b473ad836c7b73f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / upscaler_cli-0.5.1-py3-none-any.whl

Download URL upscaler_cli-0.5.1-py3-none-any.whl
Size 82.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97ed708839882f0fc6a176bd015895c2f7e22db7ab299f6f25839eef8c5e2c40
BLAKE2b-256 checksum
How to use checksums
790f463be49e32183d16d43e0fed36c0f69e5b809244a9d2ce7ee5ddd40f03a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Security for upscaler-cli 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for upscaler_cli-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files Full provenance

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