# SubagentDiscoverySnapshot

> **Interface** in `@langchain/react`

📖 [View in docs](https://reference.langchain.com/javascript/langchain-react/SubagentDiscoverySnapshot)

Lightweight discovery record for a subagent running inside the thread.

Populated eagerly from the root subscription (`tools` + `lifecycle`
channels). Content projections (`messages`, `toolCalls`, custom
extensions) are opened lazily via selector hooks, keyed on
namespace.

## Signature

```javascript
interface SubagentDiscoverySnapshot
```

## Properties

- `completedAt`
- `depth`
- `error`
- `id`
- `name`
- `namespace`
- `output`
- `parentId`
- `startedAt`
- `status`
- `taskInput`

---

[View source on GitHub](https://github.com/langchain-ai/langgraphjs/blob/9ae75600dd84d6b2bc736e33baaf66a556d61c49/libs/sdk/src/stream/types.ts#L408)