Inspect session metadata
Inspect a specific session:entire session info shows the agent, model, status, worktree, timing, token usage, checkpoint links, and files touched.
For structured output:
Inspect the current session
If you do not know the session ID yet, start with the current worktree:Export transcript data
Use--transcript when you need the raw agent transcript:
Review token usage
Useentire session tokens to inspect token usage and optimization recommendations:
Continue with
List Sessions
Find the current session or copy a session ID.
sessions Command Reference
See session subcommands and flags.