> ## 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.

# finishedOutcome

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

How a finished session ended (cloud). Read from the update's own `_meta`
(status updates) or its `cognition.ai/session` snapshot.

## Parameters

**payload** `unknown` *required*

## Returns

`undefined | string`


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