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

# sessionLifecycle

```typescript
sessionLifecycle(payload: unknown): undefined | string
```

Runtime lifecycle state of a `devin_suspended` / `devin_exited` / `stop` event (cloud).

## Parameters

**payload** `unknown` *required*

## Returns

`undefined | string`


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