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):
- Defaults
~/.config/fluidzero/config.toml(global).fluidzero.toml(project-local)- Environment variables
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fluidzero_cli-0.2.0.tar.gz.
File metadata
- Download URL: fluidzero_cli-0.2.0.tar.gz
- Upload date:
- Size: 36.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac16bb54fe46e2dc48447252e59d66a9401531e5fe9a616d8bbd9e3a2da201bf
|
|
| MD5 |
3803e1bd3ea6eb40680d89f05a586ac8
|
|
| BLAKE2b-256 |
430b0415f17ca3627a54dfa207962e724601743bba6d20919310f446b51c04ac
|
Provenance
The following attestation bundles were made for fluidzero_cli-0.2.0.tar.gz:
Publisher:
publish.yml on fluidzero/fz-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluidzero_cli-0.2.0.tar.gz -
Subject digest:
ac16bb54fe46e2dc48447252e59d66a9401531e5fe9a616d8bbd9e3a2da201bf - Sigstore transparency entry: 2024388143
- Sigstore integration time:
-
Permalink:
fluidzero/fz-cli@9d889badd3282b6f8e777ac6ebcb6623c60907d3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/fluidzero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d889badd3282b6f8e777ac6ebcb6623c60907d3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fluidzero_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: fluidzero_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 50.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f89c91900b820ac7148888d4ab7dcc3f20204e3c866d12a50d9f3d8c1533c750
|
|
| MD5 |
f0c281edd43cab762096fa9cfccb1ad2
|
|
| BLAKE2b-256 |
da0ac8788bf49f4eea634788329854f328cc00a942fd870c4277affb18c0d62c
|
Provenance
The following attestation bundles were made for fluidzero_cli-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on fluidzero/fz-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluidzero_cli-0.2.0-py3-none-any.whl -
Subject digest:
f89c91900b820ac7148888d4ab7dcc3f20204e3c866d12a50d9f3d8c1533c750 - Sigstore transparency entry: 2024388238
- Sigstore integration time:
-
Permalink:
fluidzero/fz-cli@9d889badd3282b6f8e777ac6ebcb6623c60907d3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/fluidzero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d889badd3282b6f8e777ac6ebcb6623c60907d3 -
Trigger Event:
release
-
Statement type: