> 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-single-document.md).

# Query Single Document

```php
<?php
$document = $api->getDocument('981075884394024960')->execute();
```
