Read one session in detail
session_statsRetrieve full stats for a single Claude Code session: duration, turns, prompts, subagent turns, damaged lines, and model token usage. Returns aggregated counts only, never message content.
Instructions
Full counts for a single session id: duration in seconds, turns, prompts, subagent turns, damaged lines, per-model token usage and the combined totals. Take the id from list_sessions. Returns counts only, never the text of any message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session id, which is the transcript filename without the .jsonl suffix. |