List Workspaces
List accessible workspaces for the current user.
Quick Navigation
Endpoint
GET /api/v1/workspaces?skip=0&limit=100
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
skip | integer | No | Number of records to skip (default: 0) |
limit | integer | No | Maximum 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.