Skip to main content

List Workspaces

List accessible workspaces for the current user.

Quick Navigation

Endpoint

GET /api/v1/workspaces?skip=0&limit=100

Headers

HeaderRequiredDescription
AuthorizationYesBearer <access_token>

Query Parameters

ParameterTypeRequiredDescription
skipintegerNoNumber of records to skip (default: 0)
limitintegerNoMaximum records to return (default: 100)

Response

Success (200)

{
"success": true,
"data": {
"workspaces": [
{
"id": 1,
"name": "Main Workspace",
"slug": "main-workspace",
"organization_id": 1
}
],
"total_count": 5,
"message": "Workspaces listed successfully"
},
"message": "Workspaces listed successfully"
}

Features

  • User-specific workspace listing
  • Permission filtering
  • Pagination support

Status

[WARNING] TODO: Not Implemented

This endpoint is defined in the router but the implementation logic is not yet complete.