Search for workspaces with filtering and pagination. Supports filters for name (search), slug (exact match), and status.
| Parameter |
Type |
Required |
Description |
first |
number |
No |
Number of results to return (forward pagination). Maximum 25. Use with “after” for paging. |
after |
string |
No |
Cursor for forward pagination. Pass the “endCursor” from previous page’s pageInfo. |
last |
number |
No |
Number of results to return (backward pagination). Maximum 25. Use with “before” for reverse paging. |
before |
string |
No |
Cursor for backward pagination. Pass the “startCursor” from previous page’s pageInfo. |
filters |
WorkspacesFiltersInput |
No |
Filter criteria for the workspace search. - WorkspacesFiltersInput |
| Field |
Type |
Required |
Description |
name |
WorkspacesNameInput |
No |
Filter by workspace name (supports search) - WorkspacesNameInput |
slug |
WorkspacesSlugInput |
No |
Filter by workspace slug (exact match) - WorkspacesSlugInput |
status |
WorkspacesStatusInput |
No |
Filter by workspace status - WorkspacesStatusInput |
| Field |
Type |
Required |
Description |
search |
string |
No |
Search term for workspace name (partial match) |
| Field |
Type |
Required |
Description |
eq |
string |
No |
Exact match for workspace slug |
| Field |
Type |
Required |
Description |
eq |
Status |
No |
Filter by exact workspace status - Status |
| Value |
Description |
ACTIVE |
Workspace is currently active |
CHURNED |
Workspace has churned |
| Field |
Type |
Description |
content |
ContentItem[] |
Array of content items returned by the tool - ContentItem |
isError |
boolean |
Whether the tool execution resulted in an error |
| Field |
Type |
Description |
type |
'text' |
Content type (currently only ‘text’ is supported) |
text |
string |
The text content to display |