# Parameter :: 14. `session_id::`
Direct session identifier for single-session operations.
**Type:** [`SessionId`](../type/09_session_id.md)
**Fundamental Type:** String (filename stem)
**Constraints:**
- Non-empty string
- Error if session not found: `"session not found: {value}"`
**Default:** none (optional in `.show`, required in `.export`)
**Commands:** `.show`, `.export`
**Purpose:** Identifies a specific session by its filename stem (JSONL filename without `.jsonl`). Required for `.export`; optional for `.show` (omitting it shows the project instead).
**Examples:**
```bash
# Named sessions
session_id::-default_topic
session_id::-commit
# UUID sessions
session_id::8d795a1c-c81d-4010-8d29-b4e678272419
```
**Group:** [Session Identification](../param_group/03_session_identification.md)
### Referenced Type
| [`SessionId`](../type/09_session_id.md) | String (filename stem) | String | Non-empty; session must exist |
### Referenced Parameter Groups
| 3 | [Session Identification](../param_group/03_session_identification.md) | Full | *(sole member)* |
### Referenced Commands
| 3 | [`.show`](../command/03_show.md) | unset — optional | Optional; triggers session search when provided |
| 6 | [`.export`](../command/06_export.md) | none — required | Identifies the session to export |
### Referenced User Stories
| 3 | [Export Session for Review](../user_story/003_export_session_for_review.md) | developer |
| 5 | [Resume Claude Session](../user_story/005_resume_claude_session.md) | developer |