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

# Get All Presence • AI Agent SDK

> get_all_presence: Get presence info, optionally filtered by channel.

# get\_all\_presence

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**PresenceProtocol**](../classes/PresenceProtocol) class in the [**protocols**](../modules/protocols) module.

Get presence info, optionally filtered by channel.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_all_presence(channel_name: Optional[str]) -> List[PresenceInfo]
```

## Parameters

<ParamField query="channel_name" type="Optional[str]" required={false}>
  If provided, only return presence for channel members
</ParamField>

### Returns

<ResponseField name="Returns" type="List[PresenceInfo]">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L1383">
  `praisonaiagents/gateway/protocols.py` at line 1383
</Card>
