Skip to main content

List Test Design Results (v1)

Method & Path

GET /api/v1/workspace/:workspaceId/labs/tests/design-results/list

Actual backend path: /v1/workspace/:workspaceId/labs/tests/design-results/list

Description

List all stored test design results for the workspace.

Authentication

Required: JWT token in Authorization header

Persona Access:

  • Workspace Owner: Allowed
  • Staff: Allowed (role-based)

Required Permissions:

  • labs.manage

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier (MongoDB ObjectId)

Response 200 OK

{
"designResults": [
{
"id": "507f1f77bcf86cd799439050",
"workspaceId": "507f1f77bcf86cd799439012",
"testId": 101,
"sections": [],
"commentRules": [],
"calculationsRules": [],
"deletedAt": null,
"createdAt": "2026-01-10T12:00:00.000Z",
"updatedAt": "2026-01-10T12:00:00.000Z"
}
]
}

Common Errors

401 Unauthorized: Missing or invalid authentication token

403 Forbidden: Insufficient permissions (labs.manage required)

404 Not Found: Workspace not found

422 Validation Error: Invalid workspace ID format