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

# subagentContext

```typescript
subagentContext(payload: unknown): undefined | SubagentContext
```

The subagent context of an update, when it belongs to a subagent.

## Parameters

**payload** `unknown` *required*

## Returns

`undefined | SubagentContext`


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