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

# SessionEndReason

> Represents 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 why a session ended.

## Values

| Name | Value | Description |
| - | - | - |
| `Clear` | 0 | The session was cleared. |
| `Resume` | 1 | Another session was resumed. |
| `Logout` | 2 | The user logged out. |
| `PromptInputExit` | 3 | The user exited at the prompt input. |
| `Other` | 4 | Any other reason. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.