Command-line interface for the Orch8 workflow engine. Manage sequences, instances, cron schedules, triggers, and more.
brew tap orch8-io/orch8
brew install orch8-cligo install github.com/orch8-io/cli@latestDownload pre-built binaries from GitHub Releases.
| Flag | Env var | Default | Description |
|---|---|---|---|
--url |
ORCH8_URL |
http://localhost:8080 |
Engine API URL |
--tenant |
ORCH8_TENANT |
default |
Tenant ID |
--api-key |
ORCH8_API_KEY |
API key for authentication | |
--json |
false |
Output as JSON | |
--verbose |
false |
Print request details |
# Configure via environment
export ORCH8_URL=http://localhost:8080
export ORCH8_TENANT=default
export ORCH8_API_KEY=your-api-key# Check engine health
orch8 health
# Deploy a sequence definition
orch8 deploy sequence.json
# Create a workflow instance
orch8 instance create --sequence <sequence-id>
# Watch instance progress
orch8 instance get <instance-id>
orch8 instance tree <instance-id>Deploy a sequence definition from a JSON file.
orch8 deploy <file>Manage sequence definitions.
orch8 sequence get <id>
orch8 sequence get-by-name <namespace> <name>
orch8 sequence versions <namespace> <name>
orch8 sequence deprecate <id>Manage workflow instances.
# List and inspect
orch8 instance list [--sequence <id>] [--state <state>] [--limit 50]
orch8 instance get <id>
orch8 instance tree <id>
orch8 instance outputs <id>
orch8 instance audit <id>
orch8 instance dlq
# Create
orch8 instance create --sequence <id> [--context '{"key":"value"}'] [--context-file ctx.json] [--idempotency-key <key>]
# Lifecycle
orch8 instance pause <id>
orch8 instance resume <id>
orch8 instance cancel <id>
orch8 instance retry <id>
orch8 instance signal <id> <signal-type> [--payload '{}']Manage stateful sessions that group instances.
orch8 session create --key <key> [--data '{}']
orch8 session get <id>
orch8 session get-by-key <key>
orch8 session instances <session-id>
orch8 session close <id>Manage event triggers.
orch8 trigger list
orch8 trigger get <slug>
orch8 trigger create --file trigger.json
orch8 trigger fire <slug> [--payload '{}']
orch8 trigger delete <slug>Manage scheduled workflow execution.
orch8 cron list
orch8 cron get <id>
orch8 cron create --file schedule.json
orch8 cron enable <id>
orch8 cron disable <id>
orch8 cron delete <id>Manage resource pools for concurrency control.
orch8 pool list
orch8 pool get <id>
orch8 pool create --file pool.json
orch8 pool resources <pool-id>
orch8 pool delete <id>Monitor external worker tasks.
orch8 worker list
orch8 worker statsManage stored credentials.
orch8 credential list
orch8 credential get <id>
orch8 credential create --file cred.json
orch8 credential delete <id>Manage engine plugins.
orch8 plugin list
orch8 plugin get <name>
orch8 plugin create --file plugin.json
orch8 plugin delete <name>Manage engine cluster nodes.
orch8 cluster list
orch8 cluster drain <node-id>Manage human-in-the-loop approvals.
orch8 approval listManage circuit breaker states.
orch8 cb list
orch8 cb get <handler>
orch8 cb reset <handler># Bash
orch8 completion bash > /etc/bash_completion.d/orch8
# Zsh
orch8 completion zsh > "${fpath[1]}/_orch8"
# Fish
orch8 completion fish > ~/.config/fish/completions/orch8.fishBUSL-1.1