Upscaler CLI
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
This disables certificate and hostname verification entirely rather than relaxing it, so the connection is no longer protected against interception — the CLI warns on stderr while it is in effect. Use it against development servers only, never against one holding real data.
Each profile's credentials are bound to the server that issued them: the CLI
refuses to send a stored token to any other origin. To use a different server,
log in against it, ideally under its own profile
(upscaler --profile staging login).
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
Delete commands prompt for confirmation only on an interactive terminal. Under
--json, in a pipeline, in CI, or when driven by an agent the prompt is
skipped so automation does not hang — gate destructive commands yourself in
those contexts. Deletes are soft: upscaler recover <id> restores them.
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
Metadata
Release files for upscaler-cli 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| upscaler_cli-0.6.0.tar.gz | 87.2 kB | With provenance | Details for upscaler_cli-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| upscaler_cli-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for upscaler_cli-0.6.0-py3-none-any.whl |
Total release size: 175.6 kB
Release files / upscaler_cli-0.6.0.tar.gz
| Download URL | upscaler_cli-0.6.0.tar.gz |
|---|---|
| Size | 87.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a979bddd33d7033ac4a906929984634b0fb2bb35db292395ed40643f3ceb3610
|
|
BLAKE2b-256 checksum How to use checksums |
0c315cd8e533c5fb92caeeefb6463b52e58d9c4e517283ce9a8564241139dfb1
|
| 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 Oct 1, 2026.
Transparency logRelease files / upscaler_cli-0.6.0-py3-none-any.whl
| Download URL | upscaler_cli-0.6.0-py3-none-any.whl |
|---|---|
| Size | 88.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e34440cfaa94851108e88e4ac26eb80235f672acd3227811e4b1b53f3db6fcb
|
|
BLAKE2b-256 checksum How to use checksums |
6829fa8fc00d361e2739ab0990498663e55d8370705957617a95655ef7ecd914
|
| 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 Oct 1, 2026.
Transparency logSecurity for upscaler-cli 0.6.0
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.
Attestation for upscaler_cli-0.6.0.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 Oct 1, 2026.
Transparency logA 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.