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

# chain

```typescript
chain(payload: unknown): undefined | Chain
```

Which conversation chain an update belongs to, when the agent runs sidechains.

## Parameters

**payload** `unknown` *required*

## Returns

`undefined | Chain`


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