Returns full details of a specific defect.
If the defect does not exist or is not accessible to the authenticated actor, a 404 Not Found response is returned.
This endpoint does not modify any data.
Use this endpoint when you need to:
curl -X GET https://api.hawzu.com/api/v1/workspace/{workspaceId}/project/{projectId}/defect/{defectId} \
-H "Authorization: Bearer YOUR_API_TOKEN"| Parameter | Required | Description |
|---|---|---|
workspaceId | ✅ Yes | The ID of the workspace to get the defect for |
projectId | ✅ Yes | The ID of the project to get the defect for |
defectId | ✅ Yes | The ID of the defect to get |
| Header | Required | Description |
|---|---|---|
Authorization | ✅ Yes | Bearer token in the format Bearer <API_TOKEN> |
{
"data": {
"id": "def_3001",
"project_id": "proj_101",
"title": "Login fails with valid credentials",
"description": "Users receive 500 error when submitting valid credentials.",
"status": "NEW",
"severity": "CRITICAL",
"priority": "HIGH",
"reported_by": "user_123",
"created_at": "2026-02-11T18:00:00Z",
"updated_at": "2026-02-11T18:10:00Z",
"linked_executions": [
{
"execution_id": "exec_5001",
"testcase_code": "TC_LOGIN_001",
"status_at_detection": "FAILED"
}
]
}