# tmuxp.cli.search.WorkspaceSearchResult

- **Module:** tmuxp.cli.search
- **Package:** tmuxp
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/cli/search.py#L496
- **Page:** https://libtmux.org/en/py/latest/workspace/reference/tmuxp-cli-search-workspacesearchresult/

Search result for a workspace that matched.

## Example

```python
>>> result: WorkspaceSearchResult = {
...     "filepath": "/home/user/.tmuxp/dev.yaml",
...     "source": "global",
...     "fields": {
...         "name": "dev",
...         "path": "~/.tmuxp/dev.yaml",
...         "session_name": "development",
...         "windows": ["editor"],
...         "panes": [],
...     },
...     "matches": {"name": ["dev"]},
... }
>>> result["source"]
'global'
```

## Members

- `filepath` (attribute)
- `source` (attribute)
- `fields` (attribute)
- `matches` (attribute)
