/workspace and require an authenticated session (authMiddleware).
Settings are compartmentalized by tab. The active tab mapping is aiSettings.
Endpoints
1. Get Workspace Tab Settings
GET /workspace/:tab
Retrieves the user’s saved configuration for the specified tab.
Path Parameters
Response (200 OK)
2. Create Workspace Settings
POST /workspace/:tab
Creates the initial configuration record for a user under the specified tab.
Request Body
Request Body
Response (201 Created)
3. Update Workspace Settings
PATCH /workspace/:tab
Partially updates existing workspace preferences for the authenticated user. Only fields passed in the request body are modified.
Whitelisted Fields (aiSettings)
quickModeModel: Model slug for Quick reviews (low latency, high confidence).focusedModeModel: Model slug for Focused reviews (balanced).deepModeModel: Model slug for Deep Dive reviews (comprehensive audit).systemPrompt: Global custom instructions prepended to review prompts.quickModePrompt: Mode-specific prompt override for Quick mode.foucsedModePrompt: Mode-specific prompt override for Focused mode.deepModePrompt: Mode-specific prompt override for Deep mode.
Request Body
204 No Content