> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cubestack.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Workspaces

> API endpoints for managing workspaces.

# Workspaces Endpoints

Endpoints for listing and managing workspaces.

## List Workspaces

Retrieve all workspaces you have access to.

```bash theme={null}
GET /api/v1/workspaces
```

### Response

```json theme={null}
{
  "data": [
    {
      "id": "ws_123",
      "name": "My Workspace",
      "created_at": "2025-01-01T00:00:00Z"
    }
  ]
}
```

## Get Workspace

Retrieve a single workspace by ID.

```bash theme={null}
GET /api/v1/workspaces/{workspace_id}
```

### Response

```json theme={null}
{
  "id": "ws_123",
  "name": "My Workspace",
  "projects": [],
  "created_at": "2025-01-01T00:00:00Z"
}
```
