> For the complete documentation index, see [llms.txt](https://docs.comfortable.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.comfortable.io/sdk/php/query-an-alias.md).

# Query an Alias

```php
<?php
$document = $api->getAlias('legalNotice')->execute();
```
