> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# attachments

> **get** `protected` **attachments**(): [`AgentAttachments`](/docs/agent-sdk/interface/attachments#agentattachments)

The agent's currently connected clients (the attachments admitted by the
default [`webSocket`](/docs/agent-sdk/interface/webSocket)). Sockets a
`webSocket` override handles itself are not included.

**Returns**

[`AgentAttachments`](/docs/agent-sdk/interface/attachments#agentattachments)

## AgentAttachments

The agent's view of its currently connected clients — the
`this.attachments` facade on an `Agent`.

**Properties**

**count**

> `readonly` **count**: `number`

The number of currently admitted connections.
