Skip to main content
bt view is an interactive terminal UI for browsing logs, traces, and spans. Use it to inspect individual requests, drill into LLM conversation threads, and navigate span hierarchies. The logs, trace, thread, and span subcommands open the TUI by default when output is a TTY. Pass --non-interactive or --json to print without the TUI. waterfall always prints non-interactively.

Keyboard shortcuts

bt view logs flags

Trace and span flags

Use bt view trace, bt view thread, or bt view waterfall to render a full trace. Use bt view span to fetch one span.

bt view thread

Show a trace’s LLM conversation as a single ordered transcript. In a terminal, bt view thread opens the TUI by default. Pass --non-interactive or --json to print the transcript directly. Braintrust’s trace preprocessor collapses repeated messages across LLM spans into one thread, so you can inspect a conversation without opening each span individually.
Select the trace with --trace-id <ID>, --url <URL> (or a positional URL), or --project-id. Thread only supports project logs sources.

bt view waterfall

Render a trace waterfall showing each span’s offset and duration within the trace, along with model, token, cost, and cache details such as prompt cache hit percentage when available. Use the timeline alias for parity with the Braintrust app’s Timeline tab.
Select the trace with the same options as bt view trace.