{
"isSuccess": true,
"data": {
"projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
"analysisRunId": "57b5891c-8a51-439d-94b3-fc6f162bf6c5",
"analysisRunStatus": "QUEUED",
"generatedAt": "2019-08-24T14:15:22.123Z",
"contractVersion": "1.0",
"isUseful": true,
"relevanceScore": 0.95,
"hitlQualityThreshold": 0.85,
"sourceDocuments": [
{
"id": "SRC-001",
"backendDocumentId": "3af61f74-ad20-409f-8b2b-548f4d835f23",
"title": "Requirements Document",
"type": 0,
"language": 0,
"mimeType": "application/pdf"
}
],
"summary": {
"executiveSummary": "Short project summary.",
"keyDecisions": [
"Use email OTP for account confirmation."
],
"openQuestions": [
{
"id": "Q-001",
"question": "Which payment provider should be used?",
"sourceDocumentIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"sourceRefs": [
{
"sourceDocumentId": "SRC-001",
"backendDocumentId": "3af61f74-ad20-409f-8b2b-548f4d835f23",
"page": 3,
"chunkId": "chunk-001",
"quote": "The system should allow users to create and track orders."
}
]
}
],
"risks": [
{
"id": "RISK-001",
"title": "Missing payment provider details",
"severity": "Low",
"description": "Payment integration details were not specified.",
"sourceRefs": [
{
"sourceDocumentId": "SRC-001",
"backendDocumentId": "3af61f74-ad20-409f-8b2b-548f4d835f23",
"page": 3,
"chunkId": "chunk-001",
"quote": "The system should allow users to create and track orders."
}
]
}
],
"assumptions": [
"string"
],
"actionItems": [
{
"id": "ACT-001",
"title": "Confirm payment provider",
"owner": null,
"priority": "Low",
"sourceRefs": [
{
"sourceDocumentId": "SRC-001",
"backendDocumentId": "3af61f74-ad20-409f-8b2b-548f4d835f23",
"page": 3,
"chunkId": "chunk-001",
"quote": "The system should allow users to create and track orders."
}
]
}
],
"stakeholders": [
"Customer",
"Admin"
],
"scope": [
"Order management"
],
"outOfScope": [
"string"
]
},
"metrics": {
"totalRequirements": 12,
"functionalRequirements": 9,
"nonFunctionalRequirements": 2,
"businessRequirements": 1,
"userStories": 12,
"highPriorityItems": 4,
"risksCount": 2,
"openQuestionsCount": 3,
"warningsCount": 1,
"qualityIssuesCount": 0
},
"requirements": [
{
"id": "REQ-001",
"title": "Manage orders",
"description": "The system should allow users to create and track orders.",
"type": "Functional",
"priority": "Low",
"confidenceScore": 0.91,
"sourceDocumentIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"sourceRefs": [
{
"sourceDocumentId": "SRC-001",
"backendDocumentId": "3af61f74-ad20-409f-8b2b-548f4d835f23",
"page": 3,
"chunkId": "chunk-001",
"quote": "The system should allow users to create and track orders."
}
],
"quality": {
"score": 0.85,
"issues": [
"Order confirmation flows are ambiguous."
],
"warnings": [
"string"
]
},
"qualityStatus": "FRESH",
"workflowStatus": "GENERATED",
"reviewFeedback": null,
"reviewedBy": null,
"reviewedAt": null,
"createdAt": "2026-06-22T00:05:00Z",
"updatedAt": "2026-06-22T00:05:00Z",
"lastModifiedBy": "string",
"version": 1
}
],
"userStories": [
{
"id": "US-001",
"title": "Create order",
"description": "As a customer, I want to create an order so that I can buy products.",
"userStory": "As a customer, I want to create an order so that I can buy products.",
"acceptanceCriteria": [
{
"id": "AC-001",
"text": "Given valid order data, when I submit the order, then the order is created.",
"format": "given_when_then"
}
],
"priority": "Low",
"requirementId": "REQ-001",
"sourceRefs": [
{
"sourceDocumentId": "SRC-001",
"backendDocumentId": "3af61f74-ad20-409f-8b2b-548f4d835f23",
"page": 3,
"chunkId": "chunk-001",
"quote": "The system should allow users to create and track orders."
}
],
"quality": {
"score": 0.85,
"issues": [
"Order confirmation flows are ambiguous."
],
"warnings": [
"string"
]
},
"qualityStatus": "FRESH",
"workflowStatus": "GENERATED",
"reviewFeedback": null,
"reviewedBy": null,
"reviewedAt": null,
"createdAt": "2026-06-22T00:05:00Z",
"updatedAt": "2026-06-22T00:05:00Z",
"lastModifiedBy": "string",
"version": 3,
"revisionNumber": 2,
"revisionSource": "AI_GENERATED"
}
],
"requirementCoverages": [
{
"requirementId": "REQ-001",
"userStoryIds": [
"US-001"
],
"coverageStatus": "covered"
}
],
"exports": {
"excel": {
"available": true,
"columns": [
"id",
"title",
"description",
"priority"
],
"rows": [
{
"id": "US-001",
"title": "Create order"
}
]
}
},
"artifacts": {
"excelFile": {
"available": false,
"fileUrl": "",
"fileName": "",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
}
},
"qualityIssues": [
{
"id": "QI-001",
"severity": "Low",
"message": "Some requirements have low confidence.",
"targetId": "REQ-003"
}
],
"warnings": [
{
"code": "LOW_CONFIDENCE",
"message": "Some extracted items may require manual review."
}
],
"error": {},
"processingTimeMs": 125
},
"message": "AI results dashboard retrieved successfully",
"statusCode": 200,
"errors": []
}