Overview
Thefetch_workspaces function retrieves a list of workspaces with optional filtering and pagination support, including the ability to filter by organization.
Function Signature
Parameters
Optional configuration for filtering and pagination:
page: Page number for pagination (optional)per_page: Number of results per page (optional)search: Search query to filter workspaces (optional)organization_id: Filter workspaces by organization ID (optional)
Return Value
ReturnsResult<WorkspaceListResponse> containing:
data: Vector ofWorkspaceobjectshas_more: Boolean indicating if more results are available
Basic Usage
Advanced Usage
Error Handling
Rate Limits
- List operations: 100 requests per minute
- Burst limit: 10 requests per second
Related Functions
- create_workspace_in_organization - Create workspace in organization
- fetch_workspace - Get workspace by ID
- update_workspace - Update workspace details
- delete_workspace - Delete workspace
