> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# SessionEndReason

> Represents the reason why a session ended.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks

**Inheritance:** System.Enum

## Syntax

```csharp theme={"dark"}
CloudNimble.ClaudeEssentials.Hooks.SessionEndReason
```

## Summary

Represents the reason why a session ended.

## Values

| Name              | Value | Description                                          |
| ----------------- | ----- | ---------------------------------------------------- |
| `Clear`           | 0     | Session ended due to a clear command.                |
| `Logout`          | 1     | Session ended due to user logout.                    |
| `PromptInputExit` | 2     | Session ended due to user exiting from prompt input. |
| `Other`           | 3     | Session ended for another unspecified reason.        |
