arcflow trace
Print execution traces for a run id from in-process store, JSON file, or HTTP server.
Usage
| Flag | Default | Description |
|---|---|---|
--format | human | human or json |
--verbose | off | Print raw events JSON after summary |
--tui | off | Interactive terminal timeline |
--file PATH | off | Load trace from JSON file |
--server URL | off | Fetch GET /v1/runs/{id}/trace |
Global: arcflow --no-color trace... for CI logs.
Examples
In-process trace (same machine as SDK run):
JSON export:
Server-backed trace:
Equivalent curl:
Import from file (export saved earlier):
TUI viewer:
Human output format
With --verbose, appends:
Events are metadata-only trace only (no prompt text).
Where to find run IDs
| Source | Location |
|---|---|
| Server create response | run_id field from POST /v1/runs |
| Python SDK | result.run_id when exposed |
| Postgres | arcflow_runs.run_id |
| Docker logs | Server startup run logs |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Trace printed |
| 1 | Trace not found or invalid file |
| 2 | Store lock failure |