Skip to main content

FluidZero platform CLI

Project description

fz — FluidZero CLI

The official command-line interface for the FluidZero document intelligence platform.

Manage projects, upload documents, define schemas, execute extraction runs, search results, and more — all from your terminal.

Installation

Homebrew (macOS)

brew install fluidzero/tap/fz

pip

pip install fluidzero-cli

From source

git clone https://github.com/fluidzero/fz-cli.git
cd fz-cli
python -m venv .venv && source .venv/bin/activate
pip install -e .

Quick Start

# Authenticate (opens browser for device-code confirmation)
fz auth login

# List projects
fz projects list

# Upload documents and wait for processing
fz documents upload -p <project-id> *.pdf --wait

# Run extraction with a schema
fz runs create -p <project-id> --schema <schema-id> --wait

# Search extracted data
fz search "quarterly revenue" -p <project-id>

Commands

Command Description
fz auth Login, logout, status, print token
fz projects Create, list, get, update, delete projects
fz documents Upload, list, get, delete, download documents
fz schemas Manage schemas and schema versions
fz prompts Manage prompts and prompt versions
fz runs Create, list, watch, cancel runs; view results
fz search Search extracted data (global or project-scoped)
fz webhooks Manage webhook endpoints and deliveries
fz api-keys Create, list, revoke API keys for CI/CD
fz run Composite: upload documents + run extraction
fz batch Batch process a directory of documents

Global Flags

Global flags go before the subcommand (Click convention):

fz -o json projects list       # JSON output
fz -o csv projects list        # CSV output
fz -q runs create ...          # Quiet mode
fz -v documents upload ...     # Verbose (shows HTTP requests)
fz -p <id> documents list      # Set default project

Configuration

Settings are resolved in order (later wins):

  1. Defaults
  2. ~/.config/fluidzero/config.toml (global)
  3. .fluidzero.toml (project-local)
  4. Environment variables
  5. CLI flags

Environment Variables

Variable Description
FZ_API_URL API base URL
FZ_PROJECT_ID Default project ID
FZ_OUTPUT Default output format (table, json, jsonl, csv)
FZ_CLIENT_ID M2M client ID (CI/CD)
FZ_CLIENT_SECRET M2M client secret (CI/CD)
NO_COLOR Disable colored output

Config File Example

# ~/.config/fluidzero/config.toml
[defaults]
api_url = "https://api.fluidzero.ai"
project = "e94af89d-..."
output = "table"

[upload]
concurrency = 4
retry_attempts = 3

Authentication

Interactive (browser device flow)

fz auth login    # Shows a code, opens browser for confirmation
fz auth status   # Check current identity and token expiry
fz auth logout   # Remove stored credentials

Machine-to-Machine (CI/CD)

export FZ_CLIENT_ID=client_01K...
export FZ_CLIENT_SECRET=124e12a...
fz projects list   # Uses M2M auth automatically

Create API keys with fz api-keys create "My CI Key".

License

Apache License 2.0 — see LICENSE for details.

Copyright 2025 Force Platforms Inc.

Project details


Download files

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

Source Distribution

fluidzero_cli-0.1.1.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

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

fluidzero_cli-0.1.1-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file fluidzero_cli-0.1.1.tar.gz.

File metadata

  • Download URL: fluidzero_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fluidzero_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 589f4d6e430e0af2d2511daebd0216942fe308ab85d39f2f9ef957c687e7c473
MD5 3178e8a0802eb4a5aa9b4e1542905213
BLAKE2b-256 e608ab73b357c273ea6e943a035b8425caaec3f3041f778289097ff7b2b5458f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidzero_cli-0.1.1.tar.gz:

Publisher: publish.yml on fluidzero/fz-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 fluidzero_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fluidzero_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fluidzero_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65201d41f57fb4e0deb1badf381805339d7b9432856f644b8ae30b8b8313a514
MD5 fb5f5a8ea055c0e34b3aa2f068eac9b0
BLAKE2b-256 80fdd8b534f0084d1cfeb2e21863602336ddc014a4b1c3e118f91c9c18a5a8e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidzero_cli-0.1.1-py3-none-any.whl:

Publisher: publish.yml on fluidzero/fz-cli

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page