Overview
TheListWorkspacesOptions struct provides filtering and pagination options when fetching workspaces.
Definition
Fields
The page number to retrieve (1-indexed). Defaults to 1 if not specified.
Number of workspaces to return per page. Defaults to 20 if not specified.
Search query to filter workspaces by name or other attributes.
Filter workspaces by organization ID. Only returns workspaces belonging to the specified organization.
Usage Example
Related Types
- WorkspaceListResponse - The response type returned when listing workspaces
- Workspace - The workspace model
See Also
- fetch_workspaces - API method that uses this type
