Debug a development run
List recent traces in a specific workspace, inspect a run ID and compare status with the expected workflow state. Prefer explicit filters over downloading all retained data.
CLI reference / version 1.8.0
The imagined PulseFlow CLI gives developers a consistent way to inspect traces, validate event envelopes and diagnose a delayed workflow. This handbook turns those operations into repeatable runbooks.
List recent traces in a specific workspace, inspect a run ID and compare status with the expected workflow state. Prefer explicit filters over downloading all retained data.
Use noninteractive JSON output in CI to check authentication and send a synthetic marker. Treat a failed observability check separately from the application's own test results.
Preview a webhook replay with a dry run, verify authorization and confirm receiver idempotency before deliberately creating another delivery attempt.
# Illustrative commands for the fictional CLI.
export PULSEFLOW_WORKSPACE=ws_demo
export PULSEFLOW_REGION=us-east-1
# Inject PULSEFLOW_TOKEN from a protected secret source; do not print it.
pulseflow doctor --redact --json
pulseflow traces list --since 30m --limit 20 --json
pulseflow workflows inspect run_checkout_42 --json
pulseflow config view --redactThe reference CLI writes machine-readable results to standard output and human diagnostics to standard error. A nonzero exit status remains nonzero even when a structured error is printed. Scripts should parse the result schema, not scrape terminal colors or progress messages.
--workspace ws_demo.PULSEFLOW_WORKSPACE.Tokens are server-side secrets and are excluded from profile exports. The imagined config viewer masks credentials by default; --redact makes that expectation explicit in diagnostic runbooks. Never pass a token in a shell argument that could appear in process listings.
Global options include --json, --no-color, --workspace, --region and --timeout. Interactive prompts are disabled by PULSEFLOW_NONINTERACTIVE=1. Mutating operations require explicit flags rather than guessing a default workspace or silently accepting a prompt.
For application instrumentation, use the JavaScript SDK docs. For platform concepts, return to the central documentation hub.