---
title: "Log Qcm Answer"
method: POST
path: "/student/progress/log-qcm-answer"
tags: ["Student Progress"]
---

# Log Qcm Answer

`POST /student/progress/log-qcm-answer`

Log QCM answer attempts.
Updates unit progress with attempt details.

## Request body

- LogQCMAnswerPayload — Payload for logging QCM answer attempts.
  - `course_id` string, required
  - `teacher_course_assignment_id` string, required
  - `qcm_id` string, required
  - `unit_id` string, nullable
  - `selected_option_index` integer, required
  - `is_correct` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
