# Computes feedback for an existing task. Endpoint: POST /tasks/{taskId}/feedback/compute Version: 0.9.0 Security: bearerAuth ## Path parameters: - `taskId` (string, required) The ID of the task. ## Request fields (application/json): - `metaData` (object) The object containing metadata related to the learner interaction. - `metaData.timeOnTask` (integer) - `metaData.tryCount` (integer) - `metaData.sessionId` (string) - `taskType` (string, required) Defines the type of the task. Can be used by deserialization tools to instantiate the correct sub-type. Enum: "FREEFORM_TEXT", "IN_TEXT_FILL_IN_BLANKS", "IN_TEXT_CHOICES", "MULTIPLE_CHOICE", "MULTIPLE_RESPONSES", "SIMULATION" - `tenantId` (string) Tenant identifier. - `answer` (object, required) Base class for task answers. The concrete type depends on the task type. - `userId` (string, required) User identifier. ## Response 200 fields (application/json): - `result` (object) - `result.allAspects` (array) - `result.allAspects.aspect` (object) Aspect information. - `result.allAspects.aspect.name` (string) - `result.allAspects.aspect.description` (string) - `result.allAspects.aspect.type` (string) Indicates whether an Aspect represents a misconception (wrong aspect) or a concept (correct aspect). Enum: "CONCEPT", "MISCONCEPTION" - `result.allAspects.aspect.aspectGroup` (object) The group to which the Aspect belongs. - `result.feedback` (array) - `result.feedback.message` (string) - `result.feedback.correctness` (string) The correctness of the learner's answer. Enum: "CORRECT", "PARTIAL", "WRONG", "UNKNOWN" - `result.feedback.topic` (object) Topic information. - `result.feedback.aspects` (array) - `result.points` (object) The object containing information on how many points the student achieved. - `result.points.achievedPoints` (number) - `result.points.achievablePoints` (number) - `result.answer` (object) Base class for task answers. The concrete type depends on the task type. - `metaData` (object) The object containing metadata about the performed operation, along with helpful debugging information. Designed to simplify the integration process and does not include any production-related details that should be visible to the end user. - `metaData.taskAction` (string) The action that was performed on the task. Enum: "CREATED", "UPDATED", "UNCHANGED" - `metaData.tenantId` (string) - `metaData.taskLink` (string) - `taskType` (string) Defines the type of the task. Can be used by deserialization tools to instantiate the correct sub-type. Enum: "FREEFORM_TEXT", "IN_TEXT_FILL_IN_BLANKS", "IN_TEXT_CHOICES", "MULTIPLE_CHOICE", "MULTIPLE_RESPONSES", "SIMULATION" - `taskId` (string) - `userId` (string) ## Response 400 fields ## Response 403 fields ## Response 404 fields