Get Organism (v1)
Method & Path
GET /api/v1/workspace/:workspaceId/labs/organisms/:organismId
Actual backend path: /v1/workspace/:workspaceId/labs/organisms/:organismId
Description
Get a single organism by ID.
Authentication
Required: JWT token in Authorization header
Required Permissions:
labs.view
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token: Bearer <token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | Workspace identifier (MongoDB ObjectId) |
organismId | string | Yes | Organism identifier (MongoDB ObjectId) |
Response 200 OK
{
"organism": {
"id": "507f1f77bcf86cd799439011",
"workspaceId": "507f1f77bcf86cd799439012",
"organismTitle": "Escherichia coli",
"organismAbbr": "E. coli",
"createdAt": "2025-01-15T10:00:00.000Z",
"updatedAt": "2025-01-15T10:00:00.000Z",
"deletedAt": null
}
}
Common Errors
401 Unauthorized: Missing or invalid authentication token
403 Forbidden: Insufficient permissions (labs.view required)
404 Not Found: Organism or workspace not found
422 Validation Error: Invalid workspace ID or organism ID format