Skip to documentation
Docs navigation
Docs/getActiveNodes()
Fleet Memory

getActiveNodes()

Read worker topics.

What it does

Read worker topics.

The operation follows the fleet’s memory mode and agent identity rules when selecting, storing, or transferring memory.

Signature

TypeScript
getActiveNodes(): Promise<TopicNode[]>

Result

The topic nodes created, selected, or copied by the operation.

Example

example.ts
const nodes = await worker.getActiveNodes();