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

# Ws URL • AI Agent SDK

> ws_url: WebSocket URL for this gateway.

# ws\_url

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

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

WebSocket URL for this gateway.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def ws_url() -> str
```

### Returns

<ResponseField name="Returns" type="str">
  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/config.py#L91">
  `praisonaiagents/gateway/config.py` at line 91
</Card>
