Skip to content

Commit 2c3b030

Browse files
committed
Add filter for workspace
1 parent 15ddf2a commit 2c3b030

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/workspaces.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,19 @@ Coder stores macOS and Linux logs at the following locations:
9090

9191
> Note: Logs are truncated once they reach 5MB in size.
9292
93+
## Filtering workspaces
94+
95+
In the Coder UI you can filter your workspaces using the pre-defined filter or by using the Coder's filter query like the examples below:
96+
97+
- `owner:me` to find the workspaces that you own
98+
- `status:running` to find `running` workspaces
99+
100+
The supported filters are:
101+
102+
- `owner` - The `username` of the owner. You can also use `me` as an alias for the logged in user.
103+
- `template` - The name of the template.
104+
- `status` - The status of the workspace. You can [find here](https://pkg.go.dev/github.com/coder/coder/codersdk#WorkspaceStatus) all the statuses that are supported.
105+
93106
---
94107

95108
## Up next

0 commit comments

Comments
 (0)