# Get the breadcrumb path of a document (unreadable ancestors masked).

`GET /api/plugins/docs/documents/{id}/path`

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, required)
  Type: string

Responses:

- 200: Breadcrumb segments, root first.

- 404: Document not found.

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/plugins/docs/documents/string/path'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugins/docs/documents/string/path', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/plugins/docs/documents/string/path')
print(response.text)
```
