Inspect Sessions in CLI - Entire
Inspect Session Metadata
Inspect a specific session:
entire session info SESSION_ID
entire session info shows the agent, model, status, worktree, timing, token usage, checkpoint links, and files touched. For structured output:
entire session info SESSION_ID --json
Inspect the Current Session
If you do not know the session ID yet, start with the current worktree:
entire session current
entire session current --json
Export Transcript Data
Use --transcript when you need the raw agent transcript:
entire session current --transcript > session.jsonl
entire session info SESSION_ID --transcript > session.jsonl
Transcript format depends on the agent.
Review Token Usage
Use entire session tokens to inspect token usage and optimization recommendations:
entire session tokens
entire session tokens SESSION_ID
For compact guidance that an agent can act on:
entire session tokens --agent-brief
Continue With
List Sessions - Find the current session or copy a session ID.
Sessions Command Reference - See session subcommands and flags.