Skip to content

CLI Reference

openclaw traces

View traces in the terminal with colored output.

OptionDescriptionDefault
--mode <mode>View mode: call, entity, waterfall, bothboth
--date <date>Date to view (YYYY-MM-DD)today
--listList available trace dates-

openclaw traces:summary

Compact plain-text summary. Designed for LLM consumption.

OptionDescriptionDefault
--date <date>Date (YYYY-MM-DD)today

openclaw traces:recent

Recent steps as a compact timeline.

OptionDescriptionDefault
--date <date>Date (YYYY-MM-DD)today
--steps <n>Number of recent steps20

openclaw traces:workindex

Work Index per time window.

OptionDescriptionDefault
--date <date>Date (YYYY-MM-DD)today

openclaw traces:query

Run SQL query against trace data using DuckDB.

OptionDescriptionDefault
<sql>SQL query (required argument)-
--format <fmt>Output format: table, csv, jsontable

Requires @duckdb/node-api to be installed.

openclaw traces:export

Export traces to Parquet format.

OptionDescriptionDefault
--date <date>Export specific date onlyall dates
--output <path>Output file path~/.openclaw/traces/traces.parquet

Requires @duckdb/node-api to be installed.

Released under the MIT License.