crewship inspect
Print the journal entries for a run as a one-line-per-event timeline. Each line shows timestamp, severity chip, entry type, and summary. Costs and tool calls are pulled out into a footer block when present. Sibling design withcrewship explain:
crewship inspect <run-id>— structured timeline (this command, fast, no LLM)crewship explain <run-id>— LLM-summarised narrative (slower, costs tokens)
fetchRun plus the journal endpoint; explain feeds the entries to an agent, inspect formats them directly.
requireAuthAndWorkspace).
Flags
| Flag | Default | Purpose |
|---|---|---|
--types <list> | "" (all) | Comma-separated journal entry types to include — e.g. error,exec.error,keeper.decision. |
--filter <jq-expr> | "" | Pipe JSON output through jq <expr> (requires jq in $PATH). |
--watch <duration> | "" | Auto-refresh every duration (e.g. 5s, 1m). Minimum 1s. |
--format flag (table / json / yaml / ndjson / quiet) is honoured. JSON / YAML / --filter paths bypass the table formatter and emit the raw entry list with run_id, agent_id, and entries.
Examples
Default (table view)
Narrow to errors and keeper decisions
--types is forwarded to the server as the entry_type query param on /api/v1/journal, so filtering is applied DB-side before the entries are reversed for chronological display.
Pull a single field via jq
--filter short-circuits to JSON output; the expression is piped through jq.
Raw JSON for piping
Live tail
How the run is scoped
The CLI fetches journal entries scoped to the run’s agent and the run’s time window, then filters down to entries whosetrace_id matches the run ID. By convention trace_id == run_id for journal entries (see internal/journal/types.go). Older entries that pre-date the trace rollout, or non-run-scoped events that the user explicitly --types-included, have no trace_id and are kept on the assumption the user wants to see them.
Common errors
run <id> has no agent_id— the run record is malformed (or you passed something that isn’t a run ID). Run IDs start withr_.no entries in journal window — run may be older than recall horizon— the run is older than the journal retention window (typically 7d). Printed dimmed under the header instead of a hard error.
See also
crewship journal— agent-scoped journal browser;inspectis the run-scoped distillation.crewship explain— LLM-summarised narrative of the same data.crewship history— list recent runs to find a run ID.crewship telemetry— wider-view tracing across the workspace.